#edevilliers_achdebit-mandate
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/1235647818874486936
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
@cobalt helm it's not really possible. You'd need to get your customer back on session and have them sign a Mandate that is valid for your use-case I think
edevilliers_achdebit-mandate
One interesting thing is when I test with test bank accounts, the only ones that give me the mandate issue are the ones that are set to fail
The success bank accounts work without a mandate error
Do you have a clear example I can look at? I wonder if it's because the successful one has a valid Mandate and the other one makes the Mandate inactive?
I do have examples, how would be best to show you what you'd want to see?
Exact object ids is what I need: pm_123, pi_123, req_123 for success and failure
Failed Invoice:
Invoice Id: in_1PC4BsFyrvghf3LkMnXtmeso
Payment Method Id: pm_1PBhw9Fyrvghf3LkmFTrlsE2
Payment Intent Id: pi_3PC4CfFyrvghf3Lk17HWZFgB
Successfull Invoice:
Invoice Id: in_1PC4EtFyrvghf3LklwjyxQyr
Payment Method Id: pm_1P9SHRFyrvghf3LkiI70DwC5
Payment Intent Id: pi_3PC4FQFyrvghf3Lk1xBVXAHR
Do you also need the stripe account Id for these?
no it's fine. Will take me a while to debug but I'll be back
Ok sounds good!
Okay I looked and your intuition was correcrt and mine was wrong
basically it all works fine, the real thing is that you need to make sure you track the Mandates and if they are active or not. Use the mandate.updated Event to track Mandate(s) changing status and know when an associated PaymentMethod can't be used anymore
on ACH Debit PaymentMethods, the ones with us_bank_account as the type you can also look at https://docs.stripe.com/api/payment_methods/object#payment_method_object-us_bank_account-status_details which tells you if it's usable or not
Ok thanks for looking into that for me! Is there any associated documentation with the mandate.updated event that might go over the recommended actions to take when recieving that event?
Hey there, stepping in as my teammate had to step away.
I don't think there's much in the way of docs for this, outside of this India specific context: https://docs.stripe.com/india-recurring-payments?integration=paymentIntents-setupIntents#webhooks
Roughly speaking, you would need to check the status to see if it's active vs inactive and not use PMs with inactive mandates