#blueish
1 messages · Page 1 of 1 (latest)
👋 happy to help
yes sure
you can use the payment_intent.client_secret of the invoice
how can I get that using the api?
when you retrieve the invoice you can expand on payment_intent
and then you would have access to the client_secret
ok thanks.
Another question , can I just use payment element just to save the payment method of a customer?
yes but instead of using a PaymentIntent you would use a SetupIntent
and instead of using confirmPayment you would use confirmSetup
that's great thanks a log