13

Samcart Integration

DAP 4.7.1 has full fledged integration with Samcart.

Checkout this video for more details on the integration.

Minimum Requirements

You need to be on DAP 4.7.1 or above to use this integration.

Integration Steps

Integration between DAP and Samcart is pretty easy.

Step 1: The Product Name in Samcart should EXACTLY match the Product Name in DAP.

Step 2: The API Key in Samcart Settings -> Membership Portal Integration -> DigitalAccessPass should EXACTLY match the secret key set in DAP Setup -> Config -> Secret Key field. You can make up ANY value for the API Key.  For ex, you can just set it to COOLBEANS.

Just make sure to set the DAP Secret key in DAP setup -> Config to that same value as the API key in Samcart.

Step 3: The Samcart Products Page -> Notify Page URL should be set to :

http://YOURSITE.com/dap/dap-samcart.php    (Replace YOURSITE.com with the name of your site)

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

That’s it!

 

Automated Cancellations & Refunds

DAP supports automated cancellations and refunds with Samcart. When you process a refund or subscription cancellation in Samcart, then the product access in DAP is 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

DAP uses pay-as-you-go-model for subscription products but currently Samcart does not send an IPN (payment notification) upon each subscription payment.

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 access to product is extended by the ‘initial’ subscription cycle.

Say it’s a 30 day cycle, then the users will receive only 30 days access to product after the first payment. After the 30 day period, if the next subscription payment goes through successfully, DAP receives the recurring payment notification and automatically extends user’s access to product by another 30 days.

But because DAP does not receive the subscription notification from Samcart, the workaround is to set up your recurring 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 Samcart, 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 by 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 ‘automated cancellations & refunds’ section in this document.

 

Click Here to Leave a Comment Below 13 comments
Pat - January 11, 2015

Hey guys,

Just wanted to let you know the link to the video at the top links to the woocommerce tutorial. I LOVE DAP! Thanks again for all you guys do!

Reply
Veena Prashanth - January 13, 2015

Hi Pat,

Thanks for letting us know. It’s fixed now.

Thanks,
Veena

Reply
Pat - February 18, 2015

Hi guys,

If I’d like to offer a DAP product as a SamCart upsell (original product is not a DAP product – just a purchace for a seminar ticket). Do I make the upsell product the same name as the DAP product for the integration to work? Or does it need to be set with the same name on the original product? Also, would the notify page url go on the original samcart product or on the product which is the upsell. Here is the link: https://app.samcart.com/c/58598991/9178

Once they pay the $50.85 it takes them to a DAP product upsell. Hope this makes sense. Thanks in advance! DAP ROCKS!!!

Reply
Veena Prashanth - February 18, 2015

Hi Pat,

>>Do I make the upsell product the same name as the DAP product for the integration to work? < < Correct. >> Or does it need to be set with the same name on the original product?< < No. We have not tested a scenario where main product is NOT a DAP product but the upsell product is... I think it will work as long as you create the upsell product in DAP with the same name as the upsell product in Samcart. Please test it. >>Also, would the notify page url go on the original samcart product or on the product which is the upsell.<< The notify_url does not contain the product name. It's a generic URL. http://YOURSITE.com/dap/dap-samcart.php

Samcart sends the product name in the request parameter to DAP.

Thanks,
Veena

Reply
Pat - February 18, 2015

Thank you so much for the super insane speedy reply 🙂

I’ll test it out and keep you posted. I’ll reply to this thread. Maybe it will help another DAPPER out there!

Best,
Pat

Reply
Corey Taylor - February 27, 2015

In regards to recurring payments, if I select “one time payment” in DAP, then when each client receives the recurring charge through SamCart, will they be given a new username / password?

Reply
Veena Prashanth - February 27, 2015

Hi Corey,

Samcart does not send an IPN (payment notification) upon each subscription payment. So nothing really happens in DAP upon recurring payment.

Even if Samcart starts sending IPN for recurring, DAP will NOT create a new account upon recurring payment regardless of whether the dap product is defined as one-time or recurring.

DAP will attach the order to the same account.

Thanks,
Veena

Reply
Corey Taylor - February 27, 2015

WOW! Thanks so much for the fast response.

I’ve been reviewing membership site plugins for a new site I am building. I’ve been trying to decide between DAP, iThemes Exchange, and Paid Membership Pro. I must say I’ve been extremely impressed with the level of integration, abundance of features, and unbelievable support! I’ve heard about how helpful and responsive you were to queries and troubleshooting issues and now I BELIEVE IT! I think my decision is over. DAP ALL-THE-WAY!!!

Thank you so much from a new Dapper.

Corey

Reply
Veena Prashanth - February 27, 2015

Thanks Corey! Welcome to DAP!

Reply
Beau - February 4, 2016

If the installation folder of my DAP install isn’t /dap/ but is something else, like /members/, should I use /members/dap-samcart.php instead?

Reply
Veena Prashanth - February 4, 2016

— If the installation folder of my DAP install isn’t /dap/ but is something else, like /members/, should I use /members/dap-samcart.php instead? —

No. It should always be:
http://YOURSITE.com/dap/dap-samcart.php

Veena

Reply
Jeff Sanders - September 22, 2016

I just signed up with SamCart and they said they no longer require the API Key from DAP. All they need is the Notify URL.

Reply
Veena Prashanth - September 22, 2016

>>I just signed up with SamCart and they said they no longer require the API Key from DAP. All they need is the Notify URL.<< Thanks for the update, Jeff. They didn't inform us about this change. Luckily currently DAP does not 'require' the secret key field otherwise the integration between Samcart and DAP would have broken completely! Yesterday a couple of DAP customers that use Samcart informed us that secret key was no longer required. I don't know why they removed it though. It's required for security reasons. As part of our efforts to increase security, we were planning on updating DAP to "require" the 'secret key' field in all our external integrations, but we can't do it now for the Samcart integration. Not a good thing. Anyway, I'll update our documentation to reflect that. Thanks for letting us know. Veena

Reply

Leave a Reply: