The Test or "Dummy" payment gateway lets you test placing orders on the Optimizely Configured Commerce website without relying on an external payment gateway.
When using the Dummy gateway, no funds are captured. Therefore, the Dummy gateway should only be used on test sites or during implementation.
Setting up a website to use the dummy gateway
To configure a website to use the Dummy gateway, set the Application Setting PaymentGateway to Dummy.
To configure a website to use the Dummy gateway, set the Payment Gateway Setting to Dummy.
- Go to Admin Console > Administration > System > Settings.
- In the search box, enter Payment Gateway and select it from the list.
- Select Dummy from the menu.
- Click Save.
Once the site has been restarted, the Dummy gateway plug-in will be loaded.
This can be verified by clicking Debug, selecting Plugin Information, locating the Insite.Model.IPaymentGateway Service within the list and then checking which Implementation is being used - Insite.Domain.PaymentGateways.PaymentGateway_Dummy should be listed.
The Debug tool is only available for Users assigned the ISC_System and/or ISC_Implementor roles.
Using the dummy gateway
To use the Dummy gateway, enter one of the following credit card numbers on the Review and Pay page:
You can use any 3 or 4-digit number as the Security Code and any future date as the card's expiration date.
Any transaction using the above information will be accepted. You can see how the site will react for a decline by using a credit card number different from those listed above.
The payment gateway PayflowPro may be used with the dummy information provided above. However, purchases over $1000 will cause an error. Optimizely recommends using the Dummy payment gateway when possible.