When you are testing your site you should set the testMode parameter for your payment to one of the test mode values listed below. Even when your site has gone live you can still continue to submit test transactions by setting the testmode parameter for those transactions.
Statements and configuration options for all your accounts, both live and test can found in WAS. All your test transactions will appear on the statement for your test account and live transactions on the live account statement.
| Test Mode | Description |
|---|---|
| 101 | Always No, equivalent to a declined authorisation at the bank but no funds transferred |
| 100 | Always Yes, equivalent to a successful authorisation at the bank but no funds transferred |
| 0 | Live, transaction is sent to bank for the standard authorisation process with resultant funds transfer if successful |
Important: All
installations share the same set of accounts so you must ensure that your test
sites always submit transactions in test mode. If you accidentally omit
the testMode or set it to 0 then you will trigger a live payment. If
you are using a list of preferred accounts then ensure that this includes only
test accounts as an additional safeguard.
Back to contents page
$Revision: 1.8 $