Test Triggers for Refunds

In the
Cybersource
test environment, you can simulate specific response messages that you receive from transaction requests by including certain values in your transaction requests. The simulated environment enables you to become familiar with the response messages and develop methods for error handling.
Your account must be configured for testing trigger values. Contact your
Cybersource
account manager for more details.

Test Endpoint

For test transactions, send an API request to the test endpoint.
Test:
https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor

Trigger Values

To test, send a refund request and set the
purchaseTotals_grandTotalAmount
field to a value listed in the Trigger Value column. The
Cybersource
response status is returned in the
apRefundReply_status
field.
Direct Debit Triggers for Refunds
Cybersource
Response Status
Trigger Value
Failed
2000.07
Pending
2000.00
Refunded
Any value that is not used in the triggers for testing other statuses.