On This Page
Process a Sale
This section describes how to process an iDEAL sale.
A successful sale request includes an iDEAL redirect URL in the response. You must
redirect the customer to this URL in order for the customer to complete the payment
using their iDEAL account. If the customer does not complete the payment within 60
minutes of the URL being generated, the URL will expire and the sale's status updates to
FAILED
. If the URL expires, send a new sale request to complete the
payment.Shipping Information
Cybersource
recommends that you do not ship purchased items until the
sale is in the completed status.Endpoints
Production:
POST
https://api.cybersource.com
/pts/v2/paymentsTest:
POST
https://apitest.cybersource.com
/pts/v2/paymentsResponse Statuses
Cybersource
responds to your request with one of these possible statuses
in the status
response field.- PENDING: The request is successful and is currently processing. Redirect the customer to the payment method's URL in the response in order for the customer to complete the payment. Send periodic retrieve a transaction requests until the status updates.
- FAILED: The request is not successful due to the PPRO supported payment method declining the request. Send a new sale request.
- INVALID_REQUEST: The request is not successful due to invalid information in the request. Send a new sale request.
- SERVER_ERROR: The request is not successful due to a system timeout error. Resend the sale request.