#edevilliers_achdebit-mandate

1 messages ¡ Page 1 of 1 (latest)

viscid citrusBOT
#

👋 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.

blissful harness
#

@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

cobalt helm
#

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

blissful harness
#

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?

cobalt helm
#

I do have examples, how would be best to show you what you'd want to see?

blissful harness
#

Exact object ids is what I need: pm_123, pi_123, req_123 for success and failure

cobalt helm
#

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?

blissful harness
#

no it's fine. Will take me a while to debug but I'll be back

cobalt helm
#

Ok sounds good!

viscid citrusBOT
blissful harness
#

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

cobalt helm
#

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?

grizzled plinth
#

Hey there, stepping in as my teammate had to step away.

#

Roughly speaking, you would need to check the status to see if it's active vs inactive and not use PMs with inactive mandates