Closed mikehaydan closed 1 hour ago
Hi @mikehaydan you can already achieve it with PaymentSheet. Here's how it works
customer
on PaymentSheet.Configuration() The PaymentSheet won't display existing saved payment method because customer
is absent from PaymentSheet.Configuration() , and PaymentSheet doesn't provide options for a customer to remove payment methods.
Hope this is helpful, let me know if you have any other questions.
hi @seanzhang-stripe that works great. thanks
Happy to help. I'm going to close this ticket now. If you have any further questions, don’t hesitate to open a new one.
Is your feature request related to a problem? Please describe.
We have deferred payments and if payment will be removed from CustomerSheet, without our server control, users may lose money. We need to use a CustomerSheet just to add a payment method without displaying saved ones. Or, at least, do not allow to remove a payment method.
Describe the solution you'd like
Possible solutions:
Describe alternatives you've considered
I tried to use a custom adapter, which overrides
fetchPaymentMethods
:But, in this case, after adding a payment method, bottom sheet display an empty list, which might be confusing for the users (See screenshots below):
Additional context