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); })
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); })