#ajmal

1 messages · Page 1 of 1 (latest)

smoky nimbusBOT
red rampart
#

Which checkout page are you using?

earnest imp
#

I'm using stripe's checkout session

#

stripe.checkout.sessions.create

red rampart
#

Um that won't automatically displayed the saved payment method

#

sorry

#

You can build an UI by yourself and display the saved payment method. If the customer choose, you can just process of creating a PaymentIntent, instead of creating Checkout Session. Checkout Session is to accepting new payment method

earnest imp
#

is there any way we can get the saved payment details (via stripe elements) in checkout sessions?

red rampart
#

No, but you can get it before creating the Checkout Session on server-side

earnest imp
#

so can i bind this to checkout so the card details pre-populated

red rampart
#

No you can't. I meant if you have the card detail, you can go ahead creating a PaymentIntent instead of a Checkout Session