–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

WP eStore (WordPress module)

A powerful WordPress shopping cart plugin to sell any type of tangible or intangible products from your own WordPress site.

WP eStore is a Simple Shopping Cart Plugin to sell digital (ebook, mp3, photos) and non digital products from your wordpress blog through PayPal or some other payment gateways. The digital goods are automatically delivered to the buyer after purchase using encrypted and time limited download links.

Integration with PayPal

Login to your FTP and navigate to your wordpress directory:

wp-content/plugins/wp-cart-for-digital-products/lib/gateway/ and edit file PaymentGateway.php

Find function submitPayment2() and replace whole foreach block with this code instead:

foreach ($this->fields as $name => $value) {
  $id = '';
  if ($name == 'notify_url') $id='id="pap_ab78y5t4a"';
  echo "<input type="hidden" name="$name" value="$value" $id/>";
echo '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">';
echo "PostAffTracker.setAccountId('Account_ID');";
echo "PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a','', 'pap_custom');

That’s it. Save your work and check if the paypal buttons (forms) in your page contain the id=”pap_x2s6df8d” string in the notify_url field. If they do, then continue with step 3 .

If the id=”pap_x2s6df8d” can’t be found in the notify_url field, then continue with step 2 .

Integration with PayPal – alternative solution

If the instructions in step no. 1 did not work out for you, then most probably you will have to modify the following file:


and in that file you will have to locate the




function and in that function replace

$urls .= '<input type="hidden" name="notify_url" value="'.$notify.'" />';

with this:

$urls .= '<input id="pap_ab78y5t4a" type="hidden" name="notify_url" value="'.$notify.'" />';

and then into the footer.php file of your WP theme add the following code:

<!--PAP Integration starts here-->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a', '', 'pap_custom');
<!--PAP Integration ends here-->

Now check the code of the paypal button (form) in your page and if the notify_url field contains the id=”pap_ab78y5t4a” string then continue to step no. 3 .

Integration with PayPal

Final step to integrate your WPeStore with PayPal is to set IPN redirection URL. All the data will be re-sent to your Post Affiliate Pro. Find and edit file wp-content/plugins/wp-cart-for-digital-products/paypal.php and then find function _validateipn().

Insert the following code there:

/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
/* /Post Affiliate Pro integration snippet */

That’s it. Save your work and your paypal is integrated now. Do not forget to enable paypal plugin in your Post Affiliate Pro.

Do not forget to integrate your WordPress with the click tracking code – you can e.g. place it to your global footer file.

Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the eShop (WP module) integration for Post Affiliate Pro.

eShop (WordPress module)

Would you like to improve your affiliate software even more? Check out the eShop (WP module) integration for Post Affiliate Pro.

Would you like to improve your affiliate software even more? Check out the Simple Paypal Shopping cart (WP module) integration for Post Affiliate Pro.

Simple Paypal Shopping cart (Word Press module)

The article discusses the integration of the Simple PayPal Shopping Cart plugin with the Post Affiliate Pro platform, allowing users to sell products and services directly from their WordPress site. The article includes instructions for editing code and configuring settings for the integration. Related resources and a free account offer are also mentioned.

Would you like to improve your affiliate software even more? Check out the WordPress ecommerce plugin for Post Affiliate Pro.

WordPress ecommerce Plugin

The article discusses various integrations available with the PostAffiliate Pro software. It also provides instructions on how to integrate the software with WordPress ecommerce plugin and track per product information. The article also includes code snippets and variables that can be used for tracking commissions per product. Additionally, the article mentions the availability of a free trial and highlights the software's high rating among users.

Would you like to improve your affiliate software even more? Check out the BusinessDirectory (WordPress module) for Post Affiliate Pro.

BusinessDirectory (WordPress module)

The text is about PostAffiliate Pro, a WordPress plugin for business directories and its integration with PayPal for payment processing. It also lists other integrations, features, and support provided by the company. There are sales contact numbers and a list of resellers, as well as a disclaimer about privacy and GDPR policies.

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.


Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call