PayPal Express Checkout (IPN used by other script) integration
The faster, safer way to send money, make an online payment, receive money or set up a merchant account.
PayPal Express Checkout integrates using IPN callback even if the callback is used by other system (e.g. shopping cart).
Note! This is description of integration with PayPal Express Checkout if you use PayPal buttons on your web pages. If you use PayPal as a processing system in your shopping cart, use the method for integrating with shopping cart,not these steps.
PayPal button
Now add the following code into EVERY PayPal button form:
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
This will ensure that referrer will be stored to the custom field.
Example
Example of updated PayPal form:
<!-- Begin PayPal Button -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypalemail@yoursite.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_number" value="Product Name">
<input type="hidden" name="amount" value="19.95">
<input type="hidden" name="image_url" value="https://yoursite.com/images/paypaltitle.gif">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.yoursite.com/paypalthanks.html">
<input type="hidden" name="cancel_return" value="http://www.yoursite.com">
<input type="hidden" name="custom" value="" id="pap_dx8vc2s5">
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript"></script>
<input type="image" src="http://images.paypal.com/images/x-click-but5.gif" border="0" name="submit">
</form>
<!-- End PayPal Button -->
Integration 2
Now the IPN callback is pointed to your script. This callback has to be forwarded also to PAP paypal.php script, which url is https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php.
In case, your paypal 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/PayPal/paypal.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, PayPal Express Checkout will use its IPN function to call our sale tracking script, and system will generate commission for the affiliate.
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!
Google Checkout (custom field used for other data)
Easily integrate Google Checkout with Post Affiliate Pro to track sales effectively. Set up your merchant account, configure the plugin, and add tracking codes to your cart and buy now buttons. Ensure your domain is whitelisted for seamless tracking. Start optimizing your payment solutions today with our expert guidance.
PayPal (IPN used by other script)
Integrate PayPal with Post Affiliate Pro using IPN callback for seamless payment processing and sale tracking. Enhance your PayPal button forms to generate affiliate commissions effortlessly. Visit now to learn how!
PremiumWebCart IPN integration
Discover seamless PremiumWebCart IPN integration with Post Affiliate Pro, enabling efficient transaction tracking and customer detail management. Create custom product links, set up IPN URLs, and enable plugins effortlessly. Optimize your affiliate marketing strategy today with our user-friendly guide and exceptional support. Start your free trial now!
Integrate PayPal seamlessly with Post Affiliate Pro using IPN callback to track sales and generate commissions for affiliates. Follow our simple steps to set up the PayPal IPN handling plugin and ensure your transactions are efficiently managed. Discover the benefits of streamlined affiliate management with Post Affiliate Pro today!
Discover seamless payment processing with Paymate Express on Post Affiliate Pro. Perfect for online, eBay, and mobile payments with secure ecommerce facilities. Easily configure custom value separators and integrate with your existing scripts. Trusted by the best with a 4.8/5 rating. Visit now to streamline your payment solutions!