WordPress User Sync

NOTE: This content is for advanced users only, who understand the concept of user tables, database, etc. If you don’t understand any of this, then just ignore this – you don’t really need to know this in order to use DAP. This is only an explanation for those who wish to go under the hood of DAP and its integration with WordPress.

As you probably already know, WordPress has its own user database.

DAP has its own User database, and doesn’t use the WordPress database – for many reasons, not limited to the following…

1) Ability to store more user information than what WordPress allows

2) More powerful user search, profile updates, affiliate information, etc.

So, if you want to use any WordPress based plugins – like WordPress Forums or Subscribe2Blog – these forums are looking at WordPress’ native user database.

Now comes the necessity of “syncing” the DAP user data and your WordPress user data.

In the DAP Dashboard, in “Setup > Config > Advanced“, you will see two settings for syncing DAP & WP user data.

(1) Sync DAP User data and WP User data

If you turn this to “Y” (for “Yes”), then every time someone logs into DAP, their DAP user data (just name and email) is automatically “synced” with WordPress user data. If you set this to “N”, then no data will be transferred from DAP to WordPress.

(2) Sync WP data only for PAID users

This one matters only if you have set (1) above to “Y”.

If you want only your “PAID” members to be synced with WordPress, then set this to “Y“.

If you want both “FREE” and “PAID” members synced with WordPress, then set this to “N“.

Here’s how it actually works:

  1. For the sync to work, you must first setup and save the above 2 config settings
  2. After you save the above two config settings, make sure you log out of DAP and re-log in (if you are/were logged in and testing as a regular user), because only then, the Config settings above will take effect.
  3. Your user must log in through a DAP login form (not the WP login form).
  4. Make sure the user is redirected to any part of your WordPress blog after log in. This can be done via “Logged In URL” setting in DAP Config.
  5. The user can be redirected to any WP page, WP post or even your blog home page – that’s the only time the ’syncing’ kicks in.
  6. When user lands on any page/post of your WP blog, then the DAP LiveLinks plugin (which you have already installed & enabled) kicks of the “sync”, copies the logged in member’s name and email over to the WordPress user table, and also automatically logs him into your WordPress blog.

That’s all there is to it.

Also see: Forum Integration

Adding Users Via DAP Signup Form

DAP allows you to create an opt-in form to directly sign-up users to your Product (which also acts as a “list” if you only want to drip or broadcast emails).

This is very similar to creating a sign-up form at Aweber or 1ShoppingCart, and allowing people to directly sign up by entering just their First Name & Email Id.

How To Generate Direct Signup Form HTML

1) Create a Product or select an existing Product

2) Click on the link below the product list that says “Direct Signup Form HTML”

3) That will bring up a little pop-up that will have the HTML for the signup form.

4) The form looks something like this:

<form name=”dap_direct_signup” method=”post” action=”http://www.YourSite.com/dap/signup_submit.php”>
<table>
<tr><td>First Name: </td>   <td><input type=”text” name=”first_name” size=”10″></td></tr>
<tr><td>Email:</td>    <td><input type=”text” name=”email” size=”10″></td></tr>
<tr>    <td colspan=”2″><input type=”submit” name=”Submit” value=”Sign Up”></td></tr>
</table>
<input type=”hidden” name=”productId” value=”1″>
<input type=”hidden” name=”redirect” value=”/dap/login.php?msg=Success!%20Your%20membership%20account%20has%20been%20created.%20%20Check%20your%20email%20address%20in%20a%20few%20minutes%20for%20your%20password“>
</form>

Paste the above form into any HTML page, or WordPress Page or Post where you want the direct sign-up form to appear.

The form already has all the code required to add the user to your member database, with “Free” access to the Product (for which you generated the HTML code)

That’s it!

Frequently Asked Questions

Can this form be published on any site? Or can it be published only on the site where DAP is installed?

This form can be published on any web site – can be completely different from the site where DAP is installed. Please note that the above form submits to the url “http://www.YourSite.com/dap/signup_submit.php” – so doesn’t matter which site this form is published on, the user is always added to the site where DAP is installed, which is http://www.YourSite.com.

