Processing a Sale Workflow

Figure:

Sale Workflow
  1. The customer begins to check out on the merchant's website and chooses the PPRO payment method.
  2. The merchant sends a sale API request to
    Cybersource
    .
  3. Cybersource
    responds with one of these possible statuses:
    • COMPLETED
    • PENDING
    • SUCCEEDED_PENDING_FUNDS
    IMPORTANT
    There are transactions that do not use redirect URLs because the payment process does not require customer interaction. For these transactions, you will receive a status response after the initial sale request.
  4. If the sale status is
    PENDING
    or
    SUCCEEDED_PENDING_FUNDS
    , the merchant redirects the customer to the payment method's checkout URL included in the sale response.
    If the sale status is
    COMPLETED
    , see step 8.
  5. The customer completes the payment using the payment method's website and is then redirected to the merchant's website.
  6. The merchant sends a retrieve a transaction API request to
    Cybersource
    .

    ADDITIONAL INFORMATION

    You can send the retrieve a transaction request any time after a pending sale or refund request.
    Cybersource
    recommends sending a retrieve a transaction API request every 60-minutes for e-commerce transactions and every 3-minutes for in-store transactions until the payment is complete.
  7. Cybersource
    responds with a
    COMPLETED
    status.
  8. The merchant displays a confirmation of payment to the customer.