Accept Afterpay payments

DocsLimited

Last updated: Oct 29th, 11:34pm

To accept Afterpay payments with PayPal, follow these steps in order:

  1. Create order: Send a request with intent set as CAPTURE and Afterpay as the payment source to create an order for buyer approval.
  2. Redirect buyer: Use the payer-action link from the order response to redirect your buyer to Afterpay's platform for payment approval.
  3. Payment completion: Payment is automatically captured immediately upon buyer approval. No additional capture call is required.
  4. Track payment status: Monitor payment completion using webhooks for real-time updates or poll the Orders API if webhooks are unavailable.