What happens after user signup?

If you note the text in bold in the above form (reproduced below)…

<input type=”hidden” name=”redirect” value=”/dap/login.php?msg=Success!%20Your%20membership%20account%20has%20been%20created.%20%20Check%20your%20email%20address%20in%20a%20few%20minutes%20for%20your%20password“>

… you’ll see that the default form redirects to the page /dap/login.php (which is the default dap login page) and on that page, displays on the message “Success! Your membership account has been created. Check your email addresss in a few minutes for your password”.

After Sign up is complete, how to redirect to a link of my choice?

In the form, you can modify the hidden field named “redirect” to any URL of your choice. Here are some examples:

<input type=”hidden” name=”redirect” value=”http://www.SomeOtherNonDAPSite.com/thankyou.html“>

OR

<input type=”hidden” name=”redirect” value=”http://www.YourSite.com/2010/12/31/thank-you“>

Creating Multiple DAP Admins

Adding new User  and giving him/her “Admin” access

1) Add new user

2) Go to “Users > Manage”, search for user (that you wish to make an Admin) by email id or last name.  User is displayed in search results.

3) Click on user’s “Full Name” – it will bring you to their profile page where you can edit their user information

4) Change “Account Type” field to “Admin

5) Click “Update User” button

Giving existing User “Admin” access

Start from step (2) above

That’s it.

NOTE: These newly created admins will have the exact same access and privileges as you do (as the ‘original’ admin who created these other admins). They can do whatever you can do – add/delete/modify users, products, access reports, change affiliate info, etc. They can do ANYTHING that you can do in the Admin Dashboard. Just be aware of that.

Troubleshooting Content Access

Some Important Basics

Use two different browsers for testing. Not two different browser tabs, but 2 completely different browsers – like Chrome and FireFox, or FireFox and Internet Explorer. Log in as DAP admin using one browser, and then as a regular user in another browser. That way, you keep the access separate, and your testing will be clean and easy.

If you are using, say, Firefox, you are logged in to DAP admin, and are browsing your blog or trying to access content on your blog, then you will only have access to the content that the admin user has access to. You, as the DAP Admin, DO NOT have automatic access to every product by default. You will have to manually give yourself access to every product you create. And if you want yourself to have “PAID” access, then you have to mark yourself as “PAID”.

That is because, if DAP gave you automatic access to all products, then you will go ahead and protect a blog post, try to access that blog post, and DAP will give you access to that content because you as admin have automatic access to the product. And then you will wonder “Hey, I protected a blog post, but I’m still seeing it.

I have protected a blog post as part of a Product. But I can still access it.

Short Answer: If you have protected a post/page/file, try to access it, and are able to do it, then it means you DO have access to it. Now let’s troubleshoot so that you understand the “how” and the “why”.

  • Have you added the blog post to a Product? If you don’t add it to a DAP Product, the post/page/file won’t be protected.
  • Who are you logged in as? As DAP Admin? Or as a regular member?
  • Now if you search for this user by email id or last name on the “Users > Manage” page, you will see that the user does have access to the product to which the post belongs

Are you already logged in a a user who has access to that link? Maybe logged in as DAP Admin, and that is why you are able to access the link? If so, either log out of DAP, or visit your blog in a completely new browser (if you’re logged in as DAP Admin in FireFox, then visit your blog using Internet Explorer).

I have protected a blog post as part of a Product. User has access to it, but still can’t access it.

Short Answer: If you have protected a post/page/file, try to access it, and are able to do it, then it means you DO NOT have access to it. Now let’s troubleshoot so that you understand the “how” and the “why”.

  • Who are you logged in as? As DAP Admin? Or as a regular member?
  • Whoever you are logged in as, make sure that user (admin user or regular user) has access to the product to which the post belongs
  • Have you added the post as a “PAID” or as “FREE”?
  • If you have marked the post as “PAID”, make sure the user also is a “PAID” user (either there must have been a real transaction, or you must have manually marked him as “PAID”). Because free users cannot access content that has been marked as “PAID”.
  • Maybe the user’s access to the product has expired. Check the user’s “Access Start Date” and “Access End Date” for that product. The start date should be current (not be in the future) and the end date should be current (shouldn’t be in the past, which means his access to the product has expired)

