#masum - one-time price

1 messages · Page 1 of 1 (latest)

long nexus
#

Hi there! Are you using Stripe Checkout? Or your own custom payment form?

north oyster
#

custom payment form

long nexus
#

So if you're creating a Payment Intent, you won't be able to specify a Price.

north oyster
#

so what's the solution for "one time" price?

long nexus
#

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

north oyster
#

but invoice takes 1 hour by default to make payment

long nexus
#

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

north oyster
#

okay, I will try this. Thank you for your time 🙂