discourse-subscriptions/assets/javascripts/discourse/helpers/stripe-payment-link.js.es6

8 lines
202 B
JavaScript

import Helper from "@ember/component/helper";
export default Helper.helper(function (params) {
const payment = params[0];
return `<a href=\"${payment.url}\">${payment.payment_intent_id}</a>`;
});