I don’t want the links to all my protected blog posts showing up on my blog’s home page

Make sure you have “Sneak-Peek” turned off in the DAP Admin Config section. Once you do that, posts that are protected will not be displayed on the home page as well as if someone tried to visit the link directly.

Why do I see the “Lock” symbol on my blog’s home page?

It’s possible that you have no published posts (it’s a new blog), or you have probably protected all of the posts by adding them all to a DAP Product.

Have you added the blog post to a Product? If you don’t add it to a DAP Product, the post or file won’t be protected.

1-Click Upsells With Paypal Standard

1-Click Upsells, Downsells and OTO’s are now extremely simple to implement using the new “Upsell Tree” plugin for DAP.

And this particular plugin works with Paypal Standard! Which means you don’t need a merchant account any more.

All you need is a regular Paypal Business Account.

IMPORTANT: What you need before you can use this plugin

  1. You need a Paypal (Standard) Business account
  2. You must have SSL (secure server) enabled on your web site. Ask your web host to enable SSL for your site.
  3. You must have a working version of DAP 3.7+
  4. You cannot sell a “Recurring” product on the upsell. See below.
  5. Here’s what you CAN do: You can have a recurring product as the very FIRST product that they purchase (when they click on the “Buy” button on your main sales page, and then you can offer any number of upsells or downsells of “One-Time” Products.
  6. Here’s what you CANNOT do: Offer a “One-Time” product as your first product that they buy, and then try to upsell them to a “Recurring” Product. Unfortunately, this is a Paypal problem at this time.

Installation & Setup of UpsellTree For Paypal Standard

  1. You need at least DAP v3.7 for this. So login to your DAP account and download the latest version of DAP and the LiveLinks.
  2. Follow standard procedure for installing DAP (OR) upgrading your DAP & LiveLinks versions. Nothing different there.
  3. Purchase the UpsellTree plugin, login to your DAP account and download the plugin zip file, UpsellTreePaypalStandard.zip .
  4. Unzip UpsellTreePaypalStandard.zip to your desktop. It will unzip the files to a new folder on your desktop, called “PaypalStandardUpsellTree“.
  5. Upload all the files inside, directly to your “dap” folder on your web site. DO NOT upload the folder itself. Just the files inside.
  6. Log in to your Paypal account.
  7. Click on “Profile”
  8. Click on “Request API Credentials” (under ‘Account Information’ section). It will bring you to the API access page.
  9. Under Option 2, click on “Request API credentials” to create your own API username and password.
  10. Click on “Request API signature”
  11. Click on “Agree & Submit”
  12. Note down the following pieces of information:
    * API Username
    * API Password
    * API Signature
  13. That’s it as far as your Paypal account is concerned. Now back to DAP on your site.
  14. Log in to your DAP Dashboard
  15. Go to “Config > Payment Processing“.
  16. Enter the 3 pieces of information (from Step #12 above) into the DAP Config fields - Paypal API Username, Paypal API Password, and Paypal API Signature. Cick  “Update” next to each of the fields each time, and save the changes.
  17. This step applies to you only if you are already using 1ShoppingCart with DAP (if not, skip to next step):
    Be sure to disable the “Email Order” cron job from your web hosting control panel (“Cron Jobs” screen), because you don’t want your orders to be double-processed.
  18. Go to the “Products” page. You will now see a few new links, below the “Products” list on the left.
  19. newproductspage
  1. A) Product Price: For a 1-time purchase product, this is the product’s purchase price. For a recurring product, this is the “recurring” price (what the customer gets charged month after month).
    B) Trial Amount: This is only if there’s a trial amount. If no trial, leave this empty.
    C) Recurring Count: How long is your subscription? If you said “Forever”, then enter the number 9999 here. If it ends after 6 months, then enter 6 here.
  2. Set these fields to valid values.
  3. NOTE: This plugin allows only 1 trial. So in the recurring cycle fields, make sure “Payment/Trial Period #2″ and “Payment/Trial Period #3″ are both the same (set to same number of days: like 30). Example below shows the setting for a “7 day” trial period, followed by recurring payments every “30 days”.
    authnet_recurring_cycle
  4. If you are not offering a trial, then leave the Trial Amount as $0.00.
  5. But if you really wanted to offer a FREE TRIAL, then you must set the Trial Amount to at least $0.01 (1 penny).
  6. Once you’ve saved the product, you can now click on any of the two new “Generate… Button Code” links that are located right below the product list combo box.
  7. “Generate Paypal Standard Buy Button” link:
    This generates the buy button HTML code for your product, which you can then directly paste into your sales page. When you click on this link, you will get a pop-up that shows the actual HTML code for your button. The price, trial price, and recurring options are all taken from your Product settings. So make sure you have saved your Product changes before you click on this link.
  8. Here’s what the HTML code looks like:
    <form name=”generate_paypal” method=”post” action=”/dap/PaypalSetExpressCheckout.php”>
    <input type=”hidden” name=”item_name” value=”Paypal Upsell Test”/>
    <input type=”hidden” name=”description” value=”This is a dummy Subscription Product with a monthly subscription – payments every 30 days.” />
    <input type=”hidden” name=”amount” value=”0.01″ />
    <input type=”hidden” name=”trial_amount” value=”0.00″ />
    <input type=”hidden” name=”total_occurrences” value=”1″ />
    <input type=”hidden” name=”is_recurring” value=”Y” />
    <input type=”hidden” name=”recurring_cycle_1″ value=”30″ />
    <input type=”hidden” name=”recurring_cycle_2″ value=”30″ />
    <input type=”hidden” name=”recurring_cycle_3″ value=”30″ />
    <input type=”hidden” name=”payment_succ_page” value=”https://www.contentresponder.com/dap/continue.php?url=/dap/upsell1-paypalstandard-sample.html” />
    <input type=”hidden” name=”payment_err_page” value=”https://www.contentresponder.com/dap/paymentError.php” />
    <input type=”hidden” name=”payment_cancel_page” value=”https://www.contentresponder.com/dap/cancel.php” />
    <input type=”hidden” name=”payment_gateway” value=”paypal” />
    <input type=”hidden” name=”is_submitted” value=”Y” />
    <input type=”submit” value=”Buy Now” />
    </form>
  9. If you’re doing upsells, the only thing you need to do is, look for the “payment_succ_page” field in the above form. By default it will point to:
    https://www.example.com/dap/continue.php?url=/dap/upsell1.html
  10. Modify the file upsell1.html within your dap folder, to create your 1-Click Upsell offer. Or if you don’t wish to use 1-Click upsells, you can make just about any kind of upsell offer on that page. The upsell1.html that comes with the plugin has a sample upsell page already created for you, just so you get an idea of what that will look like.
  11. On the upsell page, if you want to upsell say, Product B, then make sure you set up “Product B” ahead of time in DAP, and set up the price and recurring options. Then for upsell products only, click on the “Generate Authnet 1-Click Upsell” link to generate the 1-Click Upsell Buy button code, as the upsell buy button is slightly different than the ‘regular’ buy button code. Now take the upsell buy button code like you did before, and paste it in upsell1.html. That’s it.
  12. You can repeat this process for unlimited upsells, downsells and one-time offers. No limits.

