12

Setting up Paypal IPN

1. Enabling Instant Payment Notification (IPN) within your Paypal account.

a) Log in to your Paypal account and click on the “Profile” link in the menu, then on the next page, click “My selling tools.”
b) Under “Getting paid and managing risk” section, click “Update” beside “Instant payment notifications”

 

c) If IPN is already enabled, you are all set.  If IPN is not already enabled, then click on “Choose IPN Settings”

d) On the next screen, in the Notification URL field, enter…
http://YourSite.com/dap/dap-paypal.php
Don’t forget to replace “YourSite.com” with your actual web site’s domain name.

e) Make sure “Receive IPN Messages” is selected.

f) Click on “Save”.

22

Conflict With “Cache” Related Plugins

DAP Now Works With WP Super Cache

If you’re having weird issues – like members logging in and seeing other people’s profile information, or logging in as a valid user and being told “Sorry, you don’t have access to this content” – then it’s probably because of a “cache” plugin.

Do not use cache plugins on your membership site

DAP now fully works with WP Super Cache (and possibly other cache plugins too).

You just need to make sure that you exclude your member content (including the login page) from being cached.

Cleaning Up After Your Cache Plugin

Follow the steps below to clean up some the junk left behind by cache plugins (regardless of whether you see them in your plugins section, and regardless of whether they are currently active).

1) You wish to disable your cache plugin that is currently enabled

2) You previously had one enabled at some point in the past

3) You don’t believe you ever had a cache plugin enabled in the past

