#shimmmaz_api

1 messages ¡ Page 1 of 1 (latest)

dire hornetBOT
#

👋 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/1309584565806960690

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

brave sequoia
#

Hi, let me help you with this.

#

How are you currently collecting PaymentMethods from the customers?

vestal pine
#

I use the create checkout session api, and then send the user to the url created from that api method.

#

mode = setup

brave sequoia
#

You should probably just do it again, with the same Customer ID.

vestal pine
#

so basically re-add the bank account?

brave sequoia
#

Yes

vestal pine
#

Got it. Thanks!

how do we prevent this from happening again / how do we get notified of an inactive mandate in the future?

dire hornetBOT
brave sequoia
#

Most reliably by invoice.payment_failed.

vestal pine
#

currently I've been listening to payment-intent.payment_failed and we didn't get notified for this failure. Should we instead be listening to invoice.payment_failed? what is the difference?