Category Archives for "Paypal"

DAP Shopping Cart – Upsells only supported for Credit Card Payments

If you select “Allow Both CC and Paypal” option in the step 2 of button generation process, then on the checkout page you will find 2 options:

1. Pay with CC
2. Checkout with Paypal

The Pay-with-CC button on the DAP Cart Checkout page can be configured to lead users through a 1-click Upsell Funnel.

The “Checkout with Paypal” button on the DAP Cart Checkout page can’t do 1-Click Upsells but you can configure it to lead buyers to an upsell page with a ‘regular checkout with paypal’ button. If they click on it, it can send them to paypal to login and pay. It won’t be 1-click though. The user’s will be out of the DAP cart flow at this point. But that’s fine as the dap cart completes each individual transaction before sending users to the next page.

You could use our Paypal Upsell Tree Plugin for 2-click upsells with paypal, but this plugin is not integrated with DAP Shopping Cart. If you want to use this plugin, you will need 2 separate button on the sales page – pay with CC OR pay with Paypal instead of an integrated checkout option on the checkout page.

See –


 This feature is not supported currently. It will be available in DAP 4.5 (upcoming release of dap).
1) User-facing Cancel Button:
[DAPUserCancel showalltransactions=”Y” showcancel=”Y”][/DAPUserCancel]
If you use the above shortcode in a WP page, it will show all active transactions and if it’s a paypal or authnet subscription, it will show cancel button. Your customers can cancel their authnet / paypal active subscriptions by clicking on the cancel button.
Here’s how it works:

DAP picks up all the active products the user has.

For each active product, it checks if  there is a purchase transaction (transaction Id > 0) associated with that user->product row in Manage Users page.

–  if yes, the row is displayed with a cancel option.

–  if no, the script will move on to the next product

Cancel button will only show for :
 – Transactions that are cancellation eligble (for ex – it will show for active  subscriptions but not for one-time-purchases)
– And only if the cancel-eligible transactions are from Paypal or Authnet.   It will NOT show for other payment processors like Clickbank, Infusionsoft etc.
Here’s how it will look (you can customize the table header names and the cancel button image) :


You can customize the ‘cancel success msg’, ‘cancel failure message’ and the ‘cancel image’ as shown below:

[DAPUserCancel showalltransactions=”Y” showcancel=”Y” cancelsuccess=”Subscription Cancellation Completed Successfully!” cancelfailed=”Sorry, could not cancel the subscription!” cancelimage=””][/DAPUserCancel]

2) [DAPUserCancel showalltransactions=”N” showcancel=”Y”][/DAPUserCancel]

If you use this shortcode in a WP page, it will show transactions that are cancel-eligible (subscription transactions with paypal/authnet only).
Pick all the active products the user has.

For each active product, check if  there is a purchase transaction (transaction Id > 0) associated with that user->product row in Manage Users page.

– if yes, check if it’s a subscription purchase (IPN received by dap from the payment processor contains recurring_payment_id, or sub_id or subscr_id) and if yes, show it with a cancel button.


 – The cancel button will only show for authnet / paypal purchases. Auto-cancel not supported for other payment processors like Clickbank or Infusionsoft.

– Only cancel eligible (or already cancelled) transactions will show (i.e. one-time purchases will not show)


3) [DAPShowTransactions][/DAPShowTransactions]

You can use this shortcode to show ALL transactions (it’s just a dump of user’s transaction history.  Shows every single transaction for that user).



Gift Subscriptions

There are two ways members can buy gift subscriptions for others.

1) Use the recipient’s email id (but their own name and billing info) during checkout. So when DAP creates the member account, it will send the welcome email to the recipient’s email id.

NOTE: Using the recipient’s email id may not be an option if the gift giver is paying for it using their own Paypal standard account, in which case their Paypal email id will be used by DAP to create the membership account. So, the best option is the one explained below.

2) BEST OPTION: Have the buyer make the purchase in their own name, and then forward the welcome email (which has the password to the member’s area) to the recipient. And the recipient can then log in using that information, and can change any and all profile information on the User Profile page.

NOTE: If this is a subscription product, then the recipient should not change the “Paypal Email” field in the profile, which will be having the buyer’s Paypal email id, because recurring subscriptions will continue to come in using the buyer’s Paypal email id. And since the recipient is not the one being charged, and it’s still going to be charged to the gift giver’s account, they need to leave that field in there. So you can use the [DAPUserProfile] shortcode and maybe not even show the “Paypal Email” field.



DAP allows you to create Coupon codes for use as long as you’re using the DAP Shopping Cart, and accepting payments via one of the following:

  • Paypal Standard, and
  • Paypal Website Payments Pro.

1. To create a Coupon code, go to DAP Admin > Payment Processing > Coupons

2. The Coupon options can then be setup on that page:


You not only need to generate new Coupon codes, but you must also associate the Coupon to the DAP Products that should allow use of that Coupon. All of this can be done via the Coupons page.

Using Paypal Standard

If you are using paypal standard button, then create the DAP button with coupon enabled (under dap payment processing -> generate buy button page -> paypal standard tab) and put the coupon enabled button code on your sales page.

And when your prospect enters a valid coupon code in the form and clicks on the button, they will taken to the PayPal checkout page where they will see the discounted price

Using or Paypal Pro

If you are using DAP Shopping Cart that connects with or Paypal Website Payments Pro, then in addition to setting up the actual Coupon, you must also go to DAP Admin > Payment Processing > Cart Options , and enable Coupons for the product(s) of your choice.

Now when your buyer clicks on the the DAP buy button, they will be taken to the checkout page where they can see the option to enter a Coupon Code.


If a Coupon is not working, check if the coupon code has actually expired, by going to DAP Admin > Payment Processing > Coupons page.

Check to see if Start Date and End Date are current.

Make sure the coupon’s Actual Usage is less than the coupon’s Max Usage.


Leveraging Multiple Affiliate Networks

DAP is so powerful and flexible, that you can sell access to your membership through different payment processors, all at the same time.

And we often get asked how to leverage different affiliate networks like ClickBank and JVZoo and Warrior Plus at the same time while making sure no affiliate commissions are lost, and every affiliate gets credited their commissions for sending potential buyers to your site.

The Big Picture

1) If buyer arrives ONLY through DAP affiliate link, and ends up purchasing through ANY payment processor, then DAP affiliate will get credit.

2) If buyer arrives ONLY through CB affiliate link, and ends up purchasing through CB payment processor, but the buyer has a different DAP affiliate’s cookie from a link he clicked on at some point before (but did not purchase at that time, say), then both CB affiliate and DAP affiliate will get credit (double commissions on same purchase, but to two different affiliates).

If there’s no DAP cookie on his computer, then only CB affiliate will get the commission.

If the DAP affiliate “chains” two of his own affiliate links – his DAP affiliate link and CB affiliate link – like shown below, then same affiliate will get both CB commission as well as DAP commission. Again, double commissions but to same person.…./

3) If buyer arrives ONLY through JVZOO affiliate link, and ends up purchasing through JVZOO payment processor, but the buyer has a different DAP affiliate’s cookie from a link he clicked on at some point before (but did not purchase at that time, say), then both JVZOO affiliate and DAP affiliate will get credit (double commissions on same purchase, but to two different affiliates).

If there’s no DAP cookie on his computer, then only JVZOO affiliate will get the commission.

If the DAP affiliate “chains” two of his own affiliate links – his DAP affiliate link and JVZOO affiliate link – like shown below, then same affiliate will get both JVZOO commission as well as DAP commission. Again, double commissions but to same person.

The Right Setup For Multiple Affiliate Networks

To make sure that you’re not paying double-commissions on purchases, and also to make sure that sales don’t get lost between affiliate networks (and your affiliates losing their commissions in the process), you have to set things up the right way.

The main thing to do, is to create a separate set of the following for each affiliate network:

  • A separate DAP product
  • A separate Sales Page
  • A network-specific buy button on that sales page
  • If it’s a product that is sold through CB or JVZoo or DigiResults (or any of the affiliate networks), then DO NOT set up commissions for that Product in DAP. So that will prevent you paying a commission to, say, a CB affiliate as well as a DAP affiliate for the same purchase.

So the net effect of this, is…

If a CB affiliate sends traffic to a page, that page must have a CB buy link ONLY on that page. If you have, say, a JVZoo button on that same page, and the buyer buys through the JVZoo link, then the CB affiliate will get no commissions for that purchase. Which means, they will stop promoting your product because you’re basically funnelling off their visitors to a different affiliate network.

Similarly, the landing page for JVZoo affiliates must have only JVZoo buy buttons.

Landing page for a regular payment processor – like Paypal or – should have only a Paypal and/or buy button (and no CB or JVZoo buy buttons). In this case, for these products in DAP, you should set up an affiliate commission row on the “Affiliates > Manage” screen, so that your DAP affiliates can get credited for sales made through your regular web site.



Upgrading or Downgrading of Subscriptions

There are two main items that need to be addressed when it comes to a member wanting to Upgrade or Downgrade their Subscription from one membership “level” (a.k.a “Product” in DAP) to another.

1) Modifying the actual recurring payments to reflect the new amount

2) Giving them appropriate access as per the upgrade (or downgrade)

So let’s see how both of these are accomplished.

1) Modifying Recurring Payments

You do need to take some manual action for this. The way to do it is….

  • Ask your members to sign up for the new product/level/subscription separately, like it were a new sign up
  • Cancel their old subscription manually. When using Paypal standard, this can be done by both you (as the admin) and the member themselves. But with all of the other payment solutions, you (the admin) will have to log in to the payment gateway ( or Paypal Website Payments Pro) and manually delete the member’s old subscription). DAP will not automatically remove users old subscription profile in your payment gateway.

2) Giving your member access to new level

Set up automation rules using DAP’s Product Chaining feature, so that if they sign up for one Product (or “level”), they’re automatically removed from another Product (or level).

So if they are currently signed up to your “Gold Membership”, then when they sign up afresh for the “Platinum Membership”, then set up a Product Chaining rule that says, “If member signs up for Platinum Membership, then remove them from Gold Membership”. This is just to make sure that they don’t have access to two products (or “levels”) at the same time.


Affiliate Reports

DAP offers a number of affiliate statistics on the “Affiliates > Reports” page.

Here’s how it looks as of DAP v4.2.1.

1) Email Id of Affiliate

This is the field where you would enter the email id of an affiliate, if you want to generate a report specifically for an affiliate. If you leave it blank, the report will include all affiliates.

2) “From” & “To” Dates

By default, if you leave these fields blank, then DAP will assume “today’s” date – i.e., the date whenever you’re viewing this page.

3) View Performance Summary

This is the most detailed report available. This is the report being viewed in the above screenshot. For a given time period, for a given number of affiliates (“all” affiliates if (1) is left blank above), it shows…

  • Affiliate Id
  • Full Name
  • Email id
  • Clicks generated during selected period
  • Referrals generated (includes total of both Free and Paid referrals): If the referred member actually bought something, it constitutes a “Paid” referral. If they simply signed up, say, for your free newsletter or free report or free product, then it is counted as a “Free” referral.
  • Commissions Earned: This is the actual amount credited to the affiliate’s account during the selected period
  • Sales Generated: This is the amount of the actual sale (purchase) generated for your membership site.
  • Earnings Per Click (EPC): This is an indicator of how well your web site is converting clicks into signups/members. So if an affiliate sent you 100 clicks (on their affiliate link), and 5% of them signed up for your “FaceBook Secrets” membership product by paying $10 each, it means a total revenue of $10 x 5 = $50. And if you were paying 30% affiliate commissions for the product, then the affiliate earned $15 in total.Total clicks sent: 100
    Total affiliate earnings from those 100 clicks: $15
    Earnings Per Click (EPC) = $15/100 = $0.15 – which means, 15 cents per click.The higher the EPC, the easier it will be for you to attract other JV partners and super-affiliates.

4) View Earnings Details

This shows the breakdown of each purchase referred by each affiliate. It’s a detailed view of the affiliate earnings, that lists each and every transaction (order) in the system that was referred by affiliates, all generated for the selected time period. It displays…

  • Affiliate Id
  • Full Name
  • Email Id
  • Product (name) that was purchased by referred buyer
  • Referral Date (when affiliate was associated with buyer)
  • Date/Time of actual transaction
  • Trans Id: This is the transaction (order) id for the actual purchase
  • Earning Type (L: Lead, S: Sale): Says what type of a commission credit it was – whether it was a “Pay Per Sale” credit or a “Pay Per Lead” credit.
  • Id of User Referred: This tells you the actual user id of the buyer who was referred by the affiliate.


5) View Payments

This shows all payments made to affiliates during the period.

6) Refund Period

This is a config setting that you can change in Setup > Config. This is what drives which orders are picked up for affiliate payment. See this article for more details.

7) View Due Payments as of <date>

This is the MAIN button you should click to start the process of paying your affiliates each month (or however often it is that you pay affiliates). When you click this button, it will show you a report (see screenshot below) of commissions owed on all orders in the system UNTIL  X days ago, where X is your “Refund Period”.

So if today is 10/01/2011, and you have a refund period of 60 days, then DAP will only consider orders prior to 60 days as of today. Which means, orders up to 08/01/2011 (of course, depending on how many days in a month, you may not exactly end up with 08/01/2011, because it goes an actual 60 days back from today – and sometimes, the report will stop at the 2nd or 3rd day of the month – like 08/03/2011. But that’s ok, don’t worry about it). You just focus on paying your affiliates on whatever day you wish to make the payment.

So when you click on this button, DAP will bring you a summary report of all affiliates, and how much they’re owed today, for all transactions referred by them as of 08/01/2011 (as per this example).

And when you click on the “Export These Affiliates For Payment” button shown in the screenshot above, DAP will select and mark those affiliates as being exported for payment.

And DAP will show you Paypal Mass-Pay Ready text report, with the affiliate info and the commission amount info already filled in and ready to go. If you’re paying via Paypal Mass-Pay, then all you need is this file. See this post for details.

NOTE: Being exported for payment doesn’t mean that you’ve actually paid them. Exporting affiliates for payment only means that DAP has now “set aside” those affiliates for payment, and you still need to tell DAP that you’ve actually paid your affiliates.

This is important, because you might export affiliates for payment on the first of the month, but it may take you a day or two (or 10) to actually make the payment – especially if you’re sending out Checks.

So once you’ve made the payment either through Paypal mass-pay, or by mailing your affiliates physical checks, then you need to tell DAP that you’ve actually sent out the payments, which is what you’ll do in the step below.

8 ) Mark Affiliates from <export> as Paid

This is where you will select the most recent export from the drop down (see #8 in first image at the very top), and click the “Paid” button. This is what actually lets DAP know that you’ve actually made the payment, and only after you do this, will the affiliates see the payment show up in the “Payments” section on their “Affiliate Info” page.

9) Archived Reports

This is just a report that shows you past commission payment exports.


Merging User Accounts

User ID 111 has been created with email id

Same user buys a different product using a completely new (Paypal) email id. and DAP creates User ID 999 with PayPal email

User now has 2 accounts and wants only (user ID 111) to be active.

So here’s what you should do:

  1. Place in the PayPal email field of User ID 111 and save.
  2. Give User ID 111 access to all products that User ID 999 currently has active, with matching start and end dates.
  3. Delete User ID 999 fully from the system.

If User ID 111 purchases additional products through Paypal, and her primary Paypal email id is still, then that Paypal email id will be recognized by DAP, and all purchased products will be activated under User ID 111 and no additional User IDs will be created.

However, if User ID 111 has changed their primary Paypal email id to be something else like, then the next time they make a purchase, DAP will not know it’s the same person, and will end up creating a completely new user id for the buyer. Which means, you will have to do the merge again, and replace the old Paypal email id in DAP with the new Paypal email id of the buyer.


DAP Shopping Cart


This is the old, deprecated version of the DAP Shopping Cart add-on. This is still here for archive purposes only, and should only be used with DAP versions 4.4.x or EARLIER.

If you are wanting to use the new DAP Shopping Cart Plugin that supports Stripe and has a unified checkout page, etc, then you can download it from



This plugin replaces ALL files from both the “Paypal Payments Pro” Upsell-Tree plugin as well as the “” Upsell-Tree Plugin

Starting DAP v4.2, we have consolidated both the & Paypal Payments Pro Upsell-Tree Plugins into one simple set of files, and it has been named the DAP Shopping Cart, which will allow you to both accept one time and recurring payments, as well as do 1-Click Upsells.

This consolidated set of files is named , and is available for download from the members’ area at .

Upgrading from DAP v4.2

If you are upgrading to DAP v4.2 from a previous DAP version, and you’ve been using or Paypal Payments Pro to accept payments, then you must also upgrade to the new DAP Shopping Cart.

So all you need to is…

1) Download the file from the members area

2) Unzip it to your desktop

3) Upload all files inside directly to your main “dap” folder on your site. (do not upload the folder named DAPShoppingCart – upload only the files inside this folder)


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…
Don’t forget to replace “” with your actual web site’s domain name.

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

f) Click on “Save”.

1 2 3