Orders API payment failure webhooks
QTNitin
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-16-2022
01:45 AM
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?
Labels:
- Labels:
-
Payments REST APIs
1 REPLY 1
Nexus_Software
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb-26-2022
05:35 AM
Hello @QTNitin ,
Webhook events for the v2 API include:
PAYMENT.AUTHORIZATION.CREATED | A payment authorization is created, approved, executed, or a future payment authorization is created. | Capture authorized payment |
PAYMENT.AUTHORIZATION.VOIDED | A payment authorization is voided. | Show details for authorized payment with response status of voided. |
PAYMENT.CAPTURE.COMPLETED | A payment capture completes. | Capture authorized payment with response status of completed. |
PAYMENT.CAPTURE.DENIED | A payment capture is denied. | Show details for authorized payment with response status of denied. |
PAYMENT.CAPTURE.PENDING | The state of a payment capture changes to pending. | Show details for authorized payment with response status of pending. |
PAYMENT.CAPTURE.REFUNDED | A merchant refunds a payment capture. | Capture authorized payment with response status of refunded. |
PAYMENT.CAPTURE.REVERSED | PayPal reverses a payment capture. | Refund captured payment |
Thank you.
Powered by Custom Software : NexWebSites.com
PayPal Developers
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Receiving a PAYMENT.SALE.COMPLETED webhook notification - how can I trace the parent Subscription in REST APIs
- Webhook notifications are not being sent to my server in REST APIs
- My webhook stopped working 2 weeks ago in REST APIs
- webhook not send update notification in REST APIs
- Refunding an order via HATEOAS URL failing with NOT_AUTHORIZED error in Sandbox Environment