How do I carry out a test payment?
Testing the checkout process and payments through Nochex is an important process to ensure your integration is working before allowing your customers access to reduce the possibility of customers encountering issues and a view of your customer journey to ensure everything is working correctly.
No money is transferred when your payments page or integration is in test mode.
Payment Page
To enable test mode you need to add the following extra parameters to the post made to the payments page:
- test_transaction=100
- test_success_url=http://yourdomain.com/successurl.html
Or add it to a payment link by adding:
- &test_transaction=100&test_success_url=http://yourdomain.com/successurl.html to the end of the URL.
For example:
https://secure.nochex.com/default.aspx&merchant_id=YourNochexEmail
&amount=1.23&test_success_url=http://yourdomain.com/successurl.html&test_transaction=100
Nochex Widget
To perform a test transaction on the Nochex widget you need to include the following extra parameter to your ncx-config script
ncxField-test_transaction="true"
Note: Always remember to disable test mode, and test values when you are ready to accept payments!