Skip to main content

Payment Forms

Setup Instructions

  1. Firstly, make sure you have downloaded the "payment_form" text file located here.

  2. Go to, and Open the downloaded text file "payment_form.txt" in a text editor such as Notepad or something similar.

  3. Search the file and locate the following line: "[Enter your Nochex Merchant ID]".

<input name="merchant_id" value="[Enter your Nochex Merchant ID]" type="hidden" />
  1. Replace: "[Enter your Nochex Merchant ID]" with your Nochex Merchant ID for example: "myemail@mywebsite.com" or "test123".
<input name="merchant_id" value="test123" type="hidden" />
  1. Save your payment form as an html document.

  2. Open your payment_form.html page in a web browser, and test that everything is working correctly.

Form example

  1. Once you are happy the payment form is working, you can add it to your website design.

    1. Firstly, make a copy of one of your website pages on your website already.

    Example Page

    1. Next open the copied page in a text editor, and remove all the text / graphics in the main content of the page.

    Blank Example Page

    1. Once you have cleared some space for your payment form, go to your payment_form.html page in your text editor and copy the entire contents.

    Form HTML

    1. Next go to your website page, and the section you have made space for the payment form and paste the form into the page.

    Form in page HTML

    1. Save changes

    2. Go to your updated website page to check your payment form has been added, and everything is working correctly.

    Form on Page Example

    1. Once you are happy that everything is working correctly, the page needs to be uploaded to your website using FTP or a file manager, if you do not have access to your server to add custom pages ask your web developer to do this.

Extra Functionality

Your newly uploaded payment page contains some additional functionality; you can customise the URL for individual customers. For example: once you have uploaded your page and have the following URL: http://mywebsite.com/payment_form.html you can add certain parameters after the URL for individual merchants. For example: http://mywebsite.com/payment_form.html?order_id=123&amount=10.00&description=TransactionExample

Form example

So the Invoice ID/Ref, amount and description fields on your payment form would be prefilled. This is useful if you are sending a payment link through an email, and you want the page setup for the customer without them having to type anything.

Extra Fields

If you would like to add additional fields for the customer to complete, we have a full list in our integration guide.