4) You were redirected to this page by the DAP support team because of potential caching-related issues

  1. De-activate the plugin if it is still active
  2. Open your wp-config.php file.
  3. If there are lines in there that look like this…
    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define( ‘WPCACHEHOME’, ‘/home/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
  4. Then comment out both lines, by adding a “//” at the beginning of each line, like this.
  5. //define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    //define( ‘WPCACHEHOME’, ‘/home/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager
  6. Go to your /wp-content/plugins/ folder. See if there’s a folder in there called “cache”. If yes, then rename it to “_cache”.

Now re-test whatever the issue was before, and it would have probably been resolved now.

That should do it.

If the issue still persists, let us know via a support ticket.

4

What “Free Installation” Means

As a courtesy to our customers, we offer a free installation service, where we will install DAP on your site for free. And we can do your free installation within 24 hours of your purchase.

However, many people are confused by what “Free Installation” really means. So this article is to give you more details about that.

Installation vs. Setup

To give you a real-world example, think of “DAP Installation” similar to “Delivering the boxed TV set to your doorstep”. That’s it!

We won’t take it out of the box, hook it up to your cable box, set up your channels, set up your DVR, hook up your game console, DVD player, Roku box, etc. All of those things fall under “Setup & Configuration”.

So if you want our help setting up your DAP site, then check out our “Membership Site In A Box” package that comes with “Concierge” sessions to help you set it all up.

What Free Installation Includes

  • We will upload all DAP files to your server
  • We will activate the dap plugin on one WordPress blog (the DAP-WP-LiveLinks plugin)
  • Activating this plugin will create all of the dap tables in your WordPress database
  • We will setup the Cron job(s) for you within your web hosting cPanel.
  • If we see any hosting related configuration or installation issues, we will do our best to resolve them, if they are even resolvable (99% of the time, they are).
  • We will then send you your new DAP Admin Email id and Password via the same support ticket you opened for installation.

That’s it. There’s nothing else involved in the free installation that we perform.

What Free Installation DOES NOT Include

  • Installation or setup or configuration of your theme (like OptimizePress or Thesis)
  • Installation, setup or configuration of other plugins
  • Troubleshooting of your current WordPress installations
  • Troubleshooting issues with any previous membership plugins that you may be using
  • Doing an “Overview” of your web site and giving you ideas about what can or cannot be done using DAP
  • etc… etc… but you get the idea 🙂

Hope this helps clarify what you’re getting as part of your purchase.

Please remember that get get only one free installation, regardless of which license you buy.  Additional installations may be purchased at http://DigitalAccessPass.com/buynow.php#installation

If you want us to do it all for you, then check out our “Membership Site In A Box” package that comes with “Concierge” sessions to help you set it all up.

To get your first free installation, click here.

Troubleshooting Email Broadcasts

* When you schedule a broadcast email, it’s added to the job queue with a status of NEW
* When the cron job runs at the top of the hour, then the job status changes to COMPLETE (C) and the emails get sent.

So to test it, do this.

  1. set up an email broadcast to a test user using the CSV format (option # 5)
  2. Go to DAP Admin > System > Job Queue and see if the job was added with a status of NEW
  3. Now manually run the cron by running this cron script in a browser (just for testing)
    http://yoursite.com/dap/dap-cron.php (replace yoursite.com with the name of your site)
  4. Then go back to the job queue and see if the status for the email job has changed to ‘C’ (complete)
  5. If yes, check if the email was received.

Troubleshooting “Payload Format Incorrect” Error

If you see this error when trying to send out a broadcast to a default group from the Email > Broadcast page, then the most plausible cause for this is that there are some special, non-standard characters in the body of the email that you’re trying to broadcast.

This could happen if you copied text that you composed in a Microsoft Word doc, or you cut/pasted from a WordPress blog post. And both Word and WordPress (some themes) are famous for creating special characters out of normal characters.

Example:

If you take a closer look at the body of your email, especially the single quotes and double-quotes characters, you will find that these may not be the standard single quote and double quote characters that you get from a plain text editor.

And these special characters trip up the DAP email broadcasting system.

So please take a closer look at all of the following characters:

  • Single quotes
  • Double quotes
  • Hyphens
  • Special symbols like trademark and copyright

And just type over them again just to be sure with the normal equivalent using your keyboard, and try the broadcast again.

And this time, it should work.

Email Body Showing Up Partially On Job Queue

When you view the broadcast emails that you just scheduled on the System > Job Queue page, if you see that the email body in the saved job has been randomly cut off at one point (usually at the point where there would normally be a single or double quote), then that’s also an indication of non-standard characters in the email that you tried to send out. So see the above example for how to weed out any non-standard single or double quotes or hyphens, and try the test again with just one test email, and see if it goes out to just that one email. Because if it fails for one email, then it will fail for all emails being sent via the DAP Broadcast system.

Troubleshooting Email Autoresponders

Please NOTE:

The auto-responder dripping works in real time. So at the time of testing, if you have users who are on day 3, then only emails that have been set up to drip on day #3 will go out to them. Anyone who is on day 1, or 2, or 4 and onwards, will not get those emails.

So check the day of the email that you’re expecting to be sent. And make sure there are users on that very day, and only those users will get the email.

If the autoresponder emails still do not drip as expected, then please do this :

1) Please make sure that the cron job is setup to run once every hour at the top of the hour.

Click here for the instructions to set up cron job.

2) Now to test dripping, add a test user via dap admin panel -> add users page. Make sure you ‘mark user as paid’ for access to paid product.

3) After the user is added, go to DAP admin -> Manage Users page and make sure the user status is A and product status is A.

4) If the user is added as Free User, the user can only access free content and will only receive the emails that are marked as ‘Available to Free Users’ in the DAP Products -> Auto-responder dripping section.

5) Now wait until the top of the hour for the cron to run and go back and check the newly added user’s email to see if the email set to drip day 1 has arrived.

If not, then do this:

1) Set dap setup -> config -> log level to 5

2) Now go to DAP Manage Users page , select the newly added user and click on ‘Fully Delete Selected User(s) from the database‘ under Operations.

3) Add the same user again like you did in step 2 and 3

4) IMPORTANT:  Go to DAP System -> Logs and Empty log content. This way you have a clean log to start the test. The logs are only needed for troubleshooting.

