
Simple Paypal Shopping cart (Word Press module)
Would you like to improve your affiliate software even more? Check out the Simple Paypal Shopping cart integration for Post Affiliate Pro.
WP eStore is a robust WordPress shopping cart plugin for selling digital and non-digital products. It integrates seamlessly with PayPal and Post Affiliate Pro, offering easy setup and automatic delivery via secure download links.
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.
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');
</script>";
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 .
If the instructions in step no. 1 did not work out for you, then most probably you will have to modify the following file:
wp-content/plugins/wp-cart-for-digital-products/eStore_misc_functions.php
and in that file you will have to locate the
print_eStore_buy_now_button($id,$button='',$nggImage='')
and/or
print_eStore_subscribe_button_form($id)
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');
</script>;
<!--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 .
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](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!") integration snippet */
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
"https://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 */
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.
WP eStore is a powerful WordPress plugin designed to streamline the process of selling products online, particularly digital goods. Seamlessly integrating with PayPal’s shopping cart system, it enables website owners to effectively sell both digital and physical products. WP eStore offers features like secure digital delivery, customizable purchase buttons, and extensive platform integrations, enhancing the e-commerce capabilities of WordPress sites.
First developed in the early 2000s, WP eStore has continually evolved to meet the changing needs of the e-commerce landscape. Now in its eighth version, the plugin has seen significant enhancements, such as improved digital delivery mechanisms, affiliate marketing integration, multiple checkout options, and heightened security features. This evolution reflects the developers’ commitment to incorporating user feedback and ensuring that WP eStore remains relevant in modern e-commerce settings.
WP eStore targets digital marketers, content creators, and small businesses seeking secure and automated methods to sell digital goods online. Users benefit from features like secure delivery of products, automation of sales processes, cost savings due to the absence of ongoing fees, and the flexibility to integrate the plugin across multiple websites.
WP eStore offers flexible pricing to suit different needs:
If WP eStore doesn’t fully meet your needs, consider these alternative e-commerce solutions:
WP eStore is a WordPress plugin designed for selling both digital and physical products online. It offers secure digital delivery, customizable purchase buttons, and seamless integration with PayPal and affiliate platforms.
You can integrate WP eStore with Post Affiliate Pro by editing specific PHP files in your plugin directory, inserting the required tracking code, and configuring PayPal integration as detailed in the integration guide.
WP eStore supports various payment gateways, including PayPal and Authorize.net, allowing you to accept payments securely for digital and non-digital products.
Yes. Alternatives include WooCommerce, Easy Digital Downloads, Shopify Buy Button, BigCommerce for WordPress, and WP EasyCart, each offering different e-commerce features for WordPress users.
Integration enables automated affiliate tracking, secure product delivery, multiple payment options, and enhanced e-commerce and marketing capabilities on your WordPress site.
Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.
Connect WP eStore with Post Affiliate Pro to automate affiliate tracking, streamline sales, and maximize your online revenue.
Would you like to improve your affiliate software even more? Check out the Simple Paypal Shopping cart integration for Post Affiliate Pro.
Learn how to integrate the eShop (WordPress module) with Post Affiliate Pro to streamline your WordPress e-commerce affiliate management using PayPal. Get step-...
Would you like to improve your affiliate software even more? Check out the WordPress ecommerce plugin for Post Affiliate Pro.