#nita1234_api

1 messages · Page 1 of 1 (latest)

brisk topazBOT
#

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

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

analog locust
#

Hi Stripe Support,

In my current integration, if a payment fails (for example due to insufficient funds), I’ve configured Stripe’s retry period for 2 weeks. During that time the customer can log into my website and I display a prompt asking them to update their payment method.

What I would like to achieve is:

If the customer updates their payment method during this retry period, I want to immediately attempt the payment again instead of waiting for Stripe’s next scheduled retry.

In other words, I want to manually trigger a retry of the failed invoice/payment intent the moment the customer changes their payment method.

Could you confirm the best approach for this scenario?

Should I call invoice.pay after attaching the new payment method to the customer?

Or is there another recommended flow for immediately forcing a retry when the customer provides a valid payment method?

Thanks in advance for clarifying this for me!

gentle sky
analog locust
#

how should i do this "if they have a failure payment attempt and you try to charge the new PaymentMethod"

#

By calling invoice.pay?

gentle sky
analog locust
#

I am working with recurring subscriptions

cold igloo
#

In this situation, calling invoice.pay with the new Payment Method ID will work for this

analog locust
#

okay I will try it thank you very much