4) Instead of waiting for cron to run at the top of the hour, run the cron manually by running this command in a browser –

http://yoursite.com/dap/dap-cron.php (replace yoursite.com with the name of the site)

5) Go back to dap system -> logs and check the log content. Open a dap support ticket and send us the log snippet.

6) Now again check the email (that you are dripping on day 1) to see if the email arrived.

Remember that if you add a free user, then the email setup as ‘available to only paid users’ will NOT be delivered to free users.

So either set the email dripping to drip on all users (paid and free) or make the added user a PAID user.

If the email still does not go through, open a dap ticket with us, and send us your dap admin url, id/password and your dap log snippet for troubleshooting.

Why is my site slow?

DAP is pretty lightweight. There’s nothing in dap that would slow down the site.

Are you protecting static files using DAP and are these files outside of wp-content/uploads folder ? If yes, then it can be resource intensive.
There are ways to update .htaccess to try and make it less resource intensive. Open a ticket with us with the type of files (outside of wp-content/uploads) that you want to protect and we will let you know how to update .htaccess. If you protect static files (like php, pdf) and if they are outside of wp-content/uploads folder, then that can be resource intensive.

Also, if logging into DAP admin dashboard is what is slowing down your site then it could be that your host has an issue with fopen or firewall that prevents communication with digitalaccesspass.com.

When you connect to DAP admin panel on your site, it tries to connect to our site (digitalaccesspass.com) for license check but the call might be failing.
This is not something that will impact users on your site because this check is ONLY made when an admin logs in to dap admin panel.

Someone else recently had this issue and this is what their HOST replied:

“Your firewall is not currently active so this was not the cause. However it seems there was an issue with your resolv.conf file which was causing your server to be unable to resolve digitalaccesspass.com.
I have corrected this for you and it now resolves properly. ”

So talk to your webhost and make sure that’s not an issue.

3

Troubleshooting: Paypal Coupon Error Emails

Problem: You see emails sent to your DAP Admin email account that look like this:

paypalCoupon.php: missing item_name

-or-

paypalCoupon.php: No such Product found – SomeProductNameHere

This could be happening because….

a) Some robot software somewhere is auto-posting to that URL.

b) It’s possible that a search engine spider or spambot is hopping from link to link, submitting the form repeatedly from the backend, and because the form is being submitted in an illegal/invalid fashion, DAP is complaining about a missing coupon code.

So for now, if everything else is working ok, and the annoying email is the the only issue, then you can just ignore those emails. Or better yet, simply put a filter on that email subject and have it directly sent to the trash folder in your email client.

27

Warrior+ WSO Pro Integration

Starting version 4.1, DAP supports integration with Warrior Plus (WSO Pro Standard).

And starting version 4.3.1, DAP now also supports Warrior Plus’s new Adaptive Payments system (WSO Pro Adaptive).

DAP supports both WSO Pro Standard and WSO Pro Adaptive. The same dap script (/dap/dap-wsopro.php) supports both standard and adaptive payments. Only the version of the script that’s included in DAP v4.3.1 has support for WSO Pro Adaptive – older versions of the above script will NOT support WSO Adaptive, and will only support WSO Pro Standard.

How to set it up

If you are on DAP 4.1 or later, you will find a script called dap-wsopro.php in the dap folder.

Set the IPN (instant payment notification) url in your WSO Pro account, to point to the following URL:

http://yoursite.com/dap/dap-wsopro.php

(NOTE: replace yoursite.com with the name of your site).

Make sure product name in DAP exactly matches the product name in WSO Pro.

Also, make sure you have the “Welcome Email” Subject & Body configured in the DAP Product page with the right merge tags to send out user login/password.

How it works

When a user completes purchase of your WSO, WSOPro will send payment notification to DAP to the IPN URL specified above.

