#Jack of spades

1 messages · Page 1 of 1 (latest)

tight shardBOT
boreal coral
#

Hi
Yes, that was changed. You'll have a PaymentIntent once the Checkout Session is completed.

past bay
#

I see, because right now when a user enters the checkout session, we store the 'payment_intent' and when we receive webhook, we compare the 'stripe_session_id' with the previously stored 'payment_intent'. Is there another way we can do something similar?

#

that is verify the incoming webhook with a previous stripe checkout session?

#

we only focus on Event::PAYMENT_INTENT_SUCCEEDED webhook

boreal coral
#

we compare the 'stripe_session_id' with the previously stored 'payment_intent'. Is there another way we can do something similar?
You can add metadata to the Checkout Session and then compare it

past bay
#

but we want to make sure the payment is completed

#

i am afraid even though checkout.session.completed, the payment has failed

boreal coral
past bay
#

or am i wrong? and that checkout.session.completed does mean payment has succeded

#

sorry i am just guessing

boreal coral
#

Then you'll cover all success payments.

past bay
#

i see! thank you very much for the help!