WP eStore (WordPress module) integration
A powerful WordPress shopping cart plugin to sell any type of tangible or intangible products from your own WordPress site.
How to integrate PostAffiliatePro with WP eStore (WordPress module)
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');
</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 .
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:
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 .
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, "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.
What is WP eStore?
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.
Key Features of WP eStore
- Secure Digital Delivery with WP eStore: Protect your digital products using encrypted links, ensuring only paying customers have access.
- Payment Gateway Compatibility in WP eStore: Accept payments through various gateways, including PayPal and Authorize.net.
- Plugins and Add-ons for WP eStore: Expand functionality with a robust set of plugins and add-ons, including support for Amazon S3 and affiliate programs.
- Customization Options in WP eStore: Utilize shortcodes to customize product displays and checkout processes to match your brand’s aesthetic.
- Marketing and Sales Tools in WP eStore: Boost sales through discount codes and integrate autoresponders for effective email marketing campaigns.
Pricing Options for WP eStore
WP eStore offers flexible pricing to suit different needs:
- Single Multi-Site License: Priced at $49.95, this option includes lifetime updates and access to all add-ons.
- Bundle Offer with WP Affiliate Platform: For $79.95, users can get WP eStore bundled with the WP Affiliate Platform, providing a comprehensive solution for managing affiliate marketing alongside the e-commerce store.
User Insights on WP eStore
- Pros of WP eStore: Users appreciate the comprehensive feature set, multiple payment options, and extensive integration capabilities that WP eStore provides.
- Cons to Consider: Some users find the setup process complex, especially if they are not technically inclined. There are mixed reviews regarding the responsiveness of customer support.
- Overall Experience with WP eStore: Generally positive for users with technical knowledge, offering flexibility and robust integration options for multi-site usage.
WP eStore Video Reviews
- Comprehensive WP eStore Plugin Review: WP eStore Plugin Review – Vimeo provides an in-depth look at the plugin’s features and benefits.
- Setup and Overview Guide for WP eStore: WordPress eStore Plugin – Setup and Overview offers a step-by-step guide to setting up WP eStore and exploring its functionalities.
Alternatives to WP eStore
If WP eStore doesn’t fully meet your needs, consider these alternative e-commerce solutions:
- WooCommerce: WooCommerce Website – Offers extensive customization options and has a large community for support.
- Easy Digital Downloads: Easy Digital Downloads Website – Optimized specifically for selling digital products with ease.
- Shopify Buy Button: Shopify Buy Button – Integrate Shopify’s powerful features directly into your WordPress site.
- BigCommerce for WordPress: BigCommerce for WordPress – Ideal for large-scale enterprises seeking scalability.
- WP EasyCart: WP EasyCart Website – A budget-friendly option offering a wide range of features.
Premise (WordPress membership module)
Discover how to seamlessly integrate Premise, a WordPress membership module, with Post Affiliate Pro using an easy plugin installation. Boost your membership site and landing pages with efficient click tracking and comprehensive affiliate management. Download and activate the plugin to enhance your WordPress functionality today!
OptimizePress / OptimizeMember (WordPress module)
Discover seamless integration of OptimizePress and OptimizeMember with PayPal in WordPress using Post Affiliate Pro. Create high-converting landing pages and membership portals with ease. Enjoy exceptional support and user-friendly affiliate management. Start your free trial today!