Nochex integration
Questo è il metodo di integrazione con Nochex, il servizio di pagamento online.
Modifica i moduli dei pulsanti
Per iniziare l’integrazione, devi modificare il codice del tuo modulo dei pulsanti. Devi solamente aggiungere questa linea:
<input type="hidden" name="success_url" value="http://yourwebsite.com/success.php>
Se la utilizzi già, non creare una linea duplicata. Questo è un modulo di esempio:
<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/chiamataback.php">
<input type="hidden" name="success_url" value="http://yourwebite.com/success.php>
<input type="submit" name="submit">
</form>
Ora, passiamo a success.html.
La pagina di ‘Ringraziamento’
Per tracciare la transazione, devi modificare il tuo success.php o crearlo per iniziare a registrare le commissioni lì. Il codice che devi avere nel file è questo:
<?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>
Per favore, inserisci il codice solo nel body HTML, non nell’intestazione o dietro il codice dell’intera pagina.
How to integrate Post Affiliate Pro (Network) with 3rd party affiliate systems?
Learn how to integrate Post Affiliate Pro with 3rd-party affiliate systems. Follow our step-by-step guide to streamline your affiliate tracking!
Wordpress Plugin For Post Affiliate Pro
Enhance your WordPress site with the Post Affiliate Pro plugin for seamless affiliate management. Discover tips and tricks now!
How can I Become an Affiliate for Post Affiliate Pro tracking software?
Join the Post Affiliate Pro affiliate program! Sign up now to earn commissions by promoting top tracking software. Start today!
How can I verify if my page is correctly integrated with Post Affiliate tracking codes ?
Easily verify your Post Affiliate Pro tracking code integration with simple steps and troubleshooting tips. Ensure accurate affiliate tracking!
Can merchants and affiliates send messages to each other?
Yes, merchants and affiliates can email each other in Post Affiliate Pro & Network. Learn about your communication options here!