#dejmon_webhooks
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/1274011563237572609
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ I'm a little uncertain about the specifics of whether a payment method is always detached when the Mandate becomes inactive, though I do think that is likely the case, especially looking at the scenarios that our test bank numbers simulate.
I'd suggest testing with the second-to-last account in our list of test accounts here:
https://docs.stripe.com/payments/bacs-debit/accept-a-payment?payment-ui=stripe-hosted#testing
since that one doesn't mention the Payment Method being detached even though the Mandate is refused. If the Payment Method is still detached there, then I think you're good. If not, I'd suggest listening for mandate.updated Events.
Sort code: 108800
Account number: 00033333
Hi @errant fern, thanks for your reply! That case I've just tested and Stripe sends both of these events so I assume that I can trulely only handle payment_method.detached. ๐
Yup, sounds like that will work then.
Ok, thank you so much for your help. Have a nice day!