On This Page
Authorizing and Capturing a Payment Workflow
This workflow illustrates a successful authorization and capture.
Figure:
Authorization and Capture Workflow
- The customer begins to check out on the merchant's website and chooses one of these payment methods:
- PayPal
- PayPal Pay Later
- Venmo
- You request a create order and sets theprocessingInformation.authorizationOptions.authTyperequest field toAUTHORIZE. For more information, see Create a PayPal Order.
- Cybersourceresponds with this information in the response message:
- PAYER_ACTION_REQUIREDstatus
- PayPal checkout redirect URL or a Venmo checkout QR code
- Order ID
- Order request ID
- 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.
- The customer uses their PayPal or Venmo account to complete the payment and is redirected to the merchant's checkout page.
- You request a check status with the order transaction ID. For more information, see Check Status for a Transaction.
- Cybersourceresponds with anAPPROVEDstatus.
- You display the order confirmation to the customer.
- You request an authorization with the order ID. For more information, see Authorize a Payment.
- Cybersourceresponds with theCOMPLETEDstatus 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 toCybersourceusing one of these requests:
- PayPal: You send a re-authorization request. For more information, see Re-authorize a PayPal Payment.
- Venmo: You send an update order request. For more information, see Update an Order.
- You request a capture with the authorization request ID. For more information, see Capture a Payment.
- Cybersourceresponds with thePENDINGstatus and a capture request ID.
- You request a check status with the capture request ID. For more information, see Check Status for a Transaction.
- Cybersourceresponds with aCOMPLETEDstatus.
- You display the payment confirmation to the customer.