Void Authorizations and Orders When Needed

Important: PayPal supports these Checkout integrations:

  • Smart Payment Buttons, which use the PayPal JavaScript SDK. Valid from February 2019 for new integrations.
  • Checkout with checkout.js. Valid before February 2019. Customers who use checkout.js can access reference and support material in this Checkout guide. However, PayPal does not update checkout.js with new features and enhancements.

Implement the Void authorization method, available in the Payments API, to cancel authorizations and orders by ID.

The API allows you to automatically clear your cache, resolve incomplete transactions, and handle order fulfillments and cancellations.