#krusty-paymentsheet

1 messages · Page 1 of 1 (latest)

visual wharf
#

Hi there! PaymentSheet requires a client secret which comes from a PaymentIntent/SetupIntent created on your backend.

#

So no, this isn't really possible.

lapis crypt
#

IS THERE A STRIPE COMPONENT FOR MANAGING PAYMENT METHODS THAT I COULD USE?

#

oups....soprry about the caps!!

visual wharf
#

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

lapis crypt
#

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

visual wharf
#

PaymentSheet does allow for viewing saved PaymentMethods.

#

If you initialize PaymentSheet with a Customer and Ephemeral Key then saved PaymentMethods will be shown.

lapis crypt
#

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

visual wharf
#

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.

lapis crypt
#

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

visual wharf
#

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?

lapis crypt
#

ok perfect

#

i am