DAP will then automatically create the membership account, allow user access to the product and send out the thank-you email configured under the DAP product with the login details.

Starters Guide

Quesiton 1:
What’s the best way, (simplest & least complicated), to open up a ‘Members Only’ area on my website, where everything is free?
In other words, people who have not logged into the site, do not have access to this area. But, once logged in, (without having to buy any product), anything in this area is, “Help yourself to anything!” — for free articles, event announcements, free video interviews, etc.

a. Do I create this as a product, or not?

You need to create this as a product in DAP.  Then everything you want to make available to the free but registered users, drip/protect it under the product in DAP. When you protect/drip the content, edit the settings to make it available to free users and not just paid users.

b. What do I do with the WordPress Login?

Get rid of wordpress login. Make DAP login the only entry point.  If you set up DAP->WP sync correctly, then DAP will automatically sync users to WP and upon login to DAP, the users will be automatically logged-in to WP.

c. How do I tie it all together, so that someone who registers as a member on the site, ends up on my basic MailChimp members list, and gets created as a member in DAP?

Click here to see how to integrate Mailchimp with DAP so when a user is added to DAP, DAP will first create the membership account in DAP and then automatically subscribe the user to Mailchimp.

d.  Public Blog, and web content, with no login required.
That’s easy! … Just don’t protect it, and it remains visible.

Multiple Paid Products, and/or Free Products that they have to sign-up for to be able to access.

Setup each product in DAP.

Paid Product – Create a sales page for Paid Product. Then integrate DAP with the payment processor / shopping cart using the documentation here (look for Payment Processing in the left sidebar).

When the user completes a purchase, DAP will automatically create the user account and send out welcome email with the ID/Password to the user (See this doc on welcome email delivery).

You can redirect users wherever you want upon login. See this article on how to redirect.

Free Product – Copy the html for the signup form from DAP’s product manager.  Details here.

When the user completes signup, DAP will automatically create the user account and send out welcome email with the ID/Password to the user (See this doc on welcome email delivery).

You can redirect users wherever you want upon login. See this article on how to redirect.

f. Tons of free “stuff”, INSIDE the website, for Members Only … that I can add to on a regular basis, so that people keep coming back to the site to see what’s new.

How do I give my user one simple login, that gives them access to my website, puts them on a autoresponder list, AND registers them as a client in DAP?

—  Create product in DAP.

—  Use the DAP direct signup to signup users.

—  Integrate DAP product with an auteresponder of your choice.  See this documentation on diffferent autoresponders that DAP supports and how-to-integrate with DAP (look for Email List Integration in the left sidebar).

— You can add a DAP login/logout widget for login/logout OR/AND a Login page

g. How do I implement a “Not yet a Member? Click Here to Signup!” … on the website itself? (Not just at a Product Level, “Click Here to Get Access!”) <<

Look at /dap/inc/error-nologgedin.php.

h. If I have to make it a product, then could it be done so that you simply give access to the parent page, and/or a category of posts, and then the member has access to everything under that page, or in that category (or sub-categories)?

Yes. See this document on category protection.

48

Payment Options Setup

Question:  We want to set up a product so that customers can pay in three installments of $20 each. So when they first purchase, they’ll be charged $20 immediately. Then 30 days later, they’ll be charged $20. Then after another 30 days, they’ll be charged $20. They will never be charged again after this, and they will continue to have access to the product.   Can you please advise what I should be putting in each box in dap products -> price/recurring tab ?

You can set all the recurring/trial options to 30 days.

Then set dap admin ->  setup -> config -> Access & Navigation -> Post-Expiry Access: Allow access to previously-paid-for content even after subscriber cancels? 

to  “Yes“.

Say the user buys something today, their access will be extended by 30 days.
After 30 days, next payment comes in, their access will be extended by 30 days more.
After another 30 days, next payment comes in, their access will be extended by 30 days more.

So say the user’s access start date = 10/20/2011, access end date = 1/20/2012.