That’s it.

While it looks like a LOT of steps, that is only because we have to explain the steps in detail so they are clear. In reality, it is very simple to set up, and starting from scratch, if you have DAP & SSL already installed, it shouldn’t take you more than 1/2 hour to set up your 1-Click Upsells/Downsells/OTO’s. And if you’re not using Upsells/Downsells, then it can be done even faster.

If you have any further questions, feel free to open a support ticket, and we will assist you in getting this going.

“Upsell-Tree” with Paypal Payments Pro

Unlimited License

Click here to buy

Customizing Error Messages On Protected Pages

When an unauthorized visitor tries to access a protected page or post, you can choose from among two things that can happen:

1) Display Error Message: They can be presented with an error message that shows a “lock” image. You can show the standard DAP version, or you can customize this message and add your own text.

-OR-

2) Redirect to Error Page: They can be redirected to any other page of your choice (WordPress page or post, or a completely non-WP page)

1. Display Error Message

Displaying Default Error Message

The default error messages shown by DAP are as follows.

A) If a visitor is NOT logged in, then they will see…

(Image A)

B) If a visitor IS logged in, then they will see…

(Image B)

If you see Image A above, there is a line of text that says: “Click here to get access”.

And in Image B above, there is a line of text that says: “If you are a free member, then click here to purchase access”.

