#OneLap

1 messages · Page 1 of 1 (latest)

dreamy jungleBOT
icy frost
#

Not with Stripe.js unfortunately, that is typically done on the server

#

Is this to confirm that the payment was successful before provisioning or something?

balmy patrol
#

It's to pull the setup intent and then get the customer id and payment id.

#

Is there a different way of pulling the setup_intent from the results of a checkout session mode="setup"

icy frost
#

I think that retrieving the session server-side will be the best way to go here. It does add complexity to the page but it would be the most straightforward way to achieve this