#krusty-paymentsheet
1 messages · Page 1 of 1 (latest)
Hi there! PaymentSheet requires a client secret which comes from a PaymentIntent/SetupIntent created on your backend.
So no, this isn't really possible.
IS THERE A STRIPE COMPONENT FOR MANAGING PAYMENT METHODS THAT I COULD USE?
oups....soprry about the caps!!
lol
PaymentMethods are managed via your Dashboard and your backend
Depending on whether you set payment_method_types explicitly or use automatic_payment_methods on your PI/SI
we are looking to allow user to manage their saved payment methods from the settings menu
add / delete things that might be used later, just like you would do in the dashboard but within the app
seems like we would need to create our own UI for that then
PaymentSheet does allow for viewing saved PaymentMethods.
If you initialize PaymentSheet with a Customer and Ephemeral Key then saved PaymentMethods will be shown.
but just like you said, in order to present payment sheet, i need a PaymentIntent or SetupIntent
so basically start up a transaction, my option would be to DO so but then not follow through with charging them
mmmm i see
Ah yeah you wouldn't present PaymentSheet without the intention of collecting a new PaymentMethod or making a Payment
So yes, you would want your own UI just to show the PaymentMethods without the Customer taking action of some sort.
i was testing with PaymentIntent and SetupIntent
and i noticed that if i use setup intent i don't see the "Save payment method for later" option, and when i pay with this method it is not stored to my Customer
is there a way to save a paymentMethod when doing setupIntent?
anything specific i need to do, when working with paymentSheet and FlowController
SetupIntent should always save to Customer
There is no option since that is specifically what it is designed for.
Are you passing a Customer ID when you create your SetupIntent?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.