Configuring the test dummy gateway as the payment gateway
The Test or "Dummy" payment gateway lets you test placing orders on the InsiteCommerce 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 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.
Using the Dummy Gateway
To use the Dummy gateway, enter one of the following credit card numbers on the Review and Pay page:
- 4111111111111111
- 6011111111111117
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.