#GrooveTech

1 messages · Page 1 of 1 (latest)

halcyon talonBOT
rancid hemlock
#

Hi there, we can't re-open threads but I would be happy to help if you will summarize your issue.

floral raptor
rancid hemlock
#

Looks like you want to take one-time payments and use Invoices as well, yes?

floral raptor
#

I mean I need the payment intent from a draft invoice to use the Card Element and pay with my customized UI rather than using the Stripe checkout link

rancid hemlock
#

Okay so you don't want to use Stripe Checkout but you do want Invoices

floral raptor
#

It really worked for subscription but currently not for one-time payment

rancid hemlock
#

So it is same idea for one-time payments as what you are doing for Subscriptions. You create the Invoice Item(s) and the Invoice and then finalize it. Then you pass that Invoice's payment_intent.client_secret to your frontend to confirm the PaymentIntent using Card Element and confirmCardPayment

floral raptor
#

what do you mean "finalize" ?

#

I tried on the dashboard but it only return the value of payment intent after I paid it

rancid hemlock
#

The payment will also only be attempted if you have a Customer with a set default payment method

floral raptor
#

Okay I will read and try it. thank you so much

rancid hemlock
#

Sure thing

floral raptor
#

yeah it totally works. You has saved my time, thanks for your support.