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 or Nochex Widget is in test mode.
It is not possible to use test mode for recurring or subscription payments.
Always remember to remove the test values, when you want to accept live payments otherwise no real payments can be made.
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 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.
Nochex Widget
To enable test mode you need to add the following parameter to the configuration script
ncxField-test_transaction="true"
such as;
<form id="nochexForm" class="ncx-form" name="nochexForm">
<script id="ncx-config"
ncxField-api_key="nvk############################"
ncxField-merchant_id="primary@email.co.uk"
ncxField-amount="1.99"
ncxField-test_transaction="true"
ncxField-use_apc="true">
</script>
</form>
Please raise a support ticket containing details of the problem, error messages / logs, and print screens (If applicable).