FILTER BY TAG

Authorizing and Capturing a Payment Workflow

This workflow illustrates a successful authorization and capture.

Figure:

Authorization and Capture Workflow
  1. The customer begins to check out on the merchant's website and chooses one of these payment methods:
    • PayPal
    • PayPal Pay Later
    • Venmo
  2. You request a create order and sets the
    processingInformation.authorizationOptions.authType
    request field to
    AUTHORIZE
    . For more information, see Create a PayPal Order.
  3. Cybersource
    responds with this information in the response message:
    • PAYER_ACTION_REQUIRED
      status
    • PayPal checkout redirect URL or a Venmo checkout QR code
    • Order ID
    • Order request ID
  4. You redirect the customer to the PayPal checkout URL or display the Venmo QR code. The Venmo QR code is generated by setting the transaction ID in the Venmo Java SDK.
  5. The customer uses their PayPal or Venmo account to complete the payment and is redirected to the merchant's checkout page.
  6. You request a check status with the order transaction ID. For more information, see Check Status for a Transaction.
  7. Cybersource
    responds with an
    APPROVED
    status.
  8. You display the order confirmation to the customer.
  9. You request an authorization with the order ID. For more information, see Authorize a Payment.
  10. Cybersource
    responds with the
    COMPLETED
    status and authorization request ID.
    If you or the customer modify the purchase details before the authorized funds are captured, you must provide the updated payment information to
    Cybersource
    using one of these requests:
  11. You request a capture with the authorization request ID. For more information, see Capture a Payment.
  12. Cybersource
    responds with the
    PENDING
    status and a capture request ID.
  13. You request a check status with the capture request ID. For more information, see Check Status for a Transaction.
  14. Cybersource
    responds with a
    COMPLETED
    status.
  15. You display the payment confirmation to the customer.