#HS
1 messages · Page 1 of 1 (latest)
You can set metadata but there's no way to tie specifically to a price
You can look up the amount of the price and use that, then store the price id on metadata for your later reference
Do you think it is possible to use some alternate endpoint, like Charge or Invoice to achieve this?
Hello 👋
You could create a one-off invoice with the one-time price ID and use the PaymentIntent generated by the invoice to collect payment
With that approach, can I still use Payment Elements and call the confirmPayment method from Stripe JS to complete the payment in the same flow (similar to our Subscriptions setup)? Or the user will have to click the payment link from their email or something like that to complete the payment, thus turning it into a multi-step process?
You can use Elements by using the PaymentIntent that the invoice generates
OK great thanks! I'll try that approach!