#disha

1 messages · Page 1 of 1 (latest)

vagrant juncoBOT
hallow linden
#

hi! in general I think the answer is no, we don't have any components/hosted surfaces that show saved card details(except the Customer Portal), that's mostly something you need to build into your site as custom components

pale wind
#

so, if the same customer comes again to make payment tomorrow, do we have to call 'Create Custmer API' again?

hallow linden
#

no, you'd authenticate them, find the cus_xxx that you created previously, and can use that for payments

#

for example you'd call https://stripe.com/docs/api/payment_methods/customer_list on your server and render the details in a UI on your web page(the API call returns things like the brand/last4 which you can can use to show some list of saved cards with radio buttons or whatever), and call https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-existing for example when one is picked

really it overall depends what you're aiming for and which integration/APIs you're using