On This Page
Processing a Sale
The sale service responds with the redirect URL for the customer’s bank. The
customer is directed to the URL to confirm their payment details.
The sale service requires you to include three redirect URLs in request. The URL to which
the customer is directed is determined by the result of the sale process:
- successURL
- Set to the URL to which the customer is redirected after completing a payment. Do not use this URL to confirm a payment because the reply is not signed and it could be tampered with.Cybersourcerecommends that the success URL link to a static web page with text that tells the customer their payment is being processed. A follow-up email or web page can then be used to inform them when their payment is successful.
- cancelURL
- Set to the URL to which the customer is redirected after canceling a payment or closing the browser.
- failureURL
- Set to the URL to which the customer is redirected when a payment fails because of insufficient funds or because the issuer declines it.
Cybersource
can update
your configuration settings to include the success, cancel, and failure URLs in
your Cybersource
service requests. To update your configuration
to include these URLs, contact your Cybersource
account
representative.Endpoints
Set the
apSaleService_run
field to
true
, and send the request to one of these
endpoints:Production:
https://ics2ws.ic3.com/commerce/1.x/transactionProcessor
Test:
https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor