#Jerry Jose

1 messages · Page 1 of 1 (latest)

jade perchBOT
dreamy mason
#

Hello 👋

slim kayak
#

for example If the payment status is Incompleted then How we can show it to the client

dreamy mason
#

When you retrieve the Session as shown in step 2, at that point you can expand the PaymentIntent so that the API includes the complete PaymentIntent object in the response.
then you can just look at the checkout_session.payment_intent.status to check its status

slim kayak
#

Hi, I have a question, Is the Stripe checkout payment process is sync or async ?

dreamy mason
#

The payment is processed asynchronously
But there isn't much delay when it comes to card payments

slim kayak
#

ok, then no need to monitor the payment (webhook) for card payment?

dreamy mason
#

It is best practice to listen for the events to be 100% certain

#

For your reconciliation

slim kayak
#

Ha great. Do we have any test card for delay or pending state (test mode)?

dreamy mason
#

I don't think we have any test cards for this as such unfortunately