#ED

1 messages · Page 1 of 1 (latest)

sterile depotBOT
livid cape
#

Hi there! Let's chat in this thread

winged lagoon
#

We are having problems with setupintent saying no such and our api and key match

livid cape
#

Could you share your Stripe account ID? This should look like "acct_..."

winged lagoon
#

looking

#

acct_1F8CpAIcZ5Y5kaPI

livid cape
#

Thanks! I don't see any failed requests from this account. Did you receive a request ID alongside the "No such setupintent" error? The request ID should look like "req_..."

winged lagoon
#

req_lmra3weI2bExDn

#

the setup intent is successful on stripe just not on our site

livid cape
#

got it, thanks! yes the request for the 404 error is req_pvIetFLBNEZe2v

#

So this setup intent was created in one account, and the request to confirm the setup intent was made using a different account's publishable key

#

Let me know if that helps! You'll want to update the code that handles client side requests to use the correct key

winged lagoon
#

but we only have one stripe account

#

the publishable key is API Key right?

livid cape
#

There are two API keys in test mode: your secret key, used by your server code; and your publishable key, used by any client side code

#

I recommend reviewing you client side code and confirming the key you're using there matches the publishable key from your Dashboard