#subin_error
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/1364138357902282823
📝 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.
- subin_error, 4 days ago, 32 messages
- subin_error, 5 days ago, 14 messages
We're implementing the OAuth flow for our Stripe Connect integration. We're observing a duplicate redirect from Stripe after a successful authorization.
Here’s what’s happening:
- The first redirect comes in with the authorization code (as expected).
- We then exchange the code for access/refresh tokens.
- Afterwards, we make a request to our client’s site to store the tokens.
- If this request takes longer than 60 seconds, we see a second identical redirect from Stripe to our server.
The second request has the same parameters and a Referer header of https://marketplace.stripe.com/.
Can you please confirm:
- Is this retry behavior expected when the initial redirect doesn’t respond quickly?
- Is there an officially recommended timeout for this redirect handler?
- Is there a way to prevent Stripe from retrying or a webhook-based alternative?
Here’s our handler setup for your reference:
- We’re using a custom PHP backend (not WordPress).
- We respond only after completing a cURL request to the client site.
so is there is any retry from stripe if the response take more than one monute?
if there is a retry, can we able to alter the time period?
Hi! Looking into your query!
I se that you are following the steps from this doc: https://docs.stripe.com/stripe-apps/api-authentication/oauth
A re-direct only happens when a user is clicks on the OAuth link. When you say the second request has the same parameters , is the OAuth link created with the same parameters each time?