#jpeck_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/1476981863254982797
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, thanks for the detail. I don't think insufficient funds should deactivate the mandate but am looking in to what happened here
Thanks! Let me know if you need more context or examples. I'm pretty sure we're seeing this for any failed bank charge, including the insufficient funds and account closed test accounts.
๐ Hey jpeck, taking over for Pompey as they need to head out. I know there are certain declines that will result in a invalid mandate but my understanding is insufficient funds should not be one of those. Taking a deeper look at the request ID you provided.
https://docs.stripe.com/payments/ach-direct-debit/blocked-bank-accounts#ach-on-charges
If it helps to see the flow a little more, here's the payment intent that fails, using the insufficient funds test account:
pi_3T4jYMB5zlmbMOmk0v1t4eL3
and here's a subsequent charge attempt that returns the error message that no existing mandate was found:
req_2AgShsgmLiwI9i
Looks like pm_1T4jYMB5zlmbMOmkwvXmfd6I was used for the Payment Intent pi_3T4jYMB5zlmbMOmk0v1t4eL3 that resulted in insufficient funds
Where the Mandate error was thrown when trying to use pm_1T4PJjB5zlmbMOmkpLlrcsS4 in req_2AgShsgmLiwI9i
Events happening on one PM shouldn't result in status changes for another PM as far as I'm aware. Still digging to find out what invalidated the mandate
Hmm, good catch, I just assumed but maybe my recollection was wrong. Will try and get a fresh example if I can.
https://dashboard.stripe.com/acct_1SUw4KB5zlmbMOmk/test/logs/req_HXesqXtMEPxGUu
Created pm_1T4PJjB5zlmbMOmkpLlrcsS4 at 2026-02-24 17:22:39 UTC
https://dashboard.stripe.com/acct_1SUw4KB5zlmbMOmk/test/logs/req_sLVnjDD6hAt48b
Micro Deposite Verified at 2026-02-24 17:22:40 UTC, so one second later.
Then the Mandate was updated as invalid at 2026-02-24 17:24:50 UTC a few minutes after that. Feels like it didn't get used at all.
Okay, here's one I just ran through.
charge.failed event for a bad ACH pm_1T4krEB5zlmbMOmkrlnVBV3W
evt_3T5Us2B5zlmbMOmk1kYE3bQb
then I try and charge the same ach pm_ again and get the mandate missing error
req_CC2XGQjciZ0wSl
I found the PI pm_1T4PJjB5zlmbMOmkpLlrcsS4 failed on. pi_3T4PLRB5zlmbMOmk113fW1ft
https://dashboard.stripe.com/acct_1SUw4KB5zlmbMOmk/test/payments/pi_3T4PLRB5zlmbMOmk113fW1ft
okay, so I just now noticed we had our test cases mislabeled and I had thought I was testing the insufficient funds case, but I've been testing the closed account or no account cases.
sorry about that!
No worries!
I'll see if we have the same issues with insufficient funds and if we do, I'll reach back out
thank you so much, appreciate y'all!
Any time! ๐