WorldPay (IPN used by other script) integration
A leading global payments provider for companies of all sizes.
WorldPay integration is similar to PayPal, it also uses WorldPay callback.
Note! This is description of integration with WorldPay if you use WorldPay buttons on your web pages. If you use WorldPay as a processing system in your shopping cart, use the method for integrating with shopping cart, not these steps.
Since version 4.2.5.0 integration with WorldPay works also with FuturePay recurring commissions.
Add code
Now add the following code into EVERY WorldPay button form:
<input type="hidden" name="M_aid" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
This will assign cookie value into M_aid and this value will be sent to PAP for processing.
Example
Example of updated WorldPay form:
<form action="http://www.worldpay.com....>
...
<input type="hidden" name="M_aid" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript"?
</script>
...
</form>
Integration 2
Now the IPN callback is pointed to your script. This callback has to be forwarded also to PAP worldpay.php script, which url is https://URL_TO_PostAffiliatePro/plugins/WorldPay/worldpay.php.
In case, your worldpay processing script is in PHP, you can use following code to accomplish that. You can place it at the beginning of your processing file:
/* PAP integration */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://URL_TO_PostAffiliatePro/plugins/WorldPay/worldpay.php");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* end of PAP integration */
This will ensure that whole IPN callback will be forwarded without affecting your original script
This is all that is required. Now whenever there’s sale, WorldPay will use its callback function to call our sale tracking script, and system will generate commission for the affiliate.

PayPal Express Checkout (IPN and custom field used by other script)
Discover seamless PayPal Express Checkout integration with Post Affiliate Pro, featuring IPN callbacks and custom field handling for efficient affiliate tracking. Enhance your e-commerce operations with detailed setup instructions and maximize your business potential today.
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.
PayPal (IPN and custom field used by other script)
Effortlessly integrate PayPal with Post Affiliate Pro using IPN and custom fields. Our step-by-step guide ensures seamless transaction tracking and affiliate commission generation. Enhance your affiliate management with our user-friendly software and 24/7 support. Start your free trial today!
PayPal Express Checkout (IPN used by other script)
Integrate PayPal Express Checkout with Post Affiliate Pro using IPN callbacks to track sales seamlessly. Enhance your affiliate program by generating commissions and building a comprehensive dashboard. Try it for free and experience fast, secure online payments!