question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

None of the requested payment methods ([sepa_debit]) match the supported payment types ([card, bancontact, sofort, ideal, sepa_debit, eps, giropay, p24, klarna, paypal, afterpay_clearpay])

See original GitHub issue

I have setup a connect test account and activated all payments in Test-Mode. Payment Intente created by backend has sepa_debit as the only PaymentMethodType. Response from initPaymentSheet is: { "paymentOption": undefined,}

and response in presentPaymentSheet: { "error": Object { "code": "Failed", "declineCode": null, "localizedMessage": "None of the requested payment methods ([sepa_debit]) match the supported payment types ([card, bancontact, sofort, ideal, sepa_debit, eps, giropay, p24, klarna, paypal, afterpay_clearpay])", "message": "None of the requested payment methods ([sepa_debit]) match the supported payment types ([card, bancontact, sofort, ideal, sepa_debit, eps, giropay, p24, klarna, paypal, afterpay_clearpay])", "stripeErrorCode": null, "type": null, }, }

Is there a way to use payementSheet with sepa_debit in test-mode? Having giropay or card in PaymentMethodType is working. Using stripe.confirmPayment instead of initPaymentSheet() and presentPaymentSheet() is working too.

code snippet: stripe.initPaymentSheet({ merchantDisplayName: companyName'', paymentIntentClientSecret: res.data.result.clientSecret, }).then(resp => { console.log('resp', resp); stripe.presentPaymentSheet().then(respo => { console.log('respo', respo); }).catch(err => { console.log('err', err); }) }).catch(e => { console.log('e', e); })

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
charliecruzan-stripecommented, Sep 2, 2022

yeah it should work with a payment intent. but if you’re doing a subscription (which is what gathered from your comment above), then you’re using a setup intent

1reaction
charliecruzan-stripecommented, Sep 2, 2022

@ShwetaChauhan18 SEPA debit isn’t supported on Payment Sheet with setup intents yet: https://github.com/stripe/stripe-android/blob/master/CHANGELOG.md#1810---2021-10-18

Read more comments on GitHub >

github_iconTop Results From Across the Web

A guide to types of payment methods - Stripe
A complete guide that lists the different types of payment methods available to help you understand and select the right payment options for...
Read more >
Local Payment Methods - / - Overview - PayPal Developer
Local Payment Methods allow customers to pay with banks, wallets, or other means that operate only in specific regions of the world.
Read more >
changelog - CocoaPods
The list of supported payment methods depends on your integration. If you're using a PaymentIntent, we support: Card; SEPA Debit, bancontact, iDEAL, sofort....
Read more >
PaymentMethod (stripe-java 22.3.0 API)
PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer ...
Read more >
PaymentMethodParams class - stripe_platform_interface library
Config parameters for bankcontact payment method. const. factory. PaymentMethodParams.card({required PaymentMethodData paymentMethodData}) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found