#chandan_99459

1 messages · Page 1 of 1 (latest)

stone basinBOT
#

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.

torpid tartan
#

👋 @rocky wing How can I help?

#

can you explain me how payment pending status related with webhook
@rocky wing which integration type are you using? Payment Intent or Checkout Session?

rocky wing
#

Paymentsheet

#

I had follow the step provide by your team

#

i'm not able to understand how will 5 step will work in the case of client end becuz i'm implementing these in android

torpid tartan
rocky wing
#

I'm able to get the response of success and canceled and failed but not able to get the status of pending in the case user money deducted from user account but not reached to us. How webhook will implement

torpid tartan
rocky wing
#

ok as i have seen the webhook through this link

#

what param need to pass in the endpoint

#

becuz it''s not mention there

torpid tartan
#

The input parameter should be the request of your language chosen. It'll then mapped to the corresponding object after parsing the request with using Stripe's library.

#

Which language is used at your server?

rocky wing
#

php

torpid tartan
rocky wing
#

Ok it's about webhook

#

if backend developer make the webhook api then in which step i need to call that api for showing the pending status to the user

torpid tartan
#

Ah I see what your problem is now! When PaymentSheetResult.Completed is invoked, it can be successful or pending payment. At this point, you won't know the status of the Payment Intent unless you make an additional call to your server and retrieve the payment intent status from Stripe. The pending status then can show to the customer after checking the payment intent status.

For the Webhook at Step 5, it explains how you can get the payment intent outcome after customer completing the payment (please note that complete here means finishing the payment, but it doesn't mean that the payment outcome is guaranteed for asynchronous payment method).