After 1/20/2012, they will lose access but because you set ‘Allow access to previously-paid-for content’ to “YES”, user will have access to all paid for content.

As long as whatever content you drip under the product have a drip start day of less than (<) 90, user will have forever access to the content under the product.

Question: I have set up a silver level membership with 2 different payment options (one is monthly and the other is an annual).  I’m stuck though on figuring out how to connect it on my site. I have created a page where they pay for it through paypal.  But I don’t see in the back end of DAP installed on my wp site – how I set up the pages or entry points for those becoming members.

If the only difference in 2 products is the price, then you can create a single product in dap, create 2 different payment buttons in the payment processor of your choice, set the product name in both buttons to point to the same product in DAP, so depending on the button user uses to purchase, they will pay that amount. This is useful when you have a special sale for the same product. So all settings remain the same but just the product price is different.

Please note that you cannot use a dap hosted or dap generated button if you want to have the same product, same content, same recurring settings but different price points. If you use a dap hosted/generated button, then dap will use the price assigned to the product in dap products page, and you cannot assign 2 different price to the same product in dap.  That’s why in this situation, use buttons hosted in say Paypal,  this way the price set in dap products page will not be used, instead dap will use the price/amount that comes in the IPN notification.

BUT if you want to 2 different price points and ALSO 2 different payment cycle / recurring setting (one monthly and one annual) then you will have to create 2 different products in DAP – one for monthly and one for annual payment. You cannot manage this scenario with a single product in DAP. If the only difference between products is their price, you can have a single product in DAP but if the recurring/payment cycle is also different, then you will have to create different products  (even if the content being dripped is exactly the same) because recurring setting will be different.

You can create the monthly product first and then do a “Save As Copy” in products page. It will create a complete clone of the monthly product. Now give the new/cloned product a new name, and just update the recurring payment options from monthly to yearly and change the product price appropriately.

The sales page can be anywhere, the payment button can be anywhere.

As long as the button is integrated with DAP, where it resides does not matter.

Here’s how you can create a members area (member links) page :

See – http://www.digitalaccesspass.com/doc/creating-member-affiliate-sections-within-wordpress/

Then you can set product level / global login redirect to point to that page so when members login, they will be redirected to their members area.

See – http://digitalaccesspass.com/videos/decoding-dap-4-content-customization.php

Then here’s how product purchase will work :

1) First you pick a payment processor of you choice – dap suppports a bunch of payment processors and you can find them in the documentation

2) Now create the payment button and put it on the sales page.

3) Once you have done that, here’s how the purchase flow and content access will work.
NOTE: There’s no pre-registration in DAP. There’s no form that the user needs to fill in first to complete purchase.

* Visitor arrives at your site
* Clicks on buy button
* Goes to Paypal / Payment processor, makes payment
* Instantly, behind the scenes, Paypal/Payment processor notifies DAP on your site about the purchase
* DAP then creates the login information for the buyer and emails it to them.
* Buyer logs in to their membership area, they will be redirected to the member links page where they can see the list of all products they have and the content/downloads under each product.

Question: If I’m using 1Shoppingcart, for a recurring product – do I still set it up in DAP entering numbers into the payment/trial #1, payment/Trial #2 and thereafter/recurring settings (in dap products page) ?  I am doing the recurring payment through 1 Shoppingcart, but it seems if I don’t set it up in DAP as well, DAP will not limit their access if they stop making payments ?

Answer:

Yes, you need to set it up in DAP.  You need to set these options for all subscription products in DAP,  regardless of the payment processor / shopping cart you use.
DAP uses the payment/trial #1,#2 and thereafter/recurring numbers to automatically extend product access after every payment.
So when dap receives the very first payment notification, it will extend access by whatever you set in payment/trial#1.
When dap receives 2nd / recurring payment notification, it will extend access by whatever you set in payment/trial#2.
After that, for every recurring payment notification, dap will keep extending access by whatever you set in thereafter/recurring settings.

