–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

Example:
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.

  • Integrations
  • Simple Paypal Shopping cart (Word Press module)

Simple Paypal Shopping cart (Word Press module)

A very easy to use and lightweight WordPress plugin that allows you to sell products or services online in one click from your WordPress blog.

WordPress Simple Paypal Shopping Cart allows you to add an ‘Add to Cart‘ button for your product on any posts or pages. This simple shopping cart plugin lets you sell products and services directly from your own wordpress site and turns your WP blog into an ecommerce site.

The integration is possible by direct integration of the PayPal gateway within the module. You are able to track the same as you can with standard PayPal integration.

Button integration

The first step is to edit file:

wp-content/plugins/wordpress-simple-paypal-shopping-cart/includes/wspsc-cart-functions.php

where the shopping cart button is generated. Find this line:

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

and replace it with this code:

// $urls .= '<input type="hidden" name="notify_url" value="' . $notify . '"/>';
$urls .= '<input type="hidden" name="notify_url" value="' . $notify . '" id="pap_ab78y5t4a" />'; // Post Affiliate Pro integration snippet

Now find line:

return $output;

and add the following code above the line:

/* Post Affiliate Pro integration snippet */
  $output .= '<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
  <script type="text/javascript">'."
  PostAffTracker.writeCookieToCustomField('pap_ab78y5t4a', '', 'pap_custom');
  </script>";
/* /Post Affiliate Pro integration snippet */

That’s it, save your work.

Resend the PayPal notification to your Post Affiliate Pro

The last step is to edit file:

wp-content/plugins/wordpress-simple-paypal-shopping-cart/paypal.php

where IPN notification is being processed. Find this line:

function wpc_handle_paypal_ipn()

and add the following code to the function start:

/* Post Affiliate Pro integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://URL_TO_PostAffiliatePro/plugins/PayPal/paypal.php?pap_custom='.$_GET['pap_custom']);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
curl_exec($ch);
/* /Post Affiliate Pro integration snippet */

Save your work and you are done. Make sure the PayPal plugin is active and configured in your Post Affiliate Pro. From now, it will track all the paypal payments.

Do not forget to integrate your site with the click tracking code to make it all working.

Back to Integrations Create account for FREE
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.

Would you like to improve your affiliate software even more? Check out the PaySimple integration for Post Affiliate Pro.

PaySimple

The article discusses the integration with PaySimple, a provider of small business merchant accounts and payment processing services. It explains the steps required to integrate PaySimple into an existing payment form, including creating a return page URL with tracking code and integrating click tracking. The article also lists related resources for integrating other payment services with Post Affiliate Pro.

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

Shopp (WordPress shopping cart module)

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

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

WP eStore (WordPress module)

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

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