How do I carry out a test payment?


Testing payments through Nochex is an important process to check that everything has been integrated correctly. It also gives you a chance to see exactly what a customer would see when purchasing an item from your website. No money is transferred when the payments page is in test mode.

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 you can 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

Note: Always remember to remove the test values, when you want to accept live payments otherwise no real payments can be made.

For more details, please read our integration guide here.

Last Updated 4 years ago