I tried to implement the Stripe IBAN element, descriped right here: https://stripe.com/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..
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:
And as second condition:
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):