In both cases, the text “click here” is actually a link. And by default, that link will point to whatever you put in the “Sales Page URL” in your DAP Product (to which the above post/page is part of). See Image C below.

(Image C)

Displaying Custom Error Message

If you wish to customize the above standard error messages, then here’s what you need to do:

  1. Go to /dap/inc/ folder. There are two files there:error-loggedin.php , and
    error-notloggedin.php
  2. Make a copy of both files on your computer, and add the text ‘custom‘ to the front of each of the file names of the newly copied files. So the new files are now called: customerror-loggedin.php , and
    custom
    error-notloggedin.php
  3. Open customerror-loggedin.php and customerror-notloggedin.php and modify them as you please, change the text, formatting, font size, color, etc.
  4. Upload the new files to the same folder – /dap/inc/ – as the original error files.That’s it. DAP will then ignore the old error files, and start displaying your new “custom” error messages.

2. Redirect to Error Page

Instead of showing an error page (default or custom, from (1) above) you can also redirect the un-authorized user to a completely new page/post of your choice.

If you see Image D below, you will see that on the DAP Products page, there is a field called “Error Page URL“.

By default, this is pointing to /dap/product-error.php

(Image D)


Change this to any link you want. Examples…

http://YourSite.com/myerrorpage.html , or

http://YourSite.com/myerrorpage/

Whatever you put in the above field (Error Page URL) is what page the user will be redirected to, when they access a page that they don’t have access to (either because they have not logged in, or because they are logged in, but don’t have access to it yet).

Forum Integration

DAP currently integrates only with WordPress-based Forums – like bbPress, Simple:Press, etc.

What this essentially achieves, is that once your forum plugin has been integrated with DAP (explained below), anyone who is a member in your DAP-powered membership site, will also be automatically be logged in to your forum when they log in to your membership site.

So they won’t have to log in twice [like, once into DAP and once into your forum].

Here’s how you set up the DAP/forum integration.

  1. Download the 3rd party wordpress forum plugin
  2. Install it as per their instructions. We don’t support the installation or setup of the forum plugin itself.
  3. Log in to your DAP Admin Dashboard and click on “Config > Advanced”.
  4. You have two settings on the page that applies to forum integration:
    Sync DAP User data and WP User data
    Sync WP data only for PAID users“.(Both are explained further below.)
  5. Pick “Y” or “N” for each of them, and you’re all set.

First, a quick explanation of both settings.

1) Sync DAP User data and WP User data

If you turn this to “Y” (for “Yes”), then every time someone logs into DAP, they’re automatically logged into WordPress too (with a “User” role). And because they’re logged into WordPress, that means they’re also logged into your forum (because you are using a WordPress-based Forum Plugin which already integrates with your WordPress blog.)

2) Sync WP data only for PAID users

This one matters only if you have set (1) above to “Y”.

So once you have decided to turn on the DAP/Forum plugin integration, then if you want only your “PAID” members to have access to the forum, then set this to “Y”.

If you don’t care about both FREE and PAID users accessing your forum, then set this to “N”.

3rd Party List Integration

So you have an email list on a 3rd party autoresponder service – like Aweber or GetResponse.

