PayPal (IPN used by other script)
Would you like to improve your affiliate software even more? Check out the PayPal (IPN used by other script) integration for Post Affiliate Pro.
Integrate PayPal with Post Affiliate Pro via IPN callback by enabling the PayPal IPN handling plugin. Add specific code to PayPal button forms to notify sale tracking scripts of transactions, generating affiliate commissions.
The faster, safer way to send money, make an online payment, receive money or set up a merchant account.
PayPal integrates using IPN callback.
Note! This is a description of integration with PayPal buttons used on your website. If you use PayPal as a payment processing system in your shopping cart, use the method for integrating with the specific shopping cart, not these steps.
Also, make sure you don’t already use PayPal IPN for another purpose, such as some kind of a digital delivery or membership registration.
To integrate with PayPal, you have to turn on the PayPal IPN handling plugin in the merchant panel of Post Affiliate Pro (Network) in the ‘Plugins’ section. Then follow the steps below.
Now add the following code into EVERY PayPal button form:
<input type="hidden" name="notify_url" value="https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php">
<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 tell PayPal that it should silently call https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php
script upon every sale, and it will pass all sale variables including the custom field to this script.
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="notify_url" value="https://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php">
<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 -->
In notify_url
is possible to use additional parameters
: data1-data5, coupon code, channel Id, in this case notify_url will look so:
http://www.yoursite.com/[affiliate](https://www.postaffiliatepro.com/ "Post Affiliate Pro offers a comprehensive affiliate software platform to manage multiple affiliate programs with ease. Enjoy no setup fees, 24/7 customer support, and a free 1-month trial. Ideal for small and large businesses, it features precise tracking, automated workflows, and customizable tools to boost your affiliate marketing success. Try it now and streamline your affiliate operations effortlessly!")/plugins/PayPal/paypal.php?data1=value1data2=value2data3=value3data4=value4data5=value5coupon_code=coupon1channelId=mychannel
Notice, that if recurring commission is created, into data1 field will be inserted transactionId
.
This is all that is required. Now whenever there’s sale, PayPal will use its IPN notification
to inform our sale tracking script about new transaction, and system will generate commission for the affiliate.
Note: If you have more buttons at one page, you should use only the custom field code in each button. The script tag should be inserted only once per page.It even doesn’t need to be in the button form, it can be somewhere in the body of the page. (click tracking is per page (have to be above all buttons), “custom” field is per button, “notify_url” is per button too … PAP script calling notifysale.php is per page – have to be below all buttons)
If you use just simple PayPal links like:
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MWU1Y4K24N3HY">Click here to order</a>
Then you have to skip the above given steps and do the integration the following way:
into each link add: id=”paypallink”
so the link would look like this:
<a id="paypallink" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MWU1Y4K24N3HY">Click here to order</a>
under the JavaScript version of click tracking code that is supposed to be in the footer of your page right above the tag add the following code:
<!-- Post Affiliate Pro Integration snippet -->
<script>
PostAffTracker.writeCookieToLink('paypallink', 'custom');
</script>
<!-- /Post Affiliate Pro Integration snippet -->
NOTE: The PayPal links must be in your page somewhere above the line.
There is one last step behind and that is to set your PayPal’s Notification URL to point to the PayPal Ipn Handling plugin of Post Affiliate Pro (Network).
So, log in to your PayPal account, navigate to Profile > Selling Preferences > Instant Payment Notification Preference, click ‘Edit settings‘, enable the IPN messages by selecting ‘Recieve IPN messages (Enabled)‘ and set the Notification URL to:
http://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php
That’s it.
PayPal is an online payment platform that enables users to send and receive money electronically across the globe. By linking their credit cards, debit cards, or bank accounts to a single PayPal account, users can enjoy streamlined transactions for online and in-store purchases. PayPal offers a secure and convenient way to manage financial activities, including making payments, earning cashback rewards, and utilizing flexible payment options like the PayPal Debit Card and “Pay Later” alternatives.
Founded in 1998 as Confinity, PayPal underwent a significant transformation when it merged with X.com, a company established by Elon Musk, in 2000. This merger led to the rebranding of the combined entity as PayPal. In 2002, PayPal was acquired by eBay, which greatly expanded its global reach. Since becoming an independent company again in 2015, PayPal has grown through key acquisitions like Venmo and has ventured into the cryptocurrency market. Under the leadership of CEO Alex Chriss, PayPal continues to drive innovation in the digital payment industry.
PayPal serves both individual users and businesses by providing a versatile platform for financial transactions. For individuals, PayPal offers a convenient and secure method for sending and receiving money worldwide, as well as for online shopping. Businesses benefit from comprehensive solutions that include recurring payments, integrations with various platforms, and efficient transaction management tools. Operating in over 200 countries with support for multiple currencies, PayPal focuses on facilitating secure and efficient transactions for a diverse global audience.
PayPal boasts a range of features designed to enhance user experience and security:
PayPal’s pricing structure varies depending on the type of transaction:
PayPal’s pricing is designed to be competitive and flexible, catering to a wide range of customer transactions.
In 2023, user reviews of PayPal present a mix of positive and negative feedback:
These insights highlight areas where PayPal could improve its services, particularly in customer support and transparency.
Several YouTube content creators have reviewed PayPal’s services in 2023, offering additional perspectives:
These reviews can be valuable resources for individuals considering using PayPal or seeking to learn more about its current standing.
For those exploring other payment platforms, several alternatives offer varied functionalities to meet specific needs:
These platforms might offer advantages such as lower transaction fees, enhanced international trading tools, or better customer relationship management (CRM) capabilities, depending on individual or business requirements.
PayPal is an online payment platform enabling users and businesses to send, receive, and manage money electronically worldwide. It offers secure transactions, purchase protection, reward programs, and flexible payment options.
Enable the PayPal IPN handling plugin in your Post Affiliate Pro merchant panel, then add IPN callback code to each PayPal button form or link. This allows automatic sales tracking and affiliate commission generation.
PayPal offers advanced financial security, global reach, fast checkout, purchase protection, rewards and cashback, package tracking, and flexible payment options including debit cards and 'Pay Later' services.
For domestic transactions, PayPal charges 3.49% plus a fixed fee; international transactions include an extra 1.50%. Special rates are available for charities and micropayments.
Yes, popular alternatives include Square, Stripe, Payment Depot, Helcim, Stax, Flagship Merchant Services, National Processing, Clover, Payoneer, and Venmo.
Pros include strong transaction security and refund protection. Cons involve customer service responsiveness, dispute resolution processes, account limitations, and fee transparency.
Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.
Streamline your affiliate sales tracking and payouts by connecting PayPal to Post Affiliate Pro in just a few steps.
Would you like to improve your affiliate software even more? Check out the PayPal (IPN used by other script) integration for Post Affiliate Pro.
Would you like to improve your affiliate software even more? Check out the PayPal Express Checkout (IPN used by other script) for Post Affiliate Pro.
Would you like to improve your affiliate software even more? Check out the PayPal (IPN and custom field used by other scripts) integration.