#_shubhamjha

1 messages · Page 1 of 1 (latest)

dense sedgeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

languid tartan
#

hello! can you share more on what isn't working?

lucid fjord
#

is their any other path of webhook event call when i appying paramotion code and what is the path when i chekout without applying parmotion code

languid tartan
#

i'm sorry but i don't understand, can you explain what's the behaviour you're expecting? and what is the behaviour you are getting instead?

lucid fjord
#

loook this event call when i am not applying parmotion code TODAY
customer.subscription.updated
8:39:14 AM
checkout.session.completed
8:39:03 AM
invoice.payment_succeeded
8:39:00 AM
invoice.created
8:38:57 AM
invoice.payment_failed
8:38:56 AM
invoice.finalized
8:38:56 AM

#

but when i am applying premotion code then only this event is called TODAY
invoice.created
8:28:13 AM
checkout.session.completed
8:28:13 AM
invoice.finalized
8:28:12 AM
invoice.payment_succeeded

#

why?

languid tartan
#

can you give the respective Checkout Session id for each of the flows? The Checkout Session id is prefixed with cs_

lucid fjord
#

ok

#

"id": "cs_test_b1q11D41El6ftmBJ337lLyOOPmj5SGPqpS1agfMlO1438CrCsAp4QeJon6",

#

"id": "cs_test_b1EMsjSjT98URcpvz8P0dzZqbM6OGVggRKFoSw0qdMQbL3Vurzk7BWtdCI", this is using paramotion key

languid tartan
#

I'll get back to you in a while, it's taking a while to load those Checkout Session objects

dense sedgeBOT
potent wharf
#

Hey! Taking over for my colleague. Let me catch up.

#

The first checkout session has a failure payment while the second has a successfull payment that's the difference

#

But no wait, are you sure the invoice.payment_failed belongs to the same checkout session checkout.session.completed ?

#

If you use promotion code or not you'll get the event checkout.session.completed if the payment was successfull

#

I invite you to double check the objectId in each events and make sure to track onyl the events of the same Checkout Session.

dense sedgeBOT