And you want everyone who joins your DAP-powered membership site, to also be automatically added to this 3rd party list, so that you can use the 3rd party service to send out autoresponder emails (instead of, or in conjunction with, DAP).

Now if your 3rd party autoresponder service provide a “subscribable” email address (like, yourlist@autoresponder.com), then all you have to do to add all DAP members to this list, is to put the above email address (yourlist@autoresponder.com) into the “3rd Party Email Notification” field on the “Products” page in DAP.

For example, click here to see how DAP can automatically add members to your Aweber list.

But some 3rd party autoresponder services – like GetResponse, say – don’t allow you to use this subscribable email address (like, yourlist@autoresponder.com) to automate the adding of new members to the list. And they also don’t have an API, that scripts like DAP can use to seamlessly add members directly on the backend.

This is where this feature of DAP comes in handy.

In the documentation below, when we say 3rdPartyForm, we are referring to the sign-up form HTML provided by your 3rd party autoresponder service (like GetResponse) that will allow someone to enter their name and email id in the form and join the list. And when we say autoresponder, we are referring to your 3rd party list service.

At a high level, here’s how this integration works…

1) You first publish this 3rdPartyForm (that has your autoresponder id and other details) to a special php page within DAP (explained below)

2) Buyer buys your product from your web site’s sales page, DAP automatically creates an account, and sends buyer the “Activation” (double-optin) email. (Note: You must set your DAP Product to be double-optin in order for this to work).

3) Buyer gets double-optin email from DAP, that says something to the effect of: “You must click on the activation link below activate your membership account and get access to the product you have just purchased”. (Note: You can customize the double-optin email text on the “Products” page).

4) When buyer clicks on the DAP “Activation” link, she is first presented with your 3rdPartyForm. This form will be already pre-filled with her name and email address, and also disabled (name and email cannot be edited)

5) Upon clicking the submit button on this 3rdPartyForm, she is first added to your autoresponder, and then her DAP account is activated.

Now here’s how you set up the 3rdPartyForm…

1. Download this zip file, and unzip the php file inside – it’s called 3rdPartyForm.php. This is just a sample file. This file will have a different name by the time you use it.

2. Open this file with a text editor. Paste your 3rdPartyForm HTML that you have gotten from your autoresponder service.

3. Your 3rdPartyForm will have a field to redirect the user to a “success” page after the user has been successfully added to the 3rd party list. It will be a field named something like “redirect”.

This is how the form field looks in Aweber’s signup forms:

<input type=”hidden” name=”redirect” value=”<?php echo Dap_Config::get(“SITE_URL_DAP”); ?>/dap/activate.php?c=<?php echo $c; ?>&p=<?php echo $p; ?>“>

Now your autoresponder service might call it “redirect”, “success_url” or something similar. Just make sure whatever the field name is, the “value” of this field is exactly the same as shown below:

Do not change the special PHP code in the value field. Only change the name of the field (redirect, in the above example) if required.

3. Now go to the DAP product whose members you want to add to your autoresponder. From the Product page, get the “Product Id” field (shown right above “Product Name”). It is a number – like “1″ or “2″ or “10″. Make a note of this Product Id.

4. Now rename the 3rdPartyForm.php to <ProductId>.php . So if the Product Id from Step 3 above was 1, then name this file as 1.php. If it was 10, then name the file as 10.php.

5. Upload this 1.php (or 10.php) file directly to the folder “/dap/inc/“.

That’s it!

Just make sure the Product for which you are doing this, has double-optin enabled – which means put some text in the Double-Optin Subject and Double-Optin Body of that product.

Try adding a new user to that product, and you should see the 3rdPartyForm being presented first when the user clicks on the activation link. And only upon the submitting of this form, the user is activated in DAP.

redirect

DAP Scenarios (Use Cases)

The Basics

There is no such thing as a “Free Product” or a “Paid Product”. A DAP “Product” by itself has no classification (like “Free” or “Paid”).

But the “Content” that is part of this Product, can be either “Free” or “Paid”.

