Processing a Sale

Processing a sale requires you to use information from the API response message to redirect the customer to their bank's website to complete the checkout. Follow these steps to process a sale.
  1. Send a
    POST
    request to the
    https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
    endpoint and include these required fields:
    Set to
    PBB
    .
    Set to the URL to which the customer is redirected after cancelling the Pay by Bank payment.
    Set to the URL to which the customer is redirected after the Pay by Bank payment fails.
    Set to
    true
    .
    Set to the URL to which the customer is redirected after successfully completing the Pay by Bank payment.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Set to either
    GBP
    or
    EUR
    .
  2. Choose from these optional fields to include additional information in your request:
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
    Replace the
    #
    character with the number
    0
    for the first item and consecutive numbers for any additional items.
  3. Redirect the customer to the URL in the
    apSaleReply_merchantURL
    response field.
    <merchantURL>https://checkout.b.banked.com/75ca2d53-58bd-434f-a889-bc92d2902dd4</merchantURL>
  4. When the customer validates the purchase on their bank's website, the customer is redirected to the merchant's website that you provided in the
    apSaleService_successURL
    request field.
    <successURL>https://www.merchant.redirect.url.from.request.html?actionsuccess</successURL>

AFTER COMPLETING THE TASK

When the sale is successfully processed,
Cybersource
sends a
SETTLED
webhook notification. For information about how to set up webhook subscriptions, see Webhook Subscriptions. If you do not receive a webhook notification, send a check status request. For information about how to send a check status request, see Check Status.