#atul-webhooks

1 messages · Page 1 of 1 (latest)

untold basin
warped sand
#

acct_1LKJ0vSApUbhYhpH

untold basin
#

can you share more on what you mean by it's not listening to it even after event is fired successfully?

warped sand
#

checkout.session.completed

untold basin
#

what is not listening to it?

#

do you mean your server hasn't received the event? or your code isn't processing it?

warped sand
#

we_1LZ4PQSApUbhYhpHV1eTJ0Jk

#

this webhook is not listening to checkout.session.completed event

untold basin
#

Stripe is sending the webhook event, but your server is returning a 500 http response code . You're going to need to trace through your own code to see which line of code is causing that error.

warped sand
#

Try to understand

#

latest event is fired today 20 minute brfore, and in webhook there is no trace of that event

untold basin
#

can you share that event id?

warped sand
#

evt_1LeteBSApUbhYhpHoCky1qNx

untold basin
#

your server responded with a 500 http response code

warped sand
#

StripeInvalidRequestError: The price specified supports currencies of usd which doesn't include the expected currency of inr.

#

how to fix this error

latent jetty
#

HI @warped sand I"m taking over

#

Can you send me the request ID?

warped sand
#

just a moment

warped sand
#

Hi

#

I have products whose pricing is in dollar

#

i am currently testing from india

#

So when customer is created on stripe, its currency is automatically of india inr.

#

When i am trying to upgrade subscription I am getting currency mismatch error

#

How can it be fixed

latent jetty
#

You can't upgrade a price to a different currency.

#

So you should create another inr price, so that your customer can upgrade to it.

warped sand
#

while creating customer can we set the customer currency to usd

#

I mean can we pass currency while creating customer

latent jetty
#

If the customer's currency is usd, then this customer can only accept prices in usd only, not inr or any other currencies