#ayush_api

1 messages ¡ Page 1 of 1 (latest)

rancid depotBOT
#

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

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

floral tundra
#

Hello, how you guys are doing well!

#

hope*

magic pelican
#

pi_3S5pkJEOiaSHX5Kv1aQIL7MI in req_8W58OE8n9TFf5e was created on acct_1S46zfEOiaSHX5Kv, but you were trying to access it from the acct_1S4Uq2EKBDBWG4Io

floral tundra
#

I am creating my checkout session with the following destination: acct_1S4abiE5IRqdst9v

#

I dont know where either of those accountId's come from

#

Just checked all the connected accounts on my Sandbox and I don't see any of those

magic pelican
#

You should access the Payment Intent from the platform key

floral tundra
#

pi_3S6ItJEKBDBWG4Io0QhpbAj7 is my Pi

#

where is that PI coming from

#

I cant open that link

magic pelican
floral tundra
#

Apologies I shared the wrong one

#

that was 2 days ago

magic pelican
#

Could you share the latest request ID with the error, so that I can take a look?

floral tundra
#

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payment_intent: 'pi_3S6J9gEKBDBWG4Io1ytArpg7'",
"param": "intent",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_tE8S9KS1EahmJa?t=1757630394",
"type": "invalid_request_error"
}
}

Learn more about Stripe API error codes and how to resolve them.

#

I was using the wrong Publishable Key

magic pelican
#

This is the same issue. The Checkout Session and its Payment Intent (pi_3S6J9gEKBDBWG4Io1ytArpg7) were created with the secret key from the platform acct_1S4Uq2EKBDBWG4Io, but you're accessing from the publishable key of acct_1PpxiEELnjoTvTlr

floral tundra
#

Yeah...

#

Fixed it, thank you

#

lol

#

Quick question, do the sandbox test mode also send out events from the Checkout session?