So while you can’t really set up a “Free Product”, but you can create a Product, add content to it, and then say that the content is available for “Free” (meaning, available only to “Registered” members who have registered for “Free”).

Now, let’s see the different ways in which you can use DAP.

Case 1: How to use DAP as an Email List

  1. Create and save a Product (a DAP “Product” is same as “Membership Level” same as “Email List”)
  2. Just add the Autoresponder email sequence to this product.
  3. No need to add any content, because you’re not dripping content, but dripping just emails.
  4. Click on the “Direct Signup HTML” link and copy the HTML
  5. Publish the HTML on any page of your site, just like you would publish a signup form from Aweber or GetResponse.
  6. The form collects “First Name” and “Email” from your visitor
  7. Anyone who signs up through this form is given access to that Product, and added as a “Free” user
  8. You can continue to drip autoresponder emails on them, and also send them email broadcasts.

Case 2: Free Signup. Then Promote Paid One-off Products

  1. There are no time limits or trials here. User signs up for free. You continue to promote your products to them.
  2. You will need to create 2 products here – 1 Free and 1 Paid
  3. Create your paid Product – “Paid Product 1″ as a Non-Subscription product (Is Recurring = No)
  4. Set up the content protection, dripping (if any) and emails.
  5. Create a new free Product  – “Free Product” – (which contains just free content and autoresponder emails)
  6. Use Direct-Signup to signup users for “Free Product”.
  7. “Joe Customer” signs up for free through this form, and becomes a free member.
  8. Keep dripping free content and emails on them. In the emails, you can promote the sales page(s) for your Paid Product(s).
  9. When Joe Customer eventually buys “Paid Product 1″, then now Joe automatically get access to “Paid Product 1″.
  10. When you search for Joe Customer’s email on the Users > Manage screen, you will see that Joe now has access to 2 products: “Free Product” and “Paid Product 1″

Case 3: Free Trial with Forced Continuity Forever

  1. You offer a 30-day free trial. After trial, subscription payments every 30 days, forever, until they cancel their subscription.
  2. Set up a Product in DAP as…
    Is Recurring: Yes
    Recurring Cycle 1: 30
    Recurring Cycle 2: 30
    Recurring Cycle 3: 30
  3. You can’t really do a “free” trial. You must charge at least 1 penny ($0.01) [because otherwise, Paypal (for instance) doesn't send the right information in the IPN. And credit card processors won't even validate the credit card if you try to charge $0.00, so when it's time for the subscription to be charged after a month, you will see a lot of declines and rejected cards].
  4. Set up your buy button (in Paypal, ClickBank, 1ShoppingCart, etc) to match the above subscription set up in DAP (from Step #2 above): A $0.01 trial for 30 days, then recurring payments of $X every 30 days, forever (never ends).
  5. Make sure you use the same Product Name in both DAP and in your buy button.
  6. Publish the button on your sales page. When someone clicks on the button and signs up (you’ve already set up the payment processor integration during setup), DAP will automatically give them access to this product for 30 days (Recurring cycle 1).
  7. After 30 days, if subscription payment comes in as scheduled, then the user’s “Access End Date” is extended by another 30 days. So they will get access to all the dripped content from Day #31 to Day #60.
  8. If user cancels before the trial is over (or their subscription payment fails for some reason), then their “Access End Date” stays the same, which means it automatically expires.

Case 4: Paid Monthly Recurring Product with No Free Trial

  1. Create a Product in DAP as…
    Is Recurring: Yes
    Recurring Cycle 1: 30
    Recurring Cycle 2: 30
    Recurring Cycle 3: 30
  2. Set up your buy button (in Paypal, ClickBank, 1ShoppingCart, etc) to match the above subscription set up in DAP (from Step #1 above): Instant payment of $X + Recurring payments of $Y every 30 days, with an forever (never ends).
  3. Make sure you use the same Product Name in both DAP and in your buy button.
  4. Publish the button on your sales page. When someone clicks on the button and signs up (you’ve already set up the payment processor integration during setup), DAP will automatically give them access to this product for 30 days (Recurring cycle 1).
  5. After 30 days, if subscription payment comes in as scheduled, then the user’s “Access End Date” is extended by another 30 days. So they will get access to all the dripped content from Day #31 to Day #60.
  6. If user cancels before the trial is over (or their subscription payment fails for some reason), then their “Access End Date” stays the same, which means it automatically expires.

Case 5: All Free Content, Available only to “Registered” Members, Dripped Content

  1. You wish to make all of your content available for free, but users must “Register” first (i.e., sign-up using their email id) so that you can continue to send them emails and drip content so that they don’t get it all on day #1 and then un-subscribe from your list.
  2. Create a Product, say, called “Marketing Tips”.
  3. Set “Is Recurring” to “N”.
  4. Add content to this product (blog posts, files, etc). Set up the drip for this content (day #1, day #7, etc)
  5. Set up email autoresponders, if any, and add to this product.
  6. Click on “Direct-Signup HTML” on the Product page, copy signup-form HTML, publish on any page of your web site.
  7. “Joe Member” signs up for free through this form, and becomes a free member.
  8. DAP will keep dripping free content and emails on members.

Case 6: All Free Content, Available only to “Registered” Members,All available Day 1

  1. Almost everything is the same as Case 5 above.
  2. Except when you set up the dripping, set all of your content to be available on Day #1.
  3. So when user signs up through your squeeze page, they have access to all of the content right away.

One-Time Offers (OTO)

OTO’s are now part of DAP. And they’re available for free to all DAP users.

This OTO script can also be used for making Upsells and Downsells too!

Only thing you have to remember is, that these won’t be 1-Click Upsells or 1-Click Downsells.  If you want true 1-Click Upsells, then do check out our plugin, Upsell-Tree, which allows you to do exactly that.

The Basics

  1. There is a file in your dap folder, called continue.php . This is the OTO script.
  2. Create and upload as many upsell and downsell pages – named, say, upsell1.html, downsell1.html, upsell2.html, downsell2.html – etc and store them in your root folder – the folder where your home page is (not in the dap folder).

Setting up continue.php

When you set up your buy button, after the sale, configure the “return url” to be:

http://YourSite.com/dap/continue.php?url=/upsell1.html

Of course, you should have already created a page called upsell1.html and uploaded it to the root of your web site (where your home page is).

So after your buyer has purchased your product, and arrive at this first upsell page, the URL they see in their browser will actually look like…

http://YourSite.com/dap/continue.php

They will not see the text “/upsell1.html” in the url, because continue.php would have already stripped out the file name from the end of the link.

So even if they bookmark it or share it with others, the URL they see will just be http://YourSite.com/dap/continue.php – which means they can’t get back to that page, and neither will the people they have shared the link with.

On each upsell page, you can make any offer you want. Let’s say you put the buy button on this upsell page to buy a different product. Now when you create the buy button for this new upsell product, make sure the “return url” for that button, is now…

http://YourSite.com/dap/continue.php?url=/upsell2.html

And you can also put a “No Thanks” button on each of these upsell pages, which could in turn take them either to a downsell page, or to an order completion page (where you thank them for your purchase).

Button Code For “No Thanks”

If your “No Thanks” button is going to lead to a downsell page, then here’s the code:

<form action=“http://YourSite.com/dap/continue.php?url=/downsell1.html” method=”post” >
<input type=”submit” value=”No, Thanks. I’ll skip this special offer” />
</form>

If your “No Thanks” button is going to lead to a final thank you page, where there are no more upsells or downsells, and where you simply thank your buyer for the purchase, then the code for that is:

<form action=“http://YourSite.com/dap/continue.php?url=/thankyou.html” method=”post” >
<input type=”submit” value=”No, Thanks. I’ll skip this special offer” />
</form>

Yes, you do need to be just a little bit technical for this. So, if you absolutely did not understand anything written above, then you should probably not be attempting to be doing OTO’s.

But if you simply have questions about how to use this for what you’re thinking to do, please feel free to ask them in the comments below.

- Ravi Jayagopal