#masum - one-time price
1 messages · Page 1 of 1 (latest)
custom payment form
So if you're creating a Payment Intent, you won't be able to specify a Price.
so what's the solution for "one time" price?
The easiest way would be to use Checkout, since it can accept a price to create one-off payments by default. The other solution would be to create an Invoice and add the Price to it as a Line Item: https://stripe.com/docs/api/invoices/line_item
but invoice takes 1 hour by default to make payment
I believe that only applies to Subscriptions. One-off Invoices can be pushed through their lifecycle by your integration at whatever speed/interval you choose. You would just make sure to toggle auto_advance off and then call the endpoint to finalize when you're ready to charge: https://stripe.com/docs/api/invoices/finalize
okay, I will try this. Thank you for your time 🙂