Question: I want to charge a customer every month for 2 years but give them lifetime access after the last payment.  How do i set this up?

Answer:

You have to set payment/trial period 1/2 / thereafter all to 30 days for the users to charged every 30 days.

You can set config option in dap setup -> config -> advanced ->  “Allow users access to previously paid for content even after their content expires”.  Set it to “Y” to allow users access to previously paid content.

But you cannot automatically give users automatic lifetime access after the last payment (after 2 years).

You can try to setup a DAP product chaining rule that says if a user gets access to product A, give them access to product B after 730 days (future date).

Here A is your main membership product and B is the lifetime membership product.  The users access to lifetime membership product will start 730 days after they purchase product A.

Question: 12 monthly payments, lifetime access after the 12th payment.  How do i set this up?

Answer:

You have to set payment/trial period 1/2 / thereafter all to 30 days for the users to charged every 30 days.

You can set config option in dap setup -> config -> advanced ->  “Allow users access to previously paid for content even after their content expires”.  Set it to “Y” to allow users access to previously paid content.

But you cannot automatically give users automatic lifetime access after the last payment (after 1 years).

You can try to setup a DAP product chaining rule that says if a user gets access to product A, give them access to product B after 365 days (future date).

Here A is your main membership product and B is the lifetime membership product.  The users access to lifetime membership product will start 365 days after they purchase product A.

Question: If I have a $1 7-day trial, then $37 every 30 days for 12 months and I want my members to have access to the content after the 12 months, what settings do I use for the Recurring Cycle?

Answer: Use this setting:

Payment/Trial Period #1 7 days
Payment/Trial Period #2 30 days
Thereafter (Recurring): 30 days

If you want users to have access to all content after 12 months, then see the answer above.
If you want the users to have access to just the previously paid-for content, then just set the config (Allow users access to previously paid for content even after their content expires” to “Y”).

By  doing this, if they paid for all 12 months, they will be able to keep access to all 12 months worth of content indefinitely.  They will have access Only to whatever content they’ve paid for already. If they stopped after 6 months, they will get access to only the 6 months worth of content, nothing further.

Question: I want to use DAP generated Paypal button and do a $10 trial for 14 days and then $167 after every month. How do I set this up ?

Use these settings:

Product Price : $167
Payment/Trial Period #1: 14 days
Payment/Trial Period #2: 30 days
Thereafter (Recurring): 30 days
Trial Amount: $10
Recurring Count: 9999

Question:   Does DAP talk with Paypal often or is it just the first time when the purchase is made ?

DAP talks to Paypal just the first time when purchase is made.  If the button is setup correctly, DAP will set up the recurring profile in Paypal at the time of initial purchase based on the payment/trial option settings and recurring count setting in dap products page.

So if this is your setting:
Product price = $5

Recurring Cycle
Payment/Trial Period #1:  7 days

Payment/Trial Period #2:  30 days

Thereafter/recurring:   30 days

Trial Amount = $0.01
Recurring Count = 3

Then DAP will tell Paypal to initially charge the trial amount of 0.01.  If the payment is completed successfully, then the user will be charged $0.01 and the user will get 7  days access to content (based on payment/trial option 1) . DAP will also setup a recurring profile in Paypal using thereafter/recurring setting.  So the first recurring payment will be due after 7 days of initial payment (based on payment/trial option 1) and next recurring payment and all payments after that will be due 30 days after (based on thereafter/recurring settings).

Because the recurring count is 3, the user will be charged 0.01 initially and then $5 a total of 3 times.


I have set up a silver level membership with 2 different payment options (one is monthly and the other is an annual).

I’m stuck though on figuring out how to connect it on my site. I have created a page where they pay for it through paypal –

but I don’t see in the back end of DAP installed on my wp site – how I set up the pages or entry points for those becoming members.

1 17 18 19 20 21 35