capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor
MIT License
185 stars 74 forks source link

feat(): Add method Sofort(Bank redirects) #88

Open danielalbrecht opened 2 years ago

danielalbrecht commented 2 years ago

Describe the bug We have added multiple payment methods in our stripe dashboard and API PaymentIntent, but they don't show up in our paymentSheet.

To Reproduce Steps to reproduce the behavior: Add payment methods do your account. start checkout session show paymentSheet

Expected behavior I would except the paymentSheet to allow me to choose my payment method, besides card payment.

Screenshots If applicable, add screenshots to help explain your problem. photo_2021-07-29 21 02 53

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

we have talked wit the stripe support and they told us to ask for your help.

rdlabo commented 2 years ago

@danielalbrecht Hi, thanks for try. What did you require payment method?? This plugin support card payment and apple pay, google pay, only. If many others need the payment method you need, will consider implementing it. or please create pull request. Thanks.

PaintedShepherd commented 2 years ago

We need SOFORT and DEBIT payment. They are most common in Europe for B2B payments.

rdlabo commented 2 years ago

@PaintedShepherd

they don't show up in our paymentSheet.

https://stripe.com/docs/payments/sofort/accept-a-payment

This seems to be not paymentSheet function, and not settings by dashboard only. We need to implement new features in this plugin. I won't have time to implement it right away, but welcome to create a pull request.

Visa (debit) and Mastercard (debit): https://stripe.com/docs/testing can be able to use. Please try again.

If you said about https://stripe.com/docs/payments/bank-debits , this is new function too. And these function can't use in Japan...

Thanks.

rdlabo commented 2 years ago

@danielalbrecht @PaintedShepherd Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022. https://github.com/capacitor-community/stripe/issues/145 Thanks.

grzesebe commented 1 year ago

I've created a pull request that covers new payment methods: #201 @rdlabo can you check it out?

phal0r commented 1 year ago

Isn't it necessary to add configuration.allowsDelayedPaymentMethods = true (Swift Notation) aswell to allow these payment methods?

phal0r commented 1 year ago

Just wanted to add: The combination SetupIntent + Sepa/Sofort does not work in PaymentSheet, because it is not yet supported by Stripe.

sir-captainmorgan21 commented 7 months ago

FWIW, Stripe does have support for 'us_bank_account' for in app browser usage. However, its a hidden opt in feature that you have to request. Its their "webview" payment feature. If you ask about it, they should be able to turn it on for you.