Orders API payment failure webhooks

QTNitin
Contributor
Contributor

I am using Orders API(https://developer.paypal.com/api/orders/v2/)  for one-time payments. We are not using Paypal JS  SDK for front end. We redirect the user to approve  link that we get from create order API  (https://developer.paypal.com/api/orders/v2/). What if the  customer doesn't complete the payment in the  approve  link page? . Do we get any failure webhooks for that ? I only see 2 webhooks related to Orders API - CHECKOUT.ORDER.COMPLETED, CHECKOUT.ORDER.APPROVED. Do you have any failure webhooks?

Login to Me Too
1 REPLY 1

Nexus_Software
Contributor
Contributor

Hello @QTNitin ,

 

Webhook events for the v2 API include:

PAYMENT.AUTHORIZATION.CREATEDA payment authorization is created, approved, executed, or a future payment authorization is created.Capture authorized payment
PAYMENT.AUTHORIZATION.VOIDEDA payment authorization is voided.Show details for authorized payment with response status of voided.
PAYMENT.CAPTURE.COMPLETEDA payment capture completes.Capture authorized payment with response status of completed.
PAYMENT.CAPTURE.DENIEDA payment capture is denied.Show details for authorized payment with response status of denied.
PAYMENT.CAPTURE.PENDINGThe state of a payment capture changes to pending.Show details for authorized payment with response status of pending.
PAYMENT.CAPTURE.REFUNDEDA merchant refunds a payment capture.Capture authorized payment with response status of refunded.
PAYMENT.CAPTURE.REVERSEDPayPal reverses a payment capture.Refund captured payment

 

Thank you.

 

Powered by Custom Software : NexWebSites.com
PayPal Developers

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.