Configure the test (dummy) gateway as the payment gateway

  • Updated

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.

Set 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.

  1. Go to Admin Console > Administration > System > Settings.
  2. In the search box, enter Payment Gateway and select it from the list.
  3. Select Dummy from the menu.
  4. 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.

Use 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.

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.