#ayushtomar5829_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1227372748070715473
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yes, a mandate will be needed eventually but it's up to you if you want to set a default mandate when creating the invoice: https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-invoice
Or if you want to specify a mandate when calling /pay on the invoice: https://docs.stripe.com/invoicing/india-emandate-guide#use-mandate-charge
so right now we have credit card (without RBI mandate) and ACH as payment options, ACH does have a mandate ID attached to it but while sending the invoice we dont send the mandate id. it works seamlessly.
India mandates are only needed for India-based card payments
okay just to summarise, setting the payment method as default alone wont solve the proble, we HAVE to send the mandate id for these special customers?
Yes, if you're attempting an off-session payment for that particular Invoice
got it. any idea if I use collection_method= charge_automatically. would it take the default payment source as well as the mandate id attached automatically on it? https://docs.stripe.com/api/invoices/object#invoice_object-collection_method . sorry if its going in a loop. trying to avoid changes to code as much as possible
Let me try a quick test. I'm pretty sure you have to pass the default mandate, we won't include this for you.
please do the test. That would be really really helpful
Still working on this! Sorry for the delay
Okay, confirmed that even for invoices where collection_method: charge_automatically, you have to pass the mandate. We don't automatically pull this for you in either case, whether creating an invoice with a default_payment_method or calling /pay with a payment_method