#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/1346448951477403719
đ 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, 23 hours ago, 56 messages
- subin_error, 1 day ago, 28 messages
- subin_error, 4 days ago, 51 messages
i want now how a valid api key worked in earlier payments get invalid api key.
if i sent request to return new access token via refresh token it working.
i checked that the accesss token passed is not expired and same as returned earlier
here iam creating a payment intent
sorry stripe checkout
iam usnig OAUth
if that API key was working previously, it probabbly means that the connected account got disconnected from your platform in the meantime
can you share the connected account ID (acct_xxx)?
if so i will not get access token while passing refresh token to retrieve access token.
account is not disconnected.
i checked it
can you share the connected account ID (acct_xxx)?
if i sent request to return new access token via refresh token it working.
So if you refresh the access token, it's working?
yes
but old token not working, before refreshing to get new one.
but the token not expired.
time of one of the failed request : 2025-03-04T08:32:43+00:00
time of refresh the access token : 2025-03-04T08:01:31+00:00
no
2025-03-04T08:01:31+00:00 is the time i got a access token i used it on request at 2025-03-04T08:32:43+00:00 and it return error , invalid api key.
then i sent request to refresh access token on 2025-03-04T08:36:05+00:00
and after that it worked.
i got the same issue eralier today.
i shared one of the incident.
Are you sure you're passing the newly created key?
How are you refreshing the token exactly?
yes
uding stripe app
'refresh_token' => sanitize_text_field($refresh_token),
'grant_type' => 'refresh_token',
Hey! Taking over for my colleague. Let me catch up.
Just to confirm, you are following this guide in order to generate the oauth flow ?
https://docs.stripe.com/stripe-apps/api-authentication/oauth