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
1 Answer
Reset to default 7For 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
版权声明:本文标题:javascript - Stripe IBAN Element Error 'The type `sepa_debit` is not a valid source type.' - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744268289a2598053.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论