#Roopa
1 messages · Page 1 of 1 (latest)
evt_1MqEmXDwT5gdvn7n4rCdAFnG
Stripe sent that event to your server, but your server returned a 400 error.
So you need to check your server log to understand the issue.
Ok, we are getting the exception.
Do we have to set 'StripeConfiguration.ApiKey ' every time we get anything from strip?
It depends on your code. But if you are calling some Stripe API endpoint, then yes you need to set your secret key.
Second screen shot is the code I am using for 'Invoice update' event.
You are doing a GET request, so yes you need to set your secret key.
Ok, but why I am not getting same error in the Development enevironement?
I'm guessing you set the API key in the development environement
Sorry I am not able to understand. I am using same code for development and live.