#vaibhav-checkout

1 messages · Page 1 of 1 (latest)

rancid pecan
#

👋 Happy to help

#

Currently, Checkout Session doesn't show all the saved cards.

ID of an existing Customer, if one exists. In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page. In subscription mode, the customer’s default payment method will be used if it’s a card, and otherwise the most recent card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details. [0]

[0] https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer

#

Also I want to use hold flow, can I use hold flow using Prebuilt checkout page flow.
Could you explain what hold flow is and its use case?

misty crypt
#

I want to hold some amount and after sometime based on some conditions I can release or capture the payment.

rancid pecan
misty crypt
rancid pecan
#

It doesn't show all saved cards. Displaying all saved cards will be built with your own UI

misty crypt
#

Then how we get the all saved cards for a customer and for deleting also we have to handle it on our own UI?

#

in that case we have to take the card details on our own UI for new card?

rancid pecan
misty crypt
#

if we want to pay using saved cards then it will happen on Payment Element (pre-built UI by Stripe) or we have to handle it at our end and make a call to our backend API which is internally calling Stripe methods at backend?

rancid pecan