Nochex integration
This is an integration method with Nochex, the online payment service.
Modify your button forms
To start with the integration, you have to modify your button form code. You only need to add this line:
<input type="hidden" name="success_url" value="http://yourwebsite.com/success.php>
If you already use this, do not create a duplicate line. This is an example form:
<form method='POST' action='https://secure.nochex.com/'>
<input type="hidden" name="merchant_id" value="yournochexemail">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="description" value="Product 1">
<input type="hidden" name="billing_fullname" value="Test">
<input type="hidden" name="billing_address" value="Test Street, Test, TE55ST, UK">
<input type="hidden" name="email_address_sender" value="test@nochex.com">
<input type="hidden" name="order_id" value="7357">
<input type="hidden" name="cancel_url" value="http://yourwebsite.com/cancel.html">
<input type="hidden" name="callback_url" value="http://yourwebsite.com/callback.php">
<input type="hidden" name="success_url" value="http://yourwebite.com/success.php>
<input type="submit" name="submit">
</form>
Now, let’s move to success.html.
The ‘Thank you’ page
To track the transaction, you need to modify your success.php or create it to start registering commissions there. The code you need to have in the file is this:
<?php
$queryString = $_SERVER['QUERY_STRING'];
parse_str($queryString);
?>
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php echo $amount; ?>');
sale.setOrderID('<?php echo $ordernumber; ?>');
sale.setProductID('<?php echo $description; ?>');
PostAffTracker.register();
</script>
Please, insert the code to the HTML body only, not into the header or behind the whole page code.
Explore seamless integrations with Post Affiliate Pro to enhance your affiliate marketing strategies. Discover solutions for e-commerce, email marketing, payments, and more, with easy integrations for platforms like 1&1 E-Shop, 2Checkout, Abicart, and many others. Optimize your affiliate network with these powerful tools.
Integrate Cleeng with Post Affiliate Pro to enhance your subscriber platform with modular architecture. Easily add tracking IDs to Cleeng Checkout, utilize webhooks for seamless payment tracking, and set up recurring commissions. Visit to discover the business benefits and schedule a personalized call today!
Effortlessly integrate your e-commerce site with Post Affiliate Pro and boost your affiliate program's success. Our expert team ensures seamless integration with your payment processor, handling technical issues along the way. Enjoy a free trial and free integration service, saving you time and maximizing your ROI. Join now and experience top-notch affiliate management with over 500 integration options.