#Bob the builers-sepa-debit-mandate
1 messages ¡ Page 1 of 1 (latest)
Hello there! I believe that field is for a beta feature (hence the missing parameters) for offline mandate agreements
Normally the mandate is implicitly agreed by the customer when confirming the Setup Intent (outlined here: https://stripe.com/docs/payments/sepa-debit/set-up-payment?platform=web#web-collect-payment-method-details)
How do I opt in the beta?
I'm not sure if it's even available, but you'd need to contact support
Okay
In test mode I left it empty and got a successful response. And test payments worked too.
Safe to assume it can be left empty in live mode as well?
You don't even really need to provide it
The mandate is generated automatically on confirmation (assumed implicit opt-in from the customer after displaying terms)
We already have a list of our customer IBANs. Currently its handled manually, but would rather use stripe billing instead. Its more convenient to push that data to stripe instead of having customers enter it again
So its fine to just provide payment_method_data.sepa_debit.iban and thats all?
Don't believe that field is available on Setup Intents
Works in test mode đ¤ˇââď¸
Can you provide a Setup Intent ID?
Sure, hold on
Request id req_lBbyDHhYMS8nke
setup intent id seti_1KFETBJkffSet2fuu9yg5Jr5
Taking a look
Weird, seemingly does work. I'd be hesitant to use it though as it's undocumented
Is there a better way to add sepa payment methods, without needing user interaction?
Hmm, for pre-existing SEPA/IBAN data? I'm not sure if we support that, let me check
Still checking on a solution for you!
Thanks
Ok, got it. Let me clear a few things up:
- The
payment_method_dataparameter is safe to use. It's undocumented as that's the way you can pass raw credit card data (which we strongly discourage unless you have your own PCI compliance, and why it's not documented). That's not relevant for SEPA data so it's all good to use in this instance.
â If you're eligible for storing IBAN data in your systems, then you can continue down this path. But the onus is on you to ensure you're compliant with any requirements in regard to that.
Does this help?
So, specifying iban and type=offline is enough?
As in, that previous request req_lBbyDHhYMS8nke would also work in live mode?
Yep! Exactly you can optionally pass any acceptance data to the offline parameter: https://stripe.com/docs/api/setup_intents/confirm#confirm_setup_intent-mandate_data-customer_acceptance-offline
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It will yes
Oky, thanks for the information
Np! Let me know if I can help with anything else