#xxxxx-webhook-events

1 messages · Page 1 of 1 (latest)

brittle crystal
#

Hi there 👋 happy to help you look into this. Do you have an example of an event ID where you're seeing this behavior?

sacred sundial
#

also we spoke about this earlier this morning. Not sure what else we can tell you!

ripe parcel
#

No such payment_intent: 'pi_3K4PTUHFt6qIi7wn0iHcKtJy'; a similar object exists in test mode, but a live mode key was used to make this request.

#

i have checked the api keys as well.

#

they are all set.

brittle crystal
#

Looks like you're trying to retrieve an object using a live key, but that it's not completing because that objects doesn't exist in live mode.

ripe parcel
#

yes.

#

i am am not able to find the root cause of this problem.

#

Can you tell from the payment id , the url that was used to make this request.

brittle crystal
#

No, it's a server-side request and so there is no URL associated with it.

ripe parcel
#

so now how i will check for this error?

#

how will i resolve this one?

brittle crystal
#

That particular error? You'd use the right API key that matches the mode the object you're trying to retrieve is stored in.

ripe parcel
#

i have checked the api keys.

brittle crystal
#

And confirmed that you're using your live key, but that the object you're trying to retrieve is in test mode?

ripe parcel
#

yes.

brittle crystal
#

Well that's the problem, if you want to retrieve that object then you'll need to use your test key.

#

Because the object is in test mode.

ripe parcel
#

yes my keys are rightly placed . why the stripe is sending event of production to my test mode?

brittle crystal
#

Not sure, I never received an example of an event where this is happening to look at.

ripe parcel
#

this is the request id

#

req_H29nbE613y8DhR

brittle crystal
#

I thought you were saying that webhook events are being sent to the wrong place? I would need an event (Stripe sending data to you) to look at to investigate that, not a request (you sending data to Stripe).

ripe parcel
#

i see this under the logs

#

can you check why the request are failing under the logs?

brittle crystal
#

Because you're using the wrong API key.