#Satya

1 messages · Page 1 of 1 (latest)

sage zenithBOT
leaden sigil
#

hello! the difference is the API key that you're using - the key name will have test or live in it's name to indicate if it's a testmode key or livemode key

burnt forum
#

ok Thanks

#

how can we do the Webhook part to point the test to development& Live to live?

leaden sigil
burnt forum
#

how the system(Stripe) will know which one to test & live?

leaden sigil
#

i don't quite understand the question?

burnt forum
#

I have a Webhook for the payment status and I am making payment from the test environment and also from live

#

will the stripe will know which request came from which environment and send the webhook response respectively

leaden sigil
#

yes, it will

#

are you using Connect?

burnt forum
#

no

#

I added the Webhook as attached and only one place it is sending the data

leaden sigil
#

alright, it's good to know you're not using Connect.

#

I added the Webhook as attached and only one place it is sending the data - so is this behaviour what you're expecting?

burnt forum
#

no, I am expecting that I have 2 servers one for testing & other for staging I want the stripe to update if the request is coming for test the webhook update to test otherwise staging

leaden sigil
#

can you share your account id?

burnt forum
#

ok

#

sorry where I can get the account ID

#

?

leaden sigil
burnt forum
#

acct_1L92DxDyyET6Chbt

misty rampart
#

Hey, taking over here

#

Which events are you subscribed to?

burnt forum
#

Hi

#

I am expecting that I have 2 servers one for testing & other for staging I want the stripe to update if the request is coming for test the webhook update to test otherwise staging

misty rampart
#

And are they in Stripe test or live mode?

burnt forum
#

from stripe to my application server

misty rampart
#

Yes, but the objects you're creating in Stripe – are you using your test or live keys?

burnt forum
#

I am not aware of that because this was done by other person and now I am taking care of it. Could you have any documentation for the webhooks?

misty rampart
#

There's loads. But as I see it you have 2 webhooks listening to payment_intent.* events

#

Yet there's no payment_intent.* events on your account