#matiullahpro
1 messages · Page 1 of 1 (latest)
Checkout doesn't currently support surfacing multiple saved cards no
kindly tell me alternative.
None of our payment UIs currently surface multiple saved cards, I'm afraid
That's something you'd need to build yourself using this API: https://stripe.com/docs/api/payment_methods/customer_list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so i have to create UI on my own server using this api?
do you have sample. if possible. provide me. it will help me a lot
Well, you'd use that endpoint to retrieve the saved PMs for the cus_xxx. Then using the JSON response you'd build a UI to list them, allowing the customer to select which they want to pay with
Then you can use the pm_xxx when creating/confirming the payments
We do not