admin管理员组

文章数量:1401670

I tried to implement the Stripe IBAN element, descriped right here:

I used the exact same code, change the api key, but I keep getting this error 'The type sepa_debit is not a valid source type.' But in the docs they write you have to use 'sepa_debit' as the type..

The Credit card example is working fine for me..

I tried to implement the Stripe IBAN element, descriped right here: https://stripe./docs/stripe-js/elements/iban

I used the exact same code, change the api key, but I keep getting this error 'The type sepa_debit is not a valid source type.' But in the docs they write you have to use 'sepa_debit' as the type..

The Credit card example is working fine for me..

Share Improve this question edited Feb 2, 2019 at 3:13 shakaran 11.1k3 gold badges32 silver badges47 bronze badges asked Aug 31, 2018 at 11:35 Henrik ThienHenrik Thien 711 silver badge2 bronze badges 3
  • 2 Have you turned sepa on in your account settings? - dashboard.stripe./account/payments/settings – Ashley Medway Commented Aug 31, 2018 at 11:36
  • 1 @AshleyMedway oh my fault, thank you. I didn't see that it's impossible to test sepa on test mode.. – Henrik Thien Commented Aug 31, 2018 at 11:59
  • How I can IBAN of USA user? – Musaddiq Khan Commented Jan 19, 2020 at 20:43
Add a ment  | 

1 Answer 1

Reset to default 7

For try the source type "sepa_debit" on an IBAN Element is indifferent if you are in live or test mode, the only requisite is enable the option "SEPA Direct Debit" under Payment Settings section which is based in "invitation list" mode.

As they write:

SEPA Direct Debit payments are available to Europe-based Stripe users in a closed preview. In order to activate SEPA Direct Debit, you will need to request an invite through your Stripe Dashboard.

And as second condition:

Before you can accept SEPA Direct Debit payments, your Stripe account needs to have regularly processed card payments for 30 days. SEPA Direct Debit payments are also subject to processing volume limits, and payments can fail if you exceed your limits. If you are a new customer or plan to process a high volume of transactions, please get in touch to request a review.

When you get accepted, you can try in live/test mode with your public and secret keys. Until you get accepted, you can use ONLY the public keys as demo which are showed in stripe docs as merchant demo, like for example this key (could be changed in future):

// Note: this merchant has been set up for demo purposes.

pk_test_6pRNASCoBOKtIshFeQd4XMUh

本文标签: javascriptStripe IBAN Element Error 39The type sepadebit is not a valid source type39Stack Overflow