On This Page
Processing a Sale
Follow these steps to successfully process sale.
You must include all of the listed required
fields in your sale request to guarantee the redirect URL will display properly to
the customer.
- Send aPOSTrequest to thehttps://ics2ws.ic3.com/commerce/1.x/transactionProcessorendpoint and include these required fields:
- Set toTRL.
- Set to the URL to which the customer is redirected after successfully completing the Trustly payment.
- Add?action=cancelto the end of the URL to help identify the response.
- Set to the URL to which the customer is redirected after successfully completing the Trustly payment.
- Add?action=failureto the end of the URL to help identify the response.
- Set to the URL to which the customer is redirected after successfully completing the Trustly payment.
- Add?action=successto the end of the URL to help identify the response.
- Set totrue.
- Set to one of these values:
- AT
- CZ
- DK
- EE
- FI
- DE
- LV
- LT
- NL
- NO
- PL
- ES
- SE
- GB
- Set to one of these values:
- BGN
- HRK
- CZK
- DKK
- EUR
- HUF
- RON
- NOK
- PLN
- GBP
- SEK
- You can include these optional fields in the request:
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- If this field is present, thepurchaseTotals_currencyfield is optional.
- Replace the#character with a sequential number starting from0.
- Replace the#character with a sequential number starting from0.
- Redirect the customer to the returned URL in themerchantURLresponse field.<merchantURL>https://payment.limonetikqualif.com/ComputopTrustly/Order/PayPage/548606385014</merchantURL>
- When the customer completes the checkout using their Trustly credentials, the customer is redirected to the merchant website based on the URL that you included in theapSaleService_successURLfield.
- Save the request ID in therequestIDfield from the sale response. Include the request ID in a check status request to confirm that the payment is complete.<requestID>6989535327666834103007</requestID>