37

WooCommerce Integration

DAP v4.7 has full-fledged and seamless integration with WooCommerce.

Watch this video for more details:

Minimum Requirements

1) You need to be on DAP 4.7 or above

2) Download, install and activate the free WooCommerce plugin from WooThemes.com.

3) If you wish to sell recurring subscriptions via WooCommerce, then you’ll need to purchase their “WooCommerce Subscriptions” extension which is a paid extension, and starts at $149 for a single site license (please check their site for latest pricing details).

Why should i use WooCommerce?

If you are selling primarily digital products, then you probably won’t need WooCommerce. The DAP Shopping Cart (it’s FREE with your DAP purchase) itself is very powerful, supports a wide range of payment processors, and also supports 1-Click Upsells, Member’s-area Upsells (DAP Pay) and Coupons.

However, if you are selling physical products, need an eCommerce store and store front, WordPress themes that come integrated with a store, need physical-product features like color, quantity, state and sales taxes, quantity discounts, VAT, size, etc – then WooCommerce is the answer!

1-Step Integration

Integrating DAP and WooCommerce couldn’t be simpler.  Just 1 simple step.

Step 1: Make sure Product Names match between DAP and WooCommerce.

If you are integrating subscription products with WC, make sure to read the last section in this article about ‘Subscription Product Integration’.

That’s it!

One-Off and Subscription/Recurring Product Integration

1 . Pick Any Payment Processor that WC supports

You can pick ANY payment processor of your choice and integrate it directly with WC (Ofcourse you can only pick a payment processor that WC supports).

No matter what type of payment processor you choose to use with WooCommerce, DAP can handle automatic membership account creation for all of your WooCommerce buyers.

2. Physical products, one-time or subscription products

You can  sell – physical products, one-time or subscriptions using WC, and as long as you have same name product in DAP (and in the same domain), DAP will automatically create a membership account.

3.  AddToCart or BuyNow Button

Your users can purchase 1 item or add multiple items to the cart and purchase them together – even if they’re different types of products – like 2 one-time products and 1 subscription product. DAP has a built-in hook into WooCommerce, and can instantly create user accounts and give access to all of the products that the user has just purchased.

Automated Cancellations & Refunds

DAP supports automated cancellations and refunds with WooCommerce. When you process a refund or subscription cancellation in WooCommerce, then their access in DAP is also automatically revoked.

Make sure that on the DAP Products page, under the “Cancellation & Expiration” tab, you specify exactly what should happen when a user cancels their subscription.

Possible choices are: “No Action“, “Remove From Product” and “Set End Day To Previous Day“.

IMPORTANT:  Subscription Product Integration

WooCommerce does not send notification upon each subscription payment. Even if they do, their documentation is lacking in this area and their support responds with the standard – ‘we do not answer API questions’.  Not helpful at all :(.

But we always find a way to integrate third party systems with DAP if there is a demand from our users for the integration.

Here’s the workaround.

Typically if it’s a subscription product, you need to define the product as a recurring product in DAP and set the subscription/recurring cycle in DAP. This way, upon the first payment, the users get access to just the 1st subscription cycle. Say it’s a 30 day cycle, then the users receive only 30 day access to product. After the 30 day period, if the next subscription payment goes through successfully, DAP will receive the payment notification and then automatically extend user’s access to product.  DAP uses pay-as-you-go-model for subscription products.

But because DAP does not receive the subscription notification from WC, if you want to give users automatic access to subscription product in DAP, set up the product as a one-time product in DAP Products Page => Pricing tab.

Set the ”membership duration” to 9999 days. 

recurring

This way the users will receive full access (instead of monthly access) right after the first payment.

The users will still be charged the subscription amount every recurring cycle automatically by WC, so it won’t matter that in DAP the product is setup as a non-recurring/ one-time product.

You can control actual content access using ‘content dripping’. This way even though the users have full access to product, they cannot access the actual content under the product until their membership life matches the drip timer. 

For e.g. if content is set to drip day 32, then they cannot fast forward and access it on day 1 of membership. They will have to wait until day 32 of their membership to the product to be eligible for that content.

If they cancel or request refund, DAP will automatically remove their access to product.  Make sure to read the section in this article on ‘automated cancellations & refunds’.

Testing

DAP can ONLY process ORDERS that are marked as ‘complete’ in WooCommerce.

DAP cannot process ‘pending’ orders.

If it’s a physical product and status does not get marked as complete automatically, then DAP will process the order only when the status changes to ‘complete’.

For virtual / downloadable digital products, dap will process order right after successful payment (as long as the order gets marked as completed in WC).

After purchase via WC, you will notice that a membership account for the buyer will automatically get created in DAP Users=>Manage page as long as :

1) the product name in WC exactly matches a product name in DAP

