You can now test all of Zuora’s Payments functionality as well as your payment gateway calls (such as setting up a payment method, executing payment runs, collecting a payment, etc.) without requiring a login to a payment gateway. Using our test payment gateway, you can start testing immediately prior to signing with of our supported payment gateways providers. Our test payment gateway can help with ad-hoc or early implementation testing but this test gateway is not meant to replace testing performed against an actual payment gateway.
Before going live, Zuora recommends testing your payment processes using an actual payment gateway.
Using the Test Gateway
To configure your payment gateway:
- Navigate to the Setup Payment Gateway page.
- Select "Test Gateway" from the Gateway Type list. Test gateways are indicated by an orange icon with the letter T.
- Click create gateway. In the page that appears, specify a Name for your test gateway as well as the Rules, including Credit Cards Accepted, Default Authorization Amount, Verify New Credit Card, Verify Updated Credit Card.
- Click save gateway information.
Testing with Credit Cards
Developers and trainers using Zuora are likely to run into the problem of how to test or demonstrate the use of credit cards without incurring actual charges.
Our test gateway allows you to perform positive testing. If your payment call is successful, we return that result. However, if you enter an invalid credit card number, the test gateway does not return an error. Instead, all payment transactions processed against our test gateway return success. A suggested approach is to use "4111111111111111", which is obviously not a real credit card number but is easily recognizable for test purposes.
Other gateways typically support your test with the credit card numbers specified in their official setup documentation or developer guides. The gateway returns success but does not incur any real charges.