Entries Tagged 'Paypal' ↓
January 23rd, 2011 — 1-Click Upsells, 3rd Party Integration, DAP, Integration with Shopping Carts, Payment Integration, Payment Setup and Integration FAQ, Paypal, Paypal Website Payments Pro, Plugins, Setup, Upsell Tree
DAP supports 3 different types of Paypal Integration.
1) Paypal Hosted Buttons
2) DAP Generated Buttons For Paypal
3) DAP Shopping Cart with Upsells
Let’s get into more details about each one of them.
1) Paypal Hosted Buttons
You generate the button within your Paypal account.
Click Here to find instructions to integrate DAP and Paypal Hosted Buttons.
If the integration is not working, Click Here to find troubleshooting instructions.
Note: you only need to set the following config items for Paypal hosted buttons.
a) If you want to use Paypal Sandbox for testing, then set the following to “Y”.
DAP Setup -> Config -> Paypal -> Use Paypal Sandbox: For initial testing only
If you want to connect to your Paypal live account, then set it to “No”.
b) If your site has trouble connecting to Paypal via CURL and you see this error in DAP orders page => Check Product and Price(Reprocessible), then update the config below to FOPEN.
DAP Setup -> Config -> Paypal -> 4) Paypal Communication Protocol: How DAP connects to and communicates with Paypal on the back-end.
That’s it.
The following config items are NOT needed if you use the Paypal hosted buttons.
Paypal API Username - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Password - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Signature – Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Endpoint - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal Business Email ID - Only needed if you use the DAP generated button for Paypal (DAP Payments/Coupons -> Generate paypal button)
Merchant Payment Gateway API Login ID: Only needed if you use e-junkie or the DAP upsell tree plugin for Authorize.net
Merchant Payment Gateway Transaction Key: Only needed if you use e-junkie or the DAP upsell tree plugin for Authorize.net
The following fields in the DAP Products page ONLY need to be set if you use DAP upsell tree plugin or the DAP generated button for Paypal.
Recurring Count, Trial Amount and Product Price
If you are using regular paypal button, you can leave these empty. Even if these are not-empty, DAP will not use it for regular paypal hosted buttons.
2) DAP Generated Buttons For Paypal
With DAP 4.0, we have added support for DAP generated buttons for Paypal. You no longer have to generate buttons within Paypal.
You can generate the button for Paypal from within your DAP Admin Panel -> Payment Processing -> Generate Paypal Button page.

Click Here to find instructions to integrate the DAP generated button with Paypal.
3) DAP Shopping Cart / DAP Upsell Tree Plugins
1) Paypal Standard Upsell Tree Plugin
2) Paypal Payments Pro Upsell Tree Plugin / DAP shopping cart
Click Here for details.
October 25th, 2010 — ClickBank, DAP, FAQ, Payment Integration, Paypal, Paypal Website Payments Pro, Troubleshooting, Upsells & Downsells
Starting with DAP v3.9, DAP now has support for ClickBank’s Instant Notification Services (INS).
This is very similar to Paypal’s Instant Payment Notification (IPN).
The ClickBank INS notification will be processed instantly in real time, and your members will receive their welcome email with their membership login info instantly after purchase.
For high-level ClickBank user-flow, see this post.
CB INS Setup
1. Login to your ClickBank account
2. Go to the “Account Settings” tab at the top
3. Click on “My Site” from the sub-menu at the top.

4. Under Advanced Tools, update the Instant Notification Service URL (accept the terms of service etc), and make sure the URL points to:
http://YourSite.com/dap/dap-clickbank.php
Replace YourSite.com above with your actual domain name.
5. Screenshot below shows Version 1.0, but starting DAP v4.2, we have added support for CB INS 2.1.
So if you’re using DAP v4.2 or later, then select INS Version 2.0 and set the CB INS URL TO :
http://YourSite.com/dap/dap-clickbank-2.1.php
But if you’re using DAP v4.1 or earlier, then select Version 1.0
and set INS URL TO:
http://YourSite.com/dap/dap-clickbank.php

6. Whatever value you put in the Secret Key field in ClickBank (see image above), put the same value (must be ALL UPPERCASE) in to your DAP Admin Dashboard on your web site, at:
Setup > Config > Payment Processing > Secret Authorization Key used when interfacing with external systems

7. The Product Title in CB must match the Product Name in DAP.
8. The Thank You Page url in CB product settings page, should be set to point a static thank-you page you create in your WordPress blog – something like http://YourSite.com/thank-you/ .
And the page should state something to the effect of…
Thank you for your purchase. The download information for the product you just purchased has been sent to the email id you just use during the purchase.
Please check that email id in a few minutes, and you will see an email from us with your login information.
That’s it!
Testing
Make a test purchase.
If the integration was setup correctly, the user will be registered in DAP. You will find the user account in the DAP Users > Manage screen and you will find the completed transaction / order details on the DAP Orders page.
If the test order is listed in DAP Orders page, then CB is correctly integrated with DAP. Check the payment status in DAP Orders page. If it says Success, but no welcome/thank-you email got sent, then make sure you set the thank-you email for that product in DAP products page.
Troubleshooting
If no order is listed in DAP orders page for the test purchase, then CB is not integrated with DAP.
To troubleshoot, do the following:
- Set DAP Setup > Config > Log Level to 5.
- Empty log content under System -> Logs.
- Run another test purchase.
- Send us the log snippet from System -> Logs.
October 9th, 2010 — 3rd Party Integration, Cancellations/Refunds, Fail, Paypal, Strategy
There are some scripts out there that will allow you to “pay affiliates instantly”.
What this essentially means, is that the “seller email” in your Paypal button, is actually replaced with your affiliate’s Paypal email id. Which means the payment from your buyer is going straight into your affiliate’s Paypal account, not yours.
This means that when your buyer looks at her Paypal account, it does not say payment made to you “John Seller” (you), but to “Joe Affiliate” (your affiliate).
This is a poor business practice on so many levels.
1) Customer bought a product from you. Why is her Paypal account showing that she just made a payment of $97 to “Joe Affiliate”? Your customer is thinking, “Wait a minute… Who the heck is Joe Affiliate? I did not buy anything from any Joe Affiliate. Why is my Paypal account showing that I paid him money? HELP!… Fraud… Paypal Dispute… Scammer… I want a REFUND!”. Well, that’s what we would think too if we bought something from one merchant, and saw the payment going to someone else.
2) What happens when your customer wants a refund? Now you’re going to have to ask Joe Affiliate to return the payment, because you never got it – he did. What if Joe Affiliate doesn’t respond on time? What if he doesn’t return the money on time? What if he doesn’t want to return it at all? Will you hold up your customer’s refund, or are you going to keep paying out of your pocket and “hope” that Joe Affiliate returns your payment to you this time, and not to the buyer, because you have already send the buyer their money back?
So yes, this is just bad for business. Not to forget, looks extremely unprofessional on your part too.
The only way to properly handle instant payments, is by using Paypal’s Adaptive Payments technology, which allows you to do something called “Chained Payments”. And using Chained Payments, your customer always pays YOU first. And you can set up a chain, so that as soon as their payment hits your Paypal account, Paypal in turn will instantly send a money from YOUR account to your AFFILIATE’s account. So Customer pays you, you pay the affiliate. And that’s how it should be.
Anything else will only get you in trouble with Paypal, maybe even get your account banned, piss your customers off, dilute your brand, your reputation may get trashed, and just about everything that is not good for your business could happen.
Now DAP does allow you to instantly ‘credit’ your affiliate’s account with the payment due, but you still have to push a couple of buttons before the affiliate can actually get paid.
And that’s how it’s going to be until we develop support for Paypal Adaptive Payments (which has its own complications, by the way).
What is your take on this? Feel free to leave your comments below.
September 7th, 2010 — Payment Integration, Paypal, Setup, Subscription, Switching to DAP, Users
We keep getting requests from folks wanting to switch their existing membership site from WishList to DAP. In some cases, they want to switch their main “bread-and-butter” membership site over to DAP, because of many things that DAP does that the others don’t.
We have finally decided to write a blog post about how to do that for those of you considering it.
1) Migrating “Free Members”
Moving free members over to DAP is very simple. Export your old members as a CSV (comma-separated) file containing just email, first name and last name(optional) in the following order:
Email,FirstName,LastName
Lastname is optional. No spaces before or after the comma’s.
And then import them on the “Users > Add” screen.
You can read more about importing users into DAP in this post.
2) Migrating “Paying Members” With Current Subscriptions
This is a bit trickier than migrating just free members. You not only have to import existing member information, but you also need to migrate over their existing subscriptions to point to DAP.
How this is done, primarily depends on what payment processor you were already using, and wish to continue to use while making sure all new incoming subscription payments get processed by DAP.
But before you migrate over their existing subscriptions, you have to import all of them first using DAP’s “Users > Add” screen, which allows you to import multiple users into a Product, while also marking them as “Paid”.
Before you do the import, be sure to empty both the “Double Optin” and “Thank-you” email subject and body on the Product page, because you don’t want DAP sending out any double-optin or thank-you emails to the members you are about to import. We can send them a broadcast email at a later point, when we’ve fully set them up correctly in the system.
Then once you’ve imported them all, you can modify each of their records quickly to modify their start and end dates, to sync with wherever they were in your previous WL site.
Then once you have all of their dates set up, all that remains is to integrate DAP with your payment processor, such that both payments from both new members as well existing members, all get processed by DAP, so that DAP continue to manage their subscriptions, and start giving them access to the member’s area, going forward.
Paypal Integration
Your current WishList subscriptions are probably already pointing to a WishList specific “virtual” URL. Unfortunately, Paypal will not allow you to modify the IPN url in existing “stored” subscriptions that are current.
So you will need to put in a new rule into your .htaccess file at the root of your web site, to simply redirect all incoming IPN notifications (that come to your WL virtual URL) to DAP’s Paypal-specific file on your site, which is:
http://YourSite.com/dap/dap-paypal.php
Once this is done, DAP will start processing all future subscription payments from existing members.
3) IMPORTANT
Before you create any DAP Products and start protecting content within DAP, make sure you have disabled the Wishlist plugin. Also be sure to disable any other “content protection” plugins, like “Maintenance Mode”.
August 24th, 2010 — 3rd Party Integration, Payment Integration, Payment Setup and Integration FAQ, Paypal, Setup, Transactions, Users
1) I got an e-mail with this subject:
[DAP] http://yoursite.com: dap-paypal: Invalid IPN Coming In
This can happen if you click on this URL in a browser.
http://yoursite.com/dap/dap-paypal.php (replace yoursite.com with the name of your site).
This is a backend script and should not be called directly via browser. But if you click on this accidently, this error can be ignored. Just make sure that the DAP and Paypal are integrated and purchases via Paypal are getting registered in dap correctly.
2) DAP Paypal IPN Error (Rejected): IPN Product Name = does not match any DAP Product Name.
But REJECTING MISMATCH it because of your Config settings (Product Mismatch)
Make sure that the item_name in Paypal button is set to eXactly match a DAP product name otherwise DAP cannot process the payment notifications. If the notification is for a product that you sell outside of DAP, then DAP will reject it with this error message and no action is needed.
If you want DAP to process Paypal notifications even if the product name in DAP does not match the Paypal item_name, then enable this setting in DAP :
DAP Setup -> Config -> Payment Processing -> Should DAP process Customer Emails even when the Product names don`t match ->
Set this to “Y” if you want DAP to process non-dap defined product purchase notification from Paypal.
3) Paypal failing with “Check Product and Price(Reprocessible)” in DAP Orders page
Note: DAP Orders page moved under Payment/Coupons menu in DAP 4.0
This could be due to a problem with the CURL library on your site.
With DAP 4.0, you can easily switch your site to use FOPEN instead of CURL.
DAP Setup -> Config -> Payment Processing -> How DAP connects to Paypal -> Select FOPEN
4) Can I use my Paypal account to sell products outside of DAP even if the global IPN points to a DAP script?
Sure. Paypal has 2 IPN settings:
a) Local button level IPN
This one needs to point to the DAP script (http://yoursite.com/dap/dap-paypal.php) on your site so for all sales via this button,
Paypal can send a notification to DAP.
b) Global IPN – under your Paypal profile -> instant payment notification preferences
This one is used by Paypal ONLY if button level IPN is not set. If the button level IPN is set, then Paypal ignores the global IPN.
We recommend that you set both button level and global IPN to point to the same dap script -
http://yoursite.com/dap/dap-paypal.php
(NOTE: replace yoursite.com with the name of your site)
Now, if you are selling other products outside of DAP using Paypal and for those Paypal buttons, if there is no button level IPN notification defined, then Paypal will look at the global IPN setting (which also points to dap) and send notifications to dap. But dap will reject that message because the product is not defined in DAP.
That is when you receive these ‘IPN rejected’ messages and you can ignore them.
5) I have integrated DAP and Paypal per your documentation but it still does not work.
Three key things to watch out for when you integrate DAP and Paypal are:
a) Make sure that the Paypal button has the item_name set to exactly match a DAP product name otherwise DAP cannot process the payment notifications.
b) Button-level IPN must point to DAP script (http://yoursite.com/dap/dap-paypal.php – replace yoursite.com with the name of your site).
In Paypal button creation page, under “Step 3: Customize advanced features (optional)†tab, within the “Advanced Variables†text box,
enter the following (change the text yoursite.com below to your domain name).
notify_url=http://yoursite.com/dap/dap-paypal.php
Note: replace yoursite.com with the name of your site
c) Global IPN must be enabled and pointed to the DAP script as descrbed in step 1 of this document.
http://www.digitalaccesspass.com/doc/setting-up-your-paypal-button-and-paypal-IPN/
6) What config items in DAP are required if I use Paypal HOSTED button?
If you want to use sandbox for testing, then
DAP Setup -> Config -> Payment Processing -> Use Paypal Sanbox For Testing -> Set to “Y”.
If your site has trouble connecting to Paypal via CURL and you see this error in DAP orders page – Check Product and Price(Reprocessible), then update the config to use FOPEN.
DAP Setup -> Config -> Payment Processing -> How DAP connects to Paypal -> Set to “Y”.
NOTE: In the DAP Products page, you ONLY need to set the Product Price, Trial Amount and Recurring Count if you use the DAP hosted/generated buttons for Paypal. Not needed if you use Paypal hosted buttons. You can leave it empty if you use Paypal hosted buttons. Even if you populate it, it will not be used.
If you use the Paypal hosted buttons, then you DO NOT need to set the following in DAP Setup -> Config -> Payment Processing ->
Paypal API Username - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Password - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Signature – Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal API Endpoint - Only needed if you use the DAP upsell tree plugins for Paypal Payments Pro or Paypal Standard.
Paypal Business Email ID - Only needed if you use the DAP generated button for Paypal (DAP Payments/Coupons -> Generate paypal button)
Merchant’s Payment Gateway API Login ID - Only needed if you use e-junkie or the DAP upsell tree plugin for Authorize.net
Merchant’s Payment Gateway Transaction Key – Only needed if you use e-junkie or the DAP upsell tree plugin for Authorize.net
==========================================================
Please check all of the steps at the link below…
http://www.digitalaccesspass.com/doc/setting-up-your-paypal-button-and-paypal-ipn/
Especially check the “notify_url” part towards the end.
If you are absolutely sure that you have followed all of the steps above, and DAP is still not creating an account for the new user, it is possible that your host is not allowing your server and Paypal to communicate correctly. You can confirm if this is an issue, by going to the “Orders” page, searching for all orders, and see if your test purchase in question has been recorded by DAP (even if DAP didn’t give access to the user).
If you find the order in DAP, but the user has not been created, then check with your host and make sure “fopen” or “curl” is enabled for your web site.
If they say it is enabled, and it still doesn’t work, please do the following:
1) Go to Setup > Config > Dap Log Level and set it to “5″.
2) Completely delete test user from DAP
3) Repeat test purchase
3) Go to System > Logs and copy/paste the information there into a support ticket
4) And then please update the ticket with…
* Domain name where DAP is installed
* FTP info
* DAP admin info
And we’ll investigate this asap.
5) Go to Setup > Config > Dap Log Level and set it back to “1″.
August 19th, 2010 — 1-Click Upsells, 1ShoppingCart, 3rd Party Integration, Cancellations/Refunds, ClickBank, Cron, Integration with Shopping Carts, Payment Integration, Paypal, Paypal Website Payments Pro, Setup, Subscription, Troubleshooting, Upsell Tree, Upsells & Downsells, Web Hosting
Direct Integration with Shopping Carts and Payment Processors
DAP directly integrates with the following Payment Processors without the need for any additional third-party shopping carts:
- Authorize.net
- 2Checkout.com
- ClickBank
- Digiresults
- Google Checkout
- e-Junkie (e-J does not allow recurring payments)
- JVZoo
- Paypal Standard
- Paypal Website Payments Pro
- Plimus
- WorldPay
- WSO Pro (Warrior Plus)
DAP also integrates with the following Shopping Carts
Indirect Integration through 3rd Party Shopping Carts
Since DAP integrates with Shopping carts like 1SiteAutomation.com (our white label of 1Shoppingcart), e-Junkie, Premium Web Cart and Infusionsoft, that means that it also integrates (albeit indirectly) with all of the Payment processors and gateways that these carts support. So, or example, since DAP works with 1SiteAutomation, it essentially integrates with all payment providers supported by 1SiteAutomation, like:
2CheckOut.com (direct integration too)
Authorize.net (direct integration too)
Bank of America
BluePay
Concord EFSNet
Cybercash
DPI Merchant Services
e-Commerce Exchange
Echo Inc.
ECX QuickCommerce 3.0
Epoch Systems
eProcessing Network
EPS SecureNet
EWAY (Australia)
FastTransact
Firepay
Google Checkout (direct integration too)
GoRealTime/EPP
GoRealTime
iBill
IntelliPay ExpertLink
IONGate (Costco)
iTransact RediCharge
LinkPoint Secure
MCPS WebLink
MerchantPartners
Moneris
NETbilling
Network Merchants
Paradata
PayCom Processing
Paymentech (direct integration via Authorize.net)
PayPal (direct integration too)
PayPal Payflow Pro (via e-Junkie)
PayReady
Planet Payment
PRIGate
PSiGate
RightConnect
RTWare WebLink
Shift4
SkipJack
StrataPay
Surepay
TrialPay (via e-Junkie)
TrustCommerce
USAEpay
uSight
VeriPayment
VeriSign PayFlow Pro
ViaKlix (Nova Systems)
WorldPay (direct integration too)
YourPay
For the full list and more details, click here
1-Click Upsells
If you use DAP as a shopping cart, then you can do 1-Click Upsells/Downsells like the pros, without the need for any external shopping cart or upsell service provider.
DAP directly allows you to do 1-Click Upsells using Authorize.net, Paypal Website Payments Pro and Paypal Standard. Upsell-Tree plugin for Authorize.net and Paypal Website Payments Pro is included for free along with your purchase of DAP. However, the Upsell-Tree plugin for Paypal Standard is sold separately.
Of course, if you need advanced shopping cart features – like ability to calculate shipping, tax, and coupons, then you’re better off using 1SiteAutomation.com.
1ShoppingCart & GoDaddy
If you want automated recurring order processing using 1ShoppingCart (1SC) or 1SiteAutomation.com, then DAP needs to be able to process the recurring email notifications sent by 1ShoppingCart, which it does on the back-end when the DAP Cron Job runs every 10 minutes.
However, if you’re using Godaddy as your web host, then because GoDaddy disables a mandatory PHP library (“imap”) on all their servers for some reason, DAP is unable to process the recurring order email notifications from 1ShoppingCart.
This is not an issue if you are using GoDaddy as just your domain name registrar, and using some other service like Dreamhost or Hostmonster as your web host.
But if you’re using 1SC & GoDaddy hosting, you will have to end up doing manual cancellations if any member cancels their subscription, or if their credit card fails and their recurring payments don’t get processed.
Please note that 1ShoppingCart order processing works great with all other (non-GoDaddy) hosts.
June 29th, 2010 — Admin, Cancellations/Refunds, ClickBank, Integration with Shopping Carts, Payment Integration, Paypal, Paypal Website Payments Pro, Subscription, Transactions, User Status, Users
The Question
How does a customer, once they have signed up and become a member, cancel their membership (or get for a refund)?
Cancellations
If it’s Paypal, they could go into their Paypal account, and cancel their subscription themselves.
If it’s ClickBank, they can log in to their CB account, and cancel their subscription themselves.
If it’s any other payment processor or cart – like 1SiteAutomation.com, Authorize.net, Paypal Payments Pro, etc – then they have to ask you (the membership site owner) to cancel.
Refunds
Except with CB, in all other cases, they have to ask you for a refund
Action Steps For DAP Admin
Whether it’s a cancellation or a refund, log in to your Payment Processor (1shoppingcart, Authorize.net, etc), and make sure you perform the cancellation or refund there. DAP does not store any of the payment information of your subscriber. So both cancellations and refunds have to be performed at your Payment Processor.
Now that you’ve cancelled the actual charging of the customer at the payment processor level, you have to also take care of the customer within DAP – only for refunds.
Cancellation Of Ongoing Subscription in DAP
If this is the cancellation of an ongoing subscription, then no action required within the DAP Dashboard as far as the User is concerned. DAP already does “Pay As You Go” processing – which means, their account will automatically expire at the end of the current recurring period (eg., end of current month). The “Access End Date” of the user’s access to the Product will automatically expire if no new payments come in. And then they’ll automatically lose all access to the content that is part of that Product.
However, if this is the cancellation of a “trial”, where if the user comes back and signs up again for another trial a few weeks or months later, then you want the user to start all the way AT THE BEGINNING. So if it’s the cancellation of a “trial” then you must manually remove the user’s access to the product. So for that, follow the process below.
Refunds (and Cancellation of Trial) in DAP
If it’s a refund of just one recurring payment, or the cancellation of a trial, then you can go into the “Users > Manage” screen, search for the user, and do a “Rollback Access for Selected User(s) to the Product by 1 Recurring Cycle“.
If it’s a refund of the entire purchase, then…
- Search for that user by email on the “Orders” page, which will bring up their Order (a.k.a “Transaction”)
- Click on the “Refund” button on that screen. That will create a new negative transaction in the Orders table. Then it also roll-backs any affiliate commissions earned on that sale and make a negative entry in the database for that affiliate. Then it rolls back user access by the number of days entered in one of the “Recurring Cycles” entered on that Product’s page (depending on how far along they were in as a member).
- Now search for that user by email on the “Users > Manage” screen. Make sure that they no longer have access to the Product.
For a big-picture view, also see Cancellations & Refunds
March 22nd, 2010 — 1-Click Upsells, Integration with Shopping Carts, Payment Integration, Paypal, Plugins, Upsell Tree
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.
Please note that this is not “True 1-Click”, like you can do with a real merchant account – because of the very fact that Paypal expects your buyers to log in at least once into their paypal account through Paypal.com, and then at the end of the Upsell-flow, there is one final confirmation page. So it’s more like “2-Click Upsells” really.
If you want true 1-Click Upsells, then you need to have a merchant account through Paypal Website Payments Pro or Authorize.net.
IMPORTANT: What you need before you can use this plugin
- You need a Paypal (Standard) Business or Premier account
- You must have SSL (secure server) enabled on your web site. Ask your web host to enable SSL for your site.
- You must have a working version of DAP 3.7+
- You cannot sell a “Recurring” product as an Upsell – recurring products have to be the first product in the flow.
- Here’s what you CAN do: You can have a recurring product as the very FIRST product that they purchase (when they first click on the “Buy” button on your main sales page, and then you can offer any number of “One-Time” Products as upsells or downsells.
- 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
- You need to be running at least DAP v3.7 for this plugin to work
- Purchase the UpsellTree plugin if you haven’t already done so, login to your DAP account and download the plugin zip file, PaypalStandardUpsellTree.zip .
- Unzip the file to your desktop. That will create a new folder on your desktop, called “PaypalStandardUpsellTree” which will have all of the files inside.
- Upload all the files inside, directly to your “dap” folder on your web site.
- DO NOT upload the folder itself. Just the files inside.
- Installation of Paypal Upsell-Tree Plugin is complete.
- Next, log in to your Paypal account.
- Click on “Profile”
- Click on “Request API Credentials” (under ‘Account Information’ section). It will bring you to the API access page.
- Under Option 2, click on “Request API credentials” to create your own API username and password.
- Click on “Request API signature”
- Click on “Agree & Submit”
- Note down the following pieces of information:
* API Username
* API Password
* API Signature
- That’s it as far as your Paypal account is concerned. Now back to DAP on your site.
- Log in to your DAP Dashboard
- Go to “Setup > Config“. On that page, click on the “Paypal” link in the links towards the very top of that page (or scroll down to the “Payment Processing: Paypal” section).
- Enter the 3 pieces of information (from Step #13 above) into the Config fields 7, 8 & 9 on that screen: Paypal API Username, Paypal API Password, and Paypal API Signature. Cick “Update” and save the changes.
- Generating the Paypal Upsell Buy Buttons:
In the DAP Dashboard menu, go to Payment Processing > Generate Buy Button
You will now see that you’re on the default tab “Paypal Standard”.
- So now select the DAP Product for which you’re trying to generate the buy button, from the Product list.
- Now, once the page has refreshed, scroll down to the bottom of this page, and you’ll see an expandable section with the heading “Paypal Standard 1-Click Upsells”
Expand that section by clicking on the “+” image.
- You will see the following two links in that section…Generate Paypal Standard 1-Click Primary Button
Generate Paypal Standard 1-Click Upsell ButtonThe first one is for generating the buy-button code for your primary product (the very first product in the flow). The second one is for all upsells.So if this is the first time you’re doing this, and for your main product, click on the first link.
- If all of your Product’s settings are correct, then you’ll see a small popup that contains the buy-button HTML code. Paste this code into a blank notepad (or text editor) window.
So let’s say this is what the code you got looks like…<form name=”generate_paypal” method=”post” action=”/dap/PaypalSetExpressCheckout.php”>
<input type=”hidden” name=”item_name” value=”Facebook Secrets Subscription”/>
<input type=”hidden” name=”description” value=”This is a Subscription Product with a monthly subscription – payments every 30 days.” />
<input type=”hidden” name=”amount” value=”10.00″ />
<input type=”hidden” name=”trial_amount” value=”0.00″ />
<input type=”hidden” name=”total_occurrences” value=”9999″ />
<input type=”hidden” name=”is_recurring” value=”Y” />
<input type=”hidden” name=”recurring_cycle_1″ value=”365″ />
<input type=”hidden” name=”recurring_cycle_2″ value=”365″ />
<input type=”hidden” name=”recurring_cycle_3″ value=”365″ />
<input type=”hidden” name=”payment_succ_page” value=”https://YourSite.com/dap/continue.php?url=/dap/upsell1-paypalstandard-sample.html” />
<input type=”hidden” name=”payment_err_page” value=”https://YourSite.com/dap/paymentError.php” />
<input type=”hidden” name=”payment_cancel_page” value=”https://YourSite.com/dap/cancel.php” />
<input type=”hidden” name=”payment_gateway” value=”paypal” />
<input type=”hidden” name=”is_submitted” value=”Y” />
<input type=”image” src=”/dap/images/btn_xpressCheckout.gif” align=”left” width=”200″ height=”50″ style=”margin-right:7px;” value=”Submit” alt=”Submit”>
- Look at the payment_succ_pagetag in the generated button code and have it point to your sales page for your upsell.In the above example, the upsell page is called upsell1-paypalstandard-sample.htmland it’s under the dap folder.Put this HTML code on the primary product’s sales page. This is the first product in the flow.
- Now, you need to generate a button for your upsell product. So go back to Payment Processing > Generate Buy Button . This time, pick the Upsell product from the list.
- Now scroll down to the bottom of this page, expand the section “Paypal Standard 1-Click Upsells” , and this time, click on the second link there, because you’re now generating a buy-button for the Upsell product.Generate Paypal Standard 1-Click Primary Button
Generate Paypal Standard 1-Click Upsell Button
- Say this is the button code you get this time…<form name=”generate_paypal” method=”post” action=”/dap/PaypalAddToCart.php”>
<input type=”hidden” name=”item_name” value=”Upsell 1″/>
<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=”10.00″ />
<input type=”hidden” name=”trial_amount” value=”0.00″ />
<input type=”hidden” name=”total_occurrences” value=”9999″ />
<input type=”hidden” name=”is_recurring” value=”Y” />
<input type=”hidden” name=”recurring_cycle_1″ value=”365″ />
<input type=”hidden” name=”recurring_cycle_2″ value=”365″ />
<input type=”hidden” name=”recurring_cycle_3″ value=”365″ />
<input type=”hidden” name=”payment_succ_page” value=”/dap/PaypalCheckoutConfirm.php” />
<input type=”hidden” name=”payment_gateway” value=”paypal” />
<input type=”hidden” name=”is_submitted” value=”Y” />
<input type=”submit” value=”AddToCart” />
</form>
- Now again, notice the payment_succ_page in the generated button code. You will see its pointing to /dap/PaypalCheckoutConfirm.php.
a) If this is the last upsell, then leave it pointed to /dap/PaypalCheckoutConfirm.php.
b) If this is NOT the last upsell, then update it to point to the url of the 2nd Upsell page (like we did for the primary product to point to the first Upsell sales page) and repeat the process above for the next upsell page.Bottom-line: Make sure that both the buy-button code as well as “No Thank You” link on the last upsell or downsell page, points to /dap/PaypalCheckoutConfirm.php
- When your buyer reaches the final checkout confirmation page (PaypalCheckoutConfirm.php) then they can review all of the products in their “Upsell Cart”, and buy them all instantly and all together, without having to go back to Paypal ever again.
- Things To Note:
a) 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
b) Modify the file upsell1.html within your dapfolder, 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.b) 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.
c) 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.Repeat this process for unlimited upsells, downsells and one-time offers. No limits.
“No, Thank You” Buttons & Links
On every upsell page, you must also include a “No, Thank You” button or link that will allow your buyer to skip your upsell or downsell, and go to the next part of the sale.
For all upsells that are not the last upsell, you can link this button or link to the next upsell in the chain. So basically, on Upsell 1, they can either take the upsell1 (whatever your offer is) by clicking on the buy button, or click on the “No, Thank You” button/link, and you could then either taken them to the URL of Upsell2, or Downsell 1, or if this is the last upsell in the flow, then you could send them directly to the Paypal Upsell Summary Page /dap/PaypalCheckoutConfirm.php
Creating a “No, Thank You” button
Button to take them to next Upsell/Downsell:
<form name=”nothankyou”>
<input type=”button” name=”nothankyoubutton” value=”No, thank you, I wish to skip this incredible offer” onClick=”location.href=’https://YourSite.com/dap/continue.php?url=/dap/upsell2.html‘;”>
</form>
Feel free to copy the above HTML button code for the no-thankyou button. However, paste it into a text editor and be careful and don’t delete any of the HTML code, and only change actual URL’s or the button’s value (which is the text your buyer will see on the button).
Button to take them to final Checkout Summary page:
<form name=”nothankyou”>
<input type=”button” name=”nothankyoubutton” value=”No, thank you, please complete my order” onClick=”location.href=’/dap/PaypalCheckoutConfirm.php‘;”>
</form>
Creating a “No, Thank You” link
Link to take them to next Upsell/Downsell:
<a href=”https://YourSite.com/dap/continue.php?url=/dap/upsell2.html“>No, thank you, I wish to skip this incredible offer</a>
Link to take them to final Checkout Summary page:
<a href=”/dap/PaypalCheckoutConfirm.php“>No, thank you, please complete my order</a>
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.
January 27th, 2010 — Payment Integration, Paypal, Paypal Website Payments Pro, Plugins
This post includes information about generating buy buttons for Paypal Website Payments Pro. It also has information about setting up 1-Click Upsells.
Even if you don’t wish to do upsells, you should follow the rest of the setup from this page for Paypal Website Payments Pro .
What you need before you can use this plugin
- You need a Paypal Website Payments Pro merchant account with Recurring Billing enabled.
- You must have SSL (secure server) enabled on your web site. Ask your web host to enable SSL for your site.
- You must have a working version of DAP 4.2+.
- Login to the DigitalAccessPass.com member’s area and download the file, DAPShoppingCart.zip .
- Unzip it to your desktop. It will unzip the files to a new folder on your desktop, called “DAPShoppingCart”.
- Upload all the files inside, directly to your “dap” folder on your web site. DO NOT upload the folder itself.
- After the files are uploaded, check to make sure that you find the files checkout.php and checkout-submit.php (just to name 2) directly under the dap folder. If you don’t, then you haven’t uploaded the files to the right directory.
Installation & Setup
-
Enabling Instant Payment Notification (IPN) within your Paypal account.
a) Log in to your Paypal account and click on the “Profile” link.
b) Go to Instant Payment Notification
c) If IPN is already enabled, and you already have a URL in that field, then skip ahead to Step 2.
Else, 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”.
-
Enable “Auto-Return” and “Payment Data Transfer”
Log in to your Paypal account.
Go to Profile.
Click on Website Payment Preferences
Turn Auto Return to On (see image below)
Set Return URL to http://YourSite.com/dap/dap-thankyou.php
Scroll down further to the Payment Data Transfer (optional) section
Set Payment Data Transfer to On
Scroll all the way to the bottom of the page, and then Save the changes.
You will now see a green check mark image, with a long string of characters on line 2. That is your Paypal Identity Token. Copy that string.
Go back to DAP Dashboard > Setup > Config > Payment Processing > Paypal Identity Token field, and enter this string there, and save it.

- Log in to your Paypal account and retrieve the following 3 pieces of information:
Paypal API Username
Paypal API Password
Paypal API Signature
- Now log in to your DAP Dashboard and go to “Setup > Config“. Click on the “Paypal” link in the sub-menu at the top. The current page will then skip to the “Payment Processing: Paypal” section about half-way down the page.
The current page will then skip to the “Payment Processing: Paypal” section about half-way down the page.

- Fill out items (1) through (10).ÂÂ
- Into fields 7, 8 and 9, enter the Paypal API Username, Paypal API Password, and Paypal API Signature that you noted down earlier.
- 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.
- We’re going to assume that you’ve already setup the pricing and recurring options on the Products/Levels > Manage page, on the Pricing & Recurring tab.
- Now click on Payment Processing > Generate Buy Button on the DAP Admin Main Menu.
- Switch to Auth.net & Paypal Pro tab.
- Select the product name for which you wish to generate the buy button. Sections 1 and 2 are self-explanatory.

- If you want to put the shopping cart page right within a WordPress page, then do this…
a) Set the Payment Success Page to point to the page where you want users to be redirected upon purchase. It can be your login page, or a static thank-you page that informs the buyer to check their email id
b) Create a WP Page with the title Checkout containing the tag %%DAPCART%% tag and publish it. The permalink of this page would now become https://yoursite.com/checkout. Remember to add the “s” to “http” to make it “https://”. This page is not something you should access directly, but only through clicking a buy-button.
c) In the above screenshot, where it asks for “Checkout Page in WordPress”, enter the URL of your new checkout page from Step (b) above. Replace yoursite.com with the name of your site.
NOTE: The checkout page URL should start with https (SSL-enabled) and not http.
- When done with sections 1 & 2, at the bottom of section 2, click on the Generate DAP Shopping Cart Button Code
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.
- Here’s what the HTML code looks like:
<form name="DAPCartPaymentForm" method="post" action="https://yoursite.com/dap/checkout.php">
<input type="hidden" name="payment_succ_page" value="http://yoursite.com/members/"/>
<input type="hidden" name="item_name" value="Bronze Members" />
<input type="hidden" name="is_submitted" value="Y" />
<input type="hidden" name="btntype" value="buynow" />
<input type="hidden" name="is_last_upsell" value="N" />
<input type="hidden" name="payment_gateway" value="paypal" />
<div align="center"><input type="image" src="https://yoursite.com/dap/images/addtoorder1click.jpg" width="200" height="100" border="0" name="submit" /></div>
</form>
- Put the button code on your sales page. Now click on the button, it will take you to the checkout page (if you customized the checkout page as per step 12 above, then you’ll be taken to https://yoursite.com/checkout).
- Enter the CC details and other info and hit submit.
- The purchase will complete and DAP will redirect you to whatever you set in the Payment Success Page in the button.
That’s it for Paypal Pro button generation.
1-Click Upsells
- If you’re doing upsells, the only thing you need to do is, look for the “payment_succ_page” field in the above form.
- Point it to the URL of your Upsell offer. This can be either a static HTML page, or a WordPress Page.
- 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 generate the buy button code for Product B and have it already published on that page.
- You can repeat this process for unlimited upsells, downsells and one-time offers. No limits.
Creating Custom Header & Footer for Checkout Page
You can either use the standalone cart page, and then customize the header and footer.php file.
Or you can put the cart right within a WordPress page on your site, so the cart will then take on your theme’s look and feel, and look like it were completely a part of your wordpress site.
Header & Footer for Stand-alone Cart page
To create custom header and footer, create two files by name cartheader.php & cartfooter.php
Upload them to the dap/inc/ folder.
Whatever HTML snippet you put in the above two files will show up as header & footer on the check out page.
Shopping Cart Overview
See http://www.digitalaccesspass.com/doc/dap-shopping-cart-overview/
Summary
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.
June 24th, 2009 — 1ShoppingCart, Admin, ClickBank, Control Panel, FAQ, Integration with Shopping Carts, Payment Integration, Payment Setup and Integration FAQ, Paypal, Products, Setup, Username & Password, Users
(OR) How do members get access to the content
(OR) How does someone become a member?
With DAP, you can add users to your membership site in 3 different ways.
1. PURCHASE: Someone buys your product or subscribes (“Paid” member with access to both free and paid content)
2. FORM SIGNUP: Someone signs up through a signup form (“Free” members with access to only free content)
3. ADMIN ADDED: You add them as a member directly through the DAP Admin Control Panel (you can mark them as either “free” or “paid”)
All three are explained in detail below.
1. PURCHASE
*You first create a “Sales Page”.
On your sales page, depending on which payment processor you use, you go to Paypal/1ShoppingCart/ClickBank and create a new product with the EXACT same name as the product you created within DAP, and get the ‘Buy Button’ link from your Payment Processor. Publish this “Buy Button” on your sales page.
* Your visitor goes to your sales page
* They purchase your product
* Your payment process (Paypal/1ShoppingCart/ClickBank) notifies DAP that you have a new purchase.
* If the product names match, DAP automatically creates an account for them, generates a random password, and sends them an email with their email/password. You can customize the contents of this email on the “Templates” screen in your DAP Admin Control Panel. Integration with your shopping cart explained elsewhere (see documentation for setup).
That’s it!
That’s how “buyers” get added to your membership site and get access to the product they just purchased.
2. FORM SIGNUP:
You wish to give someone a “Free” membership.
NOTE: “Free” members who do not have a payment associated in DAP (which means they have not purchased anything) will have access only to content that you have marked as “Free”.
Once you have created a Product in DAP, and have added content (blog post/page links, links to files, etc), and have saved it, on the Product page, below the Product name list, you will see a link called “Direct Signup HTML”. (See image below). You must first select a Product before you can copy the correct form HTML.
Fig 1. Direct Signup Link on Products page

Fig 2. Form HTML that you get on clicking the Direct Signup Link

This HTML gives you the full HTML form code that you can publish on any page of your web site. This form only collects an email address and a first name.
Take this HTML code and publish it on page of your web site where you want sign up users. This could be a WP page or post too.
Note: When you see the above HTML code, there’s a field in there that looks like this:
<input type=”hidden” name=”redirect” value=”http://YourSite/Your-login-page-link/?msg=Success!%20Your%20membership account%20has%20been%20created.%20%20Check%20your%20email%20address%20in%20a%20few%20minutes%20for%20your%20password“>
Don’t forget to change the text above, where it says “http://YourSite/Your-login-page-link/?…” to point to your actual domain name and to your actual login page (if you have customized it).
Then, when someone enters their email address and first name and signs up through the signup form, DAP creates an account for them using that email address, creates a random password, and sends them an email with their email/password.
After that, you can drip any content or emails on them that are marked as “Free” (when adding content or emails).
At some later point, if they purchase any of your “Paid” products (see the “1. Purchase” section above), then as long as they use the same email id during purchase, DAP will automatically give them access to all of the “Paid” content in the Product that they just purchased.
3. ADMIN ADDED:
If you wish to directly give someone access to a Product and all its content and emails, you can add them directly from the DAP Admin screen (Users > Add/Edit).
You just need their email id and their first name (both of which they can change subsequently) to add them to a Product.
While adding them, you have the option of marking them as a “Paid” user by checking the “Mark as Paid” checkbox.
If you don’t check this check box, then they will be added as a “Free” user and get access only to “Free” resources (content/emails).
But if you check the “Mark as Paid” checkbox, then they will get access to all “Paid” content and emails, just like someone who is actually a “Paid” member.