#xxxxx-webhook-events
1 messages · Page 1 of 1 (latest)
Hi there 👋 happy to help you look into this. Do you have an example of an event ID where you're seeing this behavior?
also we spoke about this earlier this morning. Not sure what else we can tell you!
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.
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.
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.
No, it's a server-side request and so there is no URL associated with it.
That particular error? You'd use the right API key that matches the mode the object you're trying to retrieve is stored in.
i have checked the api keys.
And confirmed that you're using your live key, but that the object you're trying to retrieve is in test mode?
yes.
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.
yes my keys are rightly placed . why the stripe is sending event of production to my test mode?
Not sure, I never received an example of an event where this is happening to look at.
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).
Because you're using the wrong API key.