2) order status in WC is marked as complete

3) you are on DAP 4.7+

 

Click Here to Leave a Comment Below 37 comments
João - October 23, 2014

Will it work if woocommerce is installed in a subdomain?

Like subdomain.mysite.com?

Thanks.

Reply
Veena Prashanth - October 23, 2014

No. WooCommerce, DAP & DAPLiveLinks plugin need to be on the same domain.

Thanks,
Veena

Reply
Thomas - November 8, 2014

Do DAP’s Affiliate Module work with WC and DAP ?

Thanks,
Thomas

Reply
Veena Prashanth - November 8, 2014

Hi Thomas,

Yes, you can use WC to sell, integrate it with DAP so all the users end up in DAP, and then use the DAP’s built-in affiliate module to award commissions for referrals.

Thanks,
Veena

Reply
Tanya Smith - November 14, 2014

This is awesome, Veena! I know how hard you’ve worked on the Woocommerce integration. Been too busy to test it out but I’m looking forward to really soon. Having DAP opens up so many doors for protection, affiliate management, shopping options, and overall store organization. Congrats. 🙂

Reply
Thomas - November 19, 2014

Hi Veena!
If a customer buys in WC, he has automatically access to DAP-protected pages ?
Or do I have to create an extra / second DAP login (=2 accounts for 1 customer) ?

(The DAP-Affiliate + WooCommerce products works great!)
Thanks,
Thomas

Reply
Veena Prashanth - November 19, 2014

>>This is awesome, Veena! I know how hard you’ve worked on the Woocommerce integration. Been too busy to test it out but I’m looking forward to really soon. Having DAP opens up so many doors for protection, affiliate management, shopping options, and overall store organization. Congrats. << Thanks Tanya :).

Reply
Veena Prashanth - November 19, 2014

Hi Thomas,

>>If a customer buys in WC, he has automatically access to DAP-protected pages ?
Or do I have to create an extra / second DAP login (=2 accounts for 1 customer) ?
(The DAP-Affiliate + WooCommerce products works great!) << Yes, if the pages are protected under a DAP product, and that DAP product has the SAME NAME as the WC product that you are selling, then when a user buys in WC, they will automatically get access to the DAP product and the protected content under it. Thanks, Veena

Reply
Thomas - November 25, 2014

Hi Veena,
Yes, my customers will automatically get an account to DAP when they shop on WooCommerce (completed) subscription. This works fine!

But when a customer logs into his WooCommerce account, he is not automatically logged into DAP (this DAP account has other credentials (USER + PASS) than WooCommerce).

Setup/Config:
Sync DAP User Data to WordPress: YES
Sync Paid Users Only to WordPress: YES
Sync Only if Username Exists in DAP: NO
Disable Syncing for Expired Users in DAP: YES

Setup/Product:
Will there be Recurring Payments?: NO
membership duration: 9999 days
Expiration Action: Remove From Product

Thanks
Thomas

Reply
Veena Prashanth - November 25, 2014

Hi Thomas,

Yes, this is an issue with WC subscriptions as they force users to pick a username/password before purchase. We will have to add reverse sync from WP=>DAP to match the credentials.

On our to-do list for DAP 4.7.

Please open a support ticket with us and we will try to implement a solution for this on your site.

Thanks,
Veena Prashanth

Reply
Thomas - November 26, 2014

Hi Veena,
“to-do list for DAP 4.7.” … that will be great!

I don’t know if it is possible … my ideal solution would be: If you are logging into WC you are automatically and immediately logged into DAP (without being necessary separately log into DAP).

I mean: Matching credentials are quite good, but without automatic login to DAP the customer would have an extra DAP login form again (= 2 login forms)?

I am looking forward … thank You Veena,
Thomas

Reply
Molly - November 30, 2014

Hi Veena :).

Couple of quick questions…

>>Yes, you can use WC to sell, integrate it with DAP so all the users end up in DAP, and then use the DAP’s built-in affiliate module to award commissions for referrals<>Yes, this is an issue with WC subscriptions as they force users to pick a username/password before purchase. We will have to add reverse sync from WP=>DAP to match the credentials. On our to-do list for DAP 4.7. Please open a support ticket with us and we will try to implement a solution for this on your site.<<

Do you have any idea when this might be ready? Were you able to implement it on this particular site successfully? I would love to be able to have this solution as well, if it's available.

Thanks! Hope you had a great Thanksgiving!

Reply
Molly - November 30, 2014

I’m not sure what happened with my last comment. Part of it is deleted. But my first question, regarding the affiliate situation was whether or not affiliates would be able to receive commissions on subscription products beyond the first payment. I’d imagine that since DAP doesn’t get payment confirmation after that first payment, the affiliate program cannot include recurring payments. But I want to make sure you don’t have a workaround for that…

Reply
Veena Prashanth - November 30, 2014

Molly,

Great question!

>> I’d imagine that since DAP doesn’t get payment confirmation after that first payment, the affiliate program cannot include recurring payments. << That's exactly right. Currently can't do 'recurring aff payments' using DAP affiliate module if you use WC to sell but we hope to resolve this situation soon. Don't know how soon yet as the solution is complex. Hopefully within 4-6 weeks. No workaround currently. Thanks, Veena

Reply
Molly - November 30, 2014

Thanks, Veena :). I am glad to know you’re working on it.

Regarding the issue that Thomas raised about WooCommerce and DAP requiring separate logins…any idea when that might be addressed? I’m just trying to plan my attack ;).

Thanks!

Reply
Veena Prashanth - November 30, 2014

Molly,
>>Regarding the issue that Thomas raised about WooCommerce and DAP requiring separate logins…any idea when that might be addressed? I’m just trying to plan my attack ;).<< Actually the Thomas issue is the one that will be fixed in 4-6 weeks. If it gets fixed earlier, we will include it in dap 4.7 before it becomes final. But no timeline yet on aff stuff because i just remembered that we have 'already' built the subscription hook between DAP and WC. But from our testing, WC was not really triggering calls to the hook and unfortunately they do not support any questions about their APIs/hooks. So this might be a limitation of the integration for now. Can't do recurring aff credits using WC and DAP. And i do not have a timeline for finding a fix for this issue currently. Thanks, Veena

Reply
Molly - November 30, 2014

Thanks, Veena. Personally the Thomas issue is more pressing for me, anyway. So I’m glad to hear that one’s on the fast track :). I’ll just have to find a way to be creative about the other. 🙂

Reply
James - December 1, 2014

Hi,
will the one-click upsell function work when purchasing a product through Woocommerce ?

The main reason is that i want to sell physical products and use the one-clik upsell function..

Reply
Veena Prashanth - December 6, 2014

>>will the one-click upsell function work when purchasing a product through Woocommerce ?

The main reason is that i want to sell physical products and use the one-clik upsell function..<< You can use the DAP built-in 1-click upsell feature only if you use the DAP shopping cart. If you want to offer 1-click upsells using WC, you will have to use WC to do that. Just make sure to create 'same name' product name in DAP for both primary product as well as upsell products. Thanks, Veena

Reply
Melissa Evans - December 8, 2014

Hi Veena –
I am implementing DAP and WooCommerce. The issue we are having is that we sell some products (virtual and physical) that will not require a DAP account. For instance, an ebook.

However DAP is trying to create an account even though there is no match. And the customer will receive an error email in this case.

Is there something missing in our settings?

Thank you.

Reply
Veena Prashanth - December 10, 2014

Hi Molly, Thomas,

The ‘reverse-sync’ issue between WP => DAP is now RESOLVED!

I just tested the new update on a customer site and it worked well for her.

So now if you create an account during WooCommerce checkout process, the account will get created in WP first, but it will be automatically sync’d to DAP. The user will have the same username/password in DAP and in WP. If they login to DAP, they will be auto-logged-in to WP.

We will release the fix tomorrow. It will be part of DAP 4.7.2 / LiveLinks 1.11.2.

Thanks,
Veena

Reply
Victoria - December 10, 2014

Brilliant job Veena, thank you! It works perfectly. I continue to be amazed at how smoothly the WP/DAP sync works.

Reply
Veena Prashanth - December 10, 2014

Hi Melissa,

In the next release of DAP, we will add a new configuration option that will allow you to turn off the ‘product not found’ notification email for non-dap products sold via WC or Paypal. Please note that this email ONLY gets sent to the administrators and NOT to the actual buyers/users. You can create an email filter to move these notification emails to a different folder for now.

Thanks,
Veena

Reply
Vic Dorfman - December 11, 2014

Hi Veena,

I’m already rocking this integration for one of my clients! 🙂

However, one major thing that we’d like to be able to do is to list a product and then allow the visitor to select ‘physical’ or ‘digital’ version and be able to notify DAP only in the case that the digital product is selected.

If I understand correctly, the way it works now is by notifying DAP any time a Woo product is purchased *that has the same name as a product in DAP*, so the only way to NOT notify DAP during a physical product purchase would be to create a separate listing for each physical product and digital product.

That will make a storefront look messy very quickly! Thoughts?

Best,
Vic Dorfman – Membership Site Expert

Reply
Mark Mottershead - December 11, 2014

Is is possible to map across the customer address info from DAP upon purchase through WC?

Reply
Veena Prashanth - December 11, 2014

Hi Mark,

Yes, DAP stores the customer address info after a successful WC purchase.

This feature is not in DAP 4.7.1 but it will be part of DAP 4.7.2 that we will be releasing shortly.

Please note that currently DAP does not have separate fields for storing billing and shipping addresses.

If shipping address is present in the WC order, DAP will store that in the user’s DAP profile otherwise billing info is stored in the user’s profile.

DAP also stores the user’s billing phone number in the DAP profile.

Thanks,
Veena

Reply
Veena Prashanth - December 11, 2014

Hi Vic,

>> However, one major thing that we’d like to be able to do is to list a product and then allow the visitor to select ‘physical’ or ‘digital’ version and be able to notify DAP only in the case that the digital product is selected.
<< Can't prevent WC from sending notification for all products because they do not have a product specific notification. But I have now added a new configuration that will allow DAP to ignore non-virtual, non-downloadable items. So if it's a physical product that is NOT DOWNLOADABLE (is_virtual=NO and is_downloadable=NO in WC product setting), and if you have this setting in /dap/dap-config.php : define('WC_IGNORE_PHYSICAL_PRODUCT','Y'); Then DAP will NOT add it. But if is_downloadable is true, the DAP will automatically add user to DAP. Does this help? Thanks, Veena

Reply
Vic Dorfman - December 11, 2014

Hi Veena,

That actually solves the problem quite elegantly because it means we can use just *one* listing for both the physical and digital versions of a given product.

We’d just create a ‘variable product’ in WooCommerce, list the variations as ‘digital’ and ‘physical’ and mark them as ‘virtual’, ‘downloadable’ as needed.

Thanks so much for this!

Best Wishes,
Vic Dorfman – Membership Site Expert

Reply
Molly - January 17, 2015

Hey Veena,

I’m sorry I’m so late back to the party! I missed the update that you’d commented here for me about the reverse sync. As always, I appreciate how awesome you guys are at addressing issues and making improvements. You are impressive :).

Thank you so much for all of your hard work!

Reply
sergio - February 23, 2015

Veena, I installed the new DAP, and latest woocommerce and learndash. However woocommerce and DAP each generate their own password. They are not sharing the password. Do I need to configure anything in either one so that they do ?

Thanks.

Reply
BJ - May 24, 2015

Our plan is to use WooC to sell some physical products, books etc. with shipping by weight, that are completely separate from our memberships. No login or registration will be required to purchase a book.

But we want to use DAP shopping cart with Authorize.net for the memberships. We don’t want our membership products set up as Woo products too. But we do want to sell the books at a reduced cost to members. Having trouble determining if this scenario is doable. Any advice would be appreciated.

Thank you,
BJ

Reply
Veena Prashanth - May 25, 2015

Hi BJ,

You can use DAP Shopping Cart to sell membership product and WC to sell physical products.

You can use the DAP shortcode to determine if the user is a member and if yes, display the discount offer.

See – http://digitalaccesspass.com/doc/dap-shortcodes

Thanks,
Veena

Reply
Carla - August 31, 2015

Hi Veena and team –
My WooCommerce integration works pretty great – thank you!

I would like to use “Grouped Products” with WC. For example, I have a subscription product with monthly, quarterly, and annual pricing options. Ideally they would be grouped under “Subscription A” and the three options would be Linked Products (in WC’s nomenclature) under that Product Grouping.

When I tested that, I got a message that the product names don’t match, because WC includes the Group name, a little arrow, and then the Linked Product name in the transaction, like this: “AS-test group → AS-test annual”

DAP’s error message displayed the unsuccessful product as: “AS-test group → AS-test annual”

Any suggestions? Do you know if Grouped Products is even possible to integrate? if I add “→” to the DAP product name, do you think it will work?

Reply
Veena Prashanth - August 31, 2015

Hi Carla,

No, it’s not possible to integrate WC grouped products with DAP.
DAP does not look at the individual products within the group.

You can try this workaround:

Create a product in DAP using the group name. This will allow DAP to recognize the group name. It will be just a dummy product.
Use product chaining to connect this group/product in DAP to the individual products that has the actual content.

See – http://www.digitalaccesspass.com/doc/product-chaining/

Thanks,
Veena

Reply
Arthur - September 14, 2015

Good day, i really need help with a integration with “Cielo” payment mode. Theres any way to do that? i REALLY need this help as soon as possible… i’ll buy this sistem because ai feel its the most powerfull i ever seen.

Reply
Veena Prashanth - September 14, 2015

Hi Arthur,
No, DAP does not integrate with “Cielo” payment directly. If you find a plugin that integrates with Woocommerce and Cielo, then you can integrate the two and then integrate WC with DAP.

Thanks,
Veena

Reply
Arthur - September 14, 2015

Dear Veena,

Thanks for the very quick answer! <3

Reply

Leave a Reply: