DAP Admin

Author Archives: DAP Admin

Disabling Login IP Security Check

DAP has a security check to prevent password sharing.

And starting DAP v4.4, you can turn this off at both a per-user level and also at a global site-wide leve.

Disabling IP Check For Individual Users

  • Search for the user on the Users > Manage page
  • Click on their email or user id, and you will now be taken to the “User Edit” page
  • There, on their user profile, towards the bottom, set the field “Exclude from Login IP Check” to “Yes” and save.

dap-exclude-login-ip-check

This user will now be excluded from login IP check.

NOTE: If the user’s account is currently already locked, then you also need to unlock it this one time, but going forward, the account is now whitelisted, and will not get locked again.

Disabling IP Check For All Users (Site-wide)

If you wish to permanently disable this for all users in your membership site, then here’s how to do it:

  • Go to DAP Admin > Setup > Config
  • Set “IP Login Limit: Max. # of User Logins From Different IP’s” to a high number – like “100″.
  • Set “Flush Login IP Records How Often? Every….. ?” to “Day” so that any accumulated IP records gets flushed every day.

That’s it!

19

[DAPShowTransactions]

[DAPShowTransactions][/DAPShowTransactions]

1) You can use this shortcode to show ALL transactions (it’s just a dump of user’s transaction history. Shows every single transaction for the logged-in user). Currently only one transaction template is available (template1).

showalltransactions

[DAPShowTransactions template=”template1″ showinvoice=’N’][/DAPShowTransactions]

2) You can also use this shortcode to show an ‘invoice’ link per user order / transaction. When the users click on the invoice link, a new window will open where the invoice will be displayed in pdf format. You can set the DAPShowTransactions shortcode to use invoice template1 or template2.

showalltransactions

The invoice pdf that opens up when the users click on the invoice hyperlink (View PDF) depends on whether the shortcode is set to invoicetemplate=template1 or invoicetemplate=template2.

PDF Example:
Shortcode with Invoice template 1:
[DAPShowTransactions template=”template1″ invoicetemplate=’template1′ adminemail=’joe@example.com’ companyname=’DigitalAccessPass.com’ showinvoice=’Y’ logo=’/home/mysite/mysite.com/wp-content/plugins/DAP-WP-LiveLinks/includes/transactions/invoices/template1/images/logo.png’ showinvoice=’Y’][/DAPShowTransactions]

IMPORTANT NOTE:

Make sure the “logo” field is set correctly in the shortcode. It should contain the FULL path to the logo image.

If you add logo image to a folder called images at the root of your site. Then the logo image should be set to point to the FULL path of this image.

For ex- /home/mysite/mysite.com/images/logo.png

If you do not know how to get the full path to a folder on your site, your webhost can help with it.

Shortcode with Invoice template 2:
[DAPShowTransactions template=”template1″ invoicetemplate=’template2′ adminemail=’joe@example.com’ companyname=’DigitalAccessPass.com’ showinvoice=’Y’ logo=’/home/mysite/mysite.com/wp-content/plugins/DAP-WP-LiveLinks/includes/transactions/invoices/template1/images/logo.png’ showinvoice=’Y’][/DAPShowTransactions]

Here’s the list of all shortcode options:
‘template’ => ‘template1’
– only valid value is ‘template1’
‘invoicetemplate’ => ‘template1’
– valid values are ‘template1′,’template2’
‘adminemail’=> => ‘joe@example.com’
– Admin Email displayed in the invoice pdf report
‘companyname’=> ‘Your Site Name’
– Company name displayed in the invoice pdf report
‘companyurl’=> ‘http://YOURSITE.com’
– Company website link displayed in the invoice pdf report
‘logo’=>’/home/mysite/mysite.com/wp-content/plugins/DAP-WP-LiveLinks/includes/transactions/invoices/template1/images/logo.png’
– Company logo
‘notranmsg’=> ‘Sorry, no transactions found’
– If there are no orders / payment transactions for the user, this message will be displayed
‘showinvoice’ =>’Y’
– if set to “N”, invoice column with hyperlink to the pdf report will not be displayed

[DAPAutoCancel]

 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) :

autocancel_all

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=”http://YOURSITE.com/wp-content/plugins/DAP-WP-LiveLinks/includes/images/CancelButtonUp.gif”][/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.

Note:

 – 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)

autocancel_eligible

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).

showalltransactions

Emailing Expired Users

You can send an email broadcast to expired users of a product/level, on the DAP Admin > Email > Broadcasts page, by selecting Group #4.

The same feature works for sending emails to those who have “Cancelled” their subscription or trial.

Go to DAP Admin > Email > Broadcasts
Select Group #4.
1st drop-down: Select Product Name
2nd drop-down: Select “Have Already Expired”
3rd text field: Enter within how many days the users should’ve expired – as in, expired in the “Last X Days

dap-broadcast-cancelled-users

Once you’ve scheduled the broadcast, the emails will be sent out at the top of the hour when the DAP hourly cron runs.

2

Paypal Standard Upsell Plugin

Upsells, Downsells and OTO’s are now extremely simple to implement using the  “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 Standard / Business Account.

IMPORTANT: What you need before you can use this plugin

  1. You need a Paypal (Standard) Business or Premier 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 4.4.3+
  4. You cannot sell a “Recurring” product as an Upsell.  Recurring products have to be the first product in the flow.
  5. 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.
  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. Here’s the steps to Install Paypal Upsell Tree plugin and the dap companion files.
  2. You need to be running at least DAP v4.4.3 for this plugin to work
  3. Login to your WickedCoolPlugins account and download the PaypalStandardUpsell.zip file, dapcompanionfilesforPUT.zip  file from http://wickedcoolplugins.com/my-account/downloads/ page. If you do not have access to this plugin, please contact us via a support ticket and we will send you the right link to purchase the plugin.
  4. Go to WP admin -> plugins -> add new -> Upload tab -> select the PaypalStandardUpsell.zip file, click on Install, and after the plugin is installed, click on activate to activate the PaypalStandardUpsell plugin in WordPress.
  5. Download the WCP License plugin from your WickedCoolPlugins.com downloads area (http://wickedcoolplugins.com/my-account/downloads/ )
  6. Install and activate the WCP License plugin in WordPress (just like any other WP plugin).
  7. Make a note of your WCP license key (you will find it in your WickedCoolPlugins.com downloads area).
  8. Go to WP admin – > settings -> WCP license and enter the WCP license key (that you noted in step# 6 above).
  9. Also,  unzip the dapcompanionfilesforPUT.zip  file to your desktop (the one you downloaded in step #2), you will find a dap subfolder under it.
  10. FTP to you site, find the root folder of your site, and upload the entire dap folder to the ROOT FOLDER of your WEBSITE. When you do this, it will automatically overwrite the files in your DAP folder with the right version needed by PUT.
  11. Installation of Paypal Upsell-Tree Plugin is now complete.
  12. Here’s the steps to find the API info from Paypal.
  13. Next, log in to your Paypal account.
  14. Click on “Profile”
  15. Click on “Request API Credentials” (under ‘Account Information’ section). It will bring you to the API access page.
  16. Under Option 2, click on “Request API credentials” to create your own API username and password.
  17. Click on “Request API signature”
  18. Click on “Agree & Submit”
  19. Note down the following pieces of information:
    * API Username
    * API Password
    * API Signature
  20. That’s it as far as your Paypal account is concerned. Now back to DAP on your site.
  21. Here’s the steps to enter the Paypal API info in DAP config.
  22. Log in to your DAP Dashboard
  23. 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).
  24. 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.
  25. This concludes the config changes in DAP.
  26. Here’s the steps to generate a WP based FINAL CONFIRMATION page. This is the page the users will land on when they have added all the items (main item, upsell items) to the cart and are ready to complete the final checkout.
  27. WordPress Based FINAL Confirmation Page for Paypal upsell:
      •    Create a NEW WP page. 
      •    Click on the PUT Editor button in the WP admin – > Add New page -> Visual Tab. pick the options and complete the  creation of this WP page.
      •    Lets say you call this page – confirmation.
      •    Publish this page.
    1. When your buyer reaches the final checkout confirmation page (/confirmation) 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.
  28. Here’s the steps to generate the MAIN buy button:
    In the DAP Dashboard menu, go to Payment Processing > Generate Buy Button
    Please click on the ‘Paypal Standard Upsell’ tab.
  29. STEP 1 – Select the DAP Product for which you’re trying to generate the buy button, from the Product list.  NOTE: The very first product that you sell in the flow can be a recurring product or a one-time product.
  30. STEP 2Generate “Primary” Buy Button (initial/first payment button that triggers upsell).  This will be the button that kicks off the full sales funnel. So this is your PRIMARY buy button. Fill in the text boxes for button generation and copy the generated button code to the MAIN SALES PAGE on your site.
  31. This concludes the MAIN PAYMENT BUTTON GENERATION.
  32. Here’s the steps to generate the Paypal Standard Upsell Buttons and No, Thanks button.
  33. PLEASE NOTE:  YOU NEED TO FIRST SELECT THE PRODUCT THAT YOU WANT TO UPSELL. YOU CANNOT UPSELL A RECURRING PRODUCT BECAUSE OF PAYPAL API LIMITATION. YOU CAN DO UNLIMITED UPSELLS/DOWNSELLS. BUT THE PRODUCTS CAN ONLY BE NON-SUBSCRIPTION PRODUCTS.   
  34. STEP 1  – in the button generation page… select the product that you want to UPSELL.
  35. STEP 3 – Please SKIP the STEP 2 (as step 2 is for PRIMARY button) and go to STEP 3. Follow the instructions on the button generation page, fill in the text boxes for upsell button generation and copy the generated button code on to the upsell page.
  36. To generate a No, Thanks. button, select the button type (STEP – 3) as No, Thanks.
  37. NOTE:  On every upsell page, make sure to provide both AN UPSELL BUTTON as well as a ‘NO, THANKS’ button. WITHOUT a NO, THANKS button, the users cannot SKIP any UPSELLS.
  38. You can repeat step #35 through step #38 for all of your upsell pages.  When it’s the last upsell button or if it’s a No, Thanks button that does not lead to any more upsells, then please set the
  39. Now when you set to NO, the button generation process will ask you to fill the URL of the FINAL CONFIRMATION PAGE. You can set it to http://YOURSITE.com/confirmation (replace YOURSITE.com with the name of your site). The URL needs to match the url of the confirmation page you created in step 28.
  40. VERY IMPORANT:  Please sure that both the upsell button code as well as “No Thank You” link on the last upsell or downsell page, should point to /confirmation. Please set this during the upsell button generation.

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 /Confirmation Page (WP-based confirmation page created in step 28).

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.

1

[DAPUserProfile]

This post is dedicated just to the [DAPUserProfile] shortcode. To see the rest of the DAP Shortcodes, click here.

[DAPUserProfile]

This is the shortcode that displays all of the user profile fields on a page. Simply enter it on a WordPress page, save it, and when you view it when logged in as a user, it will display the DAP user profile form, with the logged-in user’s information displayed in the form fields.

As DAP Admin, you can customize which profile fields to show to your members, and which ones to hide. Just set the profile field that you don’t want displayed, to “N” in the tag below.

Default version

[DAPUserProfile showFirstName="Y" showLastName="Y" showUserName="Y" showEmail="Y" showPassword="Y" showAddress1="Y" showAddress2="Y" showCity="Y" showState="Y" showZip="Y" showCountry="Y" showPhone="Y" showFax="Y" showCompany="Y" showTitle="Y" showPaypalEmail="Y" showOptedOut="Y" showCustomFields="Y"]

Default is "Y". So Leaving out the text (for eg.) showLastName="Y" entirely from the shortcode, is the same as setting it "Y", which means it will be displayed.

Entering just [DAPUserProfile] into a page, will show ALL fields.

Show All Fields Except Phone & Fax

To hide just Phone and Fax, you would do something like this:

[DAPUserProfile showPhone="N" showFax="N"]

So all other fields will be displayed, except those two.

Show Just A Few

To show (say) just First, Last, Username, Password and Email, this is the shortcode:

[DAPUserProfile showFirstName="Y" showLastName="Y" showUserName="Y" showEmail="Y" showPassword="Y" showAddress1="N" showAddress2="N" showCity="N" showState="N" showZip="N" showCountry="N" showPhone="N" showFax="N" showCompany="N" showTitle="N" showPaypalEmail="N" showOptedOut="Y" showCustomFields="N"]

 

Related: [DAPUserLinks] shortcode

10

[DAPUserLinks]

This post is dedicated just to the [DAPUserLinks] shortcode. To see the rest of the DAP Shortcodes, click here.

[DAPUserLinks]

This is the shortcode that shows the user a list of all of the products that they have access to, and details about each product – like name, description, links that have already been dripped, etc.

This is similar to %%USERLINKS%%, but more advanced and more customizable.

You can customize most of the elements of this shortcode, as shown below.

You can even customize this to show details of a specific product (instead of all products).

Full Version

[DAPUserLinks showProductName="Y" showAccessStartDate="Y" showAccessEndDate="Y" showDescription="Y" showLinks="Y" orderOfLinks="NEWESTFIRST" howManyLinks="10000" errMsgTemplate="SHORT" productId="ALL" dateFormat="YYYY-MM-DD" showProductCount="Y" hideProductId="3,4"]

Most of the elements are self-explanatory. Here are a couple explained in detail.

orderOfLinks

orderOfLinks can have one of two values…

NEWESTFIRST will drip newly dripped links at the top. So day 7 link will be above day 1 link.

OLDESTFIRST will drip newly dripped links towards the bottom. So day 1 link will be above day 7 link.

showProductCount

showproductcount=”N” will disable the heading “You have access to (X) products” at the top of the “My Content” section.

So, here’s another version of the DAPUserLinks shortcode that shows oldest links at th top, and does not show the product-count heading.

[DAPUserLinks showProductName="Y" showAccessStartDate="Y" showAccessEndDate="Y" showDescription="Y" showLinks="Y" orderOfLinks="OLDESTFIRST" howManyLinks="10000" errMsgTemplate="SHORT" productId="ALL" dateFormat="YYYY-MM-DD" showproductcount="N"]

productId

productId is by default set to “ALL” which means details for all products that a user has access to, will be displayed on that page. You can also configure it to show for just one product (productId="8") or a few select products (productId="8,11").

hideproductid

This was introduced in DAP v4.5. It allows you to suppress all listed product id’s (either just one, or multiple product id’s separated by commas) from being displayed in the list.

[DAPUserLinks ... hideproductid="3" ...]

Related: [DAPUserProfile] shortcode

CreditStore FAQ

Question: Is there any way to adjust the image size of the items within the credits store? 60×90 is quite small.
Answer: 

You can update it directly in the /wp-content/plugins/dapcreditstorefront/categories/html/1column/template.html.

Look for :
<input type=”image” src=”[REDEEMSRC]” align=”right” name=”[CHILDIDCREDITS]” id=”[CHILDIDCREDITS]” onClick=”purchaseChildProduct([FORMNAME], ‘[CHILDID]’, ‘[CREDITS]’);” value=”Redeem”>

You can try and add “width” and “height” attribute to it and see if it takes affect.

 

 

Paypal Standard Upsell Plugin

Upsells With Paypal Standard

Upsells, Downsells and OTO’s are now extremely simple to implement using the  “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 Standard / Business Account.

IMPORTANT: What you need before you can use this plugin

  1. You need a Paypal (Standard) Business or Premier 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 4.4.3+
  4. You cannot sell a “Recurring” product as an Upsell – recurring products have to be the first product in the flow.
  5. 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.
  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 to be running at least DAP v4.4.3 for this plugin to work
  2. Purchase the UpsellTree plugin if you haven’t already done so, login to your WickedCoolPlugins account and download the PaypalStandardUpsellzip file, PaypalStandardUpsell.zip .
  3. 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.
  4. Upload all the files inside, directly to your “dap” folder on your web site.
  5. DO NOT upload the folder itself. Just the files inside.
  6. Installation of Paypal Upsell-Tree Plugin is complete.
  7. Next, log in to your Paypal account.
  8. Click on “Profile”
  9. Click on “Request API Credentials” (under ‘Account Information’ section). It will bring you to the API access page.
  10. Under Option 2, click on “Request API credentials” to create your own API username and password.
  11. Click on “Request API signature”
  12. Click on “Agree & Submit”
  13. Note down the following pieces of information:
    * API Username
    * API Password
    * API Signature
  14. That’s it as far as your Paypal account is concerned. Now back to DAP on your site.
  15. Log in to your DAP Dashboard
  16. 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).
  17. 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.
  18. 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”.
  19. So now select the DAP Product for which you’re trying to generate the buy button, from the Product list.
  20. 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.
  21. 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.
  22. 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”>
  23. Look at the payment_succ_page tag 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.html and 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.
  24. Say your upsell page is a static html page called upsell1-paypalstandard-sample.html and it’s under the dap folder.
    Then set the payment_succ_page tag as shown below:
    <input type=”hidden” name=”payment_succ_page” value=”https://YOURSITE.com/dap/continue.php?url=/dap/upsell1-paypalstandard-sample.html” />If you want to use a WP page/post as your upsell page and the URL of the page is say /upsell1-paypalstandard, then use this in the payment_succ_page tag:
    <input type=”hidden” name=”payment_succ_page” value=”https://YOURSITE.com/upsell1-paypalstandard” />
  25. 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.
  26. 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
  27. 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>
  28. 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 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
    b) If this is the last upsell, then for the default / static FINAL confirmation page, leave it pointed to /dap/PaypalCheckoutConfirm.php. But if you want the confirmation page to be a WP based page (so it has the look&feel of your WP theme), then do step 29. If you want to use the default, go to step 30.
  29. WordPress Based FINAL Confirmation Page for Paypal upsell:
    •    Create a NEW WP page. Lets say its called ConfirmationPage.
    •    Click on the PU Editor button as shown below, pick the options and complete the  creation of this WP page.
    •    Publish this page.
    •    Instead of using the default /dap/PaypalCheckoutConfirm.php in the payment_succ_page tag, use /ConfirmationPage.
  30. When your buyer reaches the final checkout confirmation page (/ConfirmationPage. or./dap/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.
  31. Make sure that both the buy-button code as well as “No Thank You” link on the last upsell or downsell page, points to /ConfirmationPage (for WP based confirmation page) OR points to the default /dap/PaypalCheckoutConfirm.php

“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 /ConfirmationPage (WP-based confirmation page created in step 29) OR /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 (Default confirmation page)

<form name=”nothankyou”>
<input type=”button” name=”nothankyoubutton” value=”No, thank you, please complete my order” onClick=”location.href=’/dap/PaypalCheckoutConfirm.php‘;”>
</form>

Button to take them to final Checkout Summary page (WP based confirmation page)

<form name=”nothankyou”>
<input type=”button” name=”nothankyoubutton” value=”No, thank you, please complete my order” onClick=”location.href=‘/confirmationpage‘;”>
</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>

Link to take them to final WP based Checkout Summary page:

<a href=”/ConfirmationPage“>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.

2

Troubleshooting OptimizePress Templates

If you’re using OptimizePress as your theme, make sure you’re only using membership templates that have the word “DAP..” in them.

DO NOT USE any template that has the words “WP” or “WP Secured“. That will cause members logging in via DAP, to not be able to access those pages.

Those templates are meant for OP’s own internal membership functionality, or built for other membership plugins. Those will not work with DAP.

Templates that are OK to use with DAP

  • Members 1 Content (Free/DAP/WL)
  • Members 1 DAP Login Page
  • Members 1 DAP/Wishlist Error
  • Members 1 General Page (Free/DAP/WL)
  • Etc.. anything with the word “DAP” in it.

For the other squeeze page/sales page templates, it doesn’t matter which ones you pick.

This restriction applies only to the “Members…” templates.

optimizepress_templates

 

1 3 4 5 6 7 29