{"id":2993,"date":"2013-02-10T23:20:44","date_gmt":"2013-02-11T07:20:44","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=2993"},"modified":"2014-03-01T22:32:58","modified_gmt":"2014-03-02T06:32:58","slug":"paypal-standard-upsell-plugin","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/paypal-standard-upsell-plugin\/","title":{"rendered":"Paypal Standard Upsell Plugin"},"content":{"rendered":"<h1>Upsells With Paypal Standard<\/h1>\n<p>Upsells, Downsells and OTO\u2019s are now extremely simple to implement using the\u00a0 \u201cUpsell Tree\u201d plugin for DAP.<\/p>\n<p>And this particular plugin works with Paypal Standard! Which means you don\u2019t need a merchant account any more. All you need is a regular Paypal Standard \/ Business Account.<\/p>\n<h3>IMPORTANT: What you need before you can use this plugin<\/h3>\n<ol>\n<li>You need a <strong>Paypal (Standard) Business or Premier <\/strong>account<\/li>\n<li>You must have <strong>SSL<\/strong> (secure server) enabled on your web site. Ask your web host to enable SSL for your site.<\/li>\n<li>You must have a working version of <strong>DAP 4.4.3+<\/strong><\/li>\n<li>You cannot sell a \u201cRecurring\u201d product as an Upsell \u2013 recurring products have to be the first product in the flow.<\/li>\n<li><strong>Here\u2019s what you CAN do<\/strong>: You can have a recurring product as the very FIRST product that they purchase (when they first click on the \u201cBuy\u201d button on your main sales page, and then you can offer any number of \u201cOne-Time\u201d Products as upsells or downsells.<\/li>\n<li><strong>Here\u2019s what you CANNOT do<\/strong>: Offer a \u201cOne-Time\u201d product as your first product that they buy, and <em>then<\/em> try to upsell them to a \u201cRecurring\u201d Product. Unfortunately, this is a Paypal problem at this time.<\/li>\n<\/ol>\n<h3>Installation &amp; Setup of UpsellTree For Paypal Standard<\/h3>\n<ol>\n<li>You need to be running at least DAP v4.4.3 for this plugin to work<\/li>\n<li><a title=\"Paypal Upsell Tree\" href=\"http:\/\/DigitalAccessPass.com\/buynow.php#store\" target=\"_blank\">Purchase the UpsellTree plugin<\/a> if you haven\u2019t already done so, login to your WickedCoolPlugins account and download the <strong>PaypalStandardUpsell<\/strong>zip file,\u00a0<strong>PaypalStandardUpsell.zip<\/strong> .<\/li>\n<li>Unzip the file to your desktop. That will create a new folder on your desktop, called \u201c<strong>PaypalStandardUpsellTree<\/strong>\u201d which will have all of the files inside.<\/li>\n<li>Upload <strong>all the files inside<\/strong>, directly to your \u201c<strong>dap<\/strong>\u201d folder on your web site.<\/li>\n<li><strong>DO NOT<\/strong> <strong>upload the folder itself. Just the files inside<\/strong>.<\/li>\n<li>Installation of Paypal Upsell-Tree Plugin is complete.<\/li>\n<li>Next, log in to your Paypal account.<\/li>\n<li>Click on \u201cProfile\u201d<\/li>\n<li>Click on \u201cRequest API Credentials\u201d (under \u2018Account Information\u2019 section). It will bring you to the API access page.<\/li>\n<li>Under Option 2, click on \u201cRequest API credentials\u201d to create your own API username and password.<\/li>\n<li>Click on \u201cRequest API signature\u201d<\/li>\n<li>Click on \u201cAgree &amp; Submit\u201d<\/li>\n<li>Note down the following pieces of information:<br \/>\n* API Username<br \/>\n* API Password<br \/>\n* API Signature<\/li>\n<li>That\u2019s it as far as your Paypal account is concerned. Now back to DAP on your site.<\/li>\n<li>Log in to your DAP Dashboard<\/li>\n<li>Go to \u201c<strong>Setup &gt; Config<\/strong>\u201c. On that page, click on the \u201cPaypal\u201d link in the links towards the very top of that page (or scroll down to the \u201c<strong>Payment Processing: Paypal<\/strong>\u201d section).<\/li>\n<li>Enter the 3 pieces of information (from Step #13 above) into the Config fields 7, 8 &amp; 9 on that screen: <strong>Paypal API Username<\/strong>, <strong>Paypal API Password<\/strong>, and <strong>Paypal API Signature<\/strong>. Cick\u00a0 \u201cUpdate\u201d and save the changes.<\/li>\n<li><strong>Generating the Paypal Upsell Buy Buttons:<\/strong><br \/>\nIn the DAP Dashboard menu, go to <strong>Payment Processing &gt; Generate Buy Button<\/strong><br \/>\nYou will now see that you\u2019re on the default tab \u201cPaypal Standard\u201d.<\/li>\n<li>So now select the DAP Product for which you\u2019re trying to generate the buy button, from the Product list.<\/li>\n<li>Now, once the page has refreshed, scroll down to the bottom of this page, and you\u2019ll see an expandable section with the heading \u201c<strong>Paypal Standard 1-Click Upsells<\/strong>\u201d<br \/>\nExpand that section by clicking on the \u201c+\u201d image.<\/li>\n<li>You will see the following two links in that section\u2026<strong>Generate Paypal Standard 1-Click Primary Button<\/strong><br \/>\n<strong>Generate Paypal Standard 1-Click Upsell Button<\/strong>The 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\u2019re doing this, and for your main product, click on the first link.<\/li>\n<li>If all of your Product\u2019s settings are correct, then you\u2019ll see a small popup that contains the buy-button HTML code. Paste this code into a blank notepad (or text editor) window.<br \/>\nSo let\u2019s say this is what the code you got looks like\u2026&lt;form name=\u201dgenerate_paypal\u201d method=\u201dpost\u201d action=\u201d\/dap\/PaypalSetExpressCheckout.php\u201d&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201ditem_name\u201d value=\u201dFacebook Secrets Subscription\u201d\/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201ddescription\u201d value=\u201dThis is a Subscription Product with a monthly subscription \u2013 payments every 30 days.\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201damount\u201d value=\u201d10.00\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dtrial_amount\u201d value=\u201d0.00\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dtotal_occurrences\u201d value=\u201d9999\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dis_recurring\u201d value=\u201dY\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_1\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_2\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_3\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201d<strong>payment_succ_page<\/strong>\u201d value=\u201dhttps:\/\/YourSite.com\/dap\/continue.php?url=\/dap\/upsell1-paypalstandard-sample.html\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dpayment_err_page\u201d value=\u201dhttps:\/\/YourSite.com\/dap\/paymentError.php\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dpayment_cancel_page\u201d value=\u201dhttps:\/\/YourSite.com\/dap\/cancel.php\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dpayment_gateway\u201d value=\u201dpaypal\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dis_submitted\u201d value=\u201dY\u201d \/&gt;<br \/>\n&lt;input type=\u201dimage\u201d src=\u201d\/dap\/images\/btn_xpressCheckout.gif\u201d align=\u201dleft\u201d width=\u201d200\u2033 height=\u201d50\u2033 style=\u201dmargin-right:7px;\u201d value=\u201dSubmit\u201d alt=\u201dSubmit\u201d&gt;<\/li>\n<li>Look at the <strong>payment_succ_page <\/strong>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 <strong>upsell1-paypalstandard-sample.html <\/strong>and it\u2019s under the dap folder. Put this HTML code on the primary product\u2019s sales page. This is the first product in the flow.<\/li>\n<li>Say your upsell page is a static html page called upsell1-paypalstandard-sample.html and it&#8217;s under the dap folder.<br \/>\nThen set the payment_succ_page tag as shown below:<br \/>\n&lt;input type=&#8221;hidden&#8221; name=&#8221;payment_succ_page&#8221; value=&#8221;https:\/\/YOURSITE.com\/dap\/continue.php?url=\/dap\/upsell1-paypalstandard-sample.html&#8221; \/&gt;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:<br \/>\n&lt;input type=&#8221;hidden&#8221; name=&#8221;payment_succ_page&#8221; value=&#8221;https:\/\/YOURSITE.com\/upsell1-paypalstandard&#8221; \/&gt;<\/li>\n<li>Now, you need to generate a button for your upsell product. So go back to <strong>Payment Processing &gt; Generate Buy Button<\/strong> . This time, pick the Upsell product from the list.<\/li>\n<li>Now scroll down to the bottom of this page, expand the section \u201c<strong>Paypal Standard 1-Click Upsells<\/strong>\u201d , and this time, click on the second link there, because you\u2019re now generating a buy-button for the Upsell product.<strong>Generate Paypal Standard 1-Click Primary Button<\/strong><br \/>\n<strong>Generate Paypal Standard 1-Click Upsell Button<\/strong><\/li>\n<li>Say this is the button code you get this time\u2026&lt;form name=\u201dgenerate_paypal\u201d method=\u201dpost\u201d action=\u201d\/dap\/PaypalAddToCart.php\u201d&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201ditem_name\u201d value=\u201dUpsell 1\u2033\/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201ddescription\u201d value=\u201dThis is a dummy Subscription Product with a monthly subscription \u2013 payments every 30 days.\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201damount\u201d value=\u201d10.00\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dtrial_amount\u201d value=\u201d0.00\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dtotal_occurrences\u201d value=\u201d9999\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dis_recurring\u201d value=\u201dY\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_1\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_2\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201drecurring_cycle_3\u2033 value=\u201d365\u2033 \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201d<strong>payment_succ_page<\/strong>\u201d value=\u201d\/dap\/PaypalCheckoutConfirm.php\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dpayment_gateway\u201d value=\u201dpaypal\u201d \/&gt;<br \/>\n&lt;input type=\u201dhidden\u201d name=\u201dis_submitted\u201d value=\u201dY\u201d \/&gt;<br \/>\n&lt;input type=\u201dsubmit\u201d value=\u201dAddToCart\u201d \/&gt;<br \/>\n&lt;\/form&gt;<\/li>\n<li>Now again, notice the <strong>payment_succ_page<\/strong> in the generated button code. You will see its pointing to <strong>\/dap\/PaypalCheckoutConfirm.php<\/strong>.<br \/>\na) 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 \u201cNo Thank You\u201d link on the last upsell or downsell page, points to <strong>\/dap\/PaypalCheckoutConfirm.php<\/strong><br \/>\nb) 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&amp;feel of your WP theme), then do step 29. If you want to use the default, go to step 30.<\/li>\n<li><strong>WordPress Based FINAL Confirmation Page for Paypal upsell:<\/strong>\n<ul>\n<li>\u00a0\u00a0 Create a NEW WP page. Lets say its called ConfirmationPage.<\/li>\n<\/ul>\n<ul>\n<li>\u00a0\u00a0 Click on the PU Editor button as shown below, pick the options and complete the\u00a0 creation of this WP page.<\/li>\n<li>\u00a0\u00a0 Publish this page.<\/li>\n<li>\u00a0\u00a0 Instead of using the default<strong> \/dap\/PaypalCheckoutConfirm.php <\/strong>in the <strong>payment_succ_page<\/strong> tag, use<strong> \/ConfirmationPage.<\/strong><\/li>\n<\/ul>\n<\/li>\n<li>When your buyer reaches the final checkout confirmation page (<strong>\/ConfirmationPage.<\/strong> or.\/<strong>dap\/PaypalCheckoutConfirm.php<\/strong>) then they can review all of the products in their \u201cUpsell Cart\u201d, and buy them all instantly and all together, without having to go back to Paypal ever again.<\/li>\n<li>Make sure that both the buy-button code as well as \u201cNo Thank You\u201d link on the last upsell or downsell page, points to \/ConfirmationPage (for WP based confirmation page) OR points to the default \/dap\/PaypalCheckoutConfirm.php<\/li>\n<\/ol>\n<h2>\u201cNo, Thank You\u201d Buttons &amp; Links<\/h2>\n<p>On every upsell page, you must also include a \u201cNo, Thank You\u201d button or link that will allow your buyer to skip your upsell or downsell, and go to the next part of the sale.<\/p>\n<p>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 \u201cNo, Thank You\u201d 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 <strong>\/ConfirmationPage (WP-based confirmation page created in step 29) OR <\/strong><strong>\/dap\/PaypalCheckoutConfirm.php<\/strong><\/p>\n<h3>Creating a \u201cNo, Thank You\u201d button<\/h3>\n<p><strong>Button to take them to next Upsell\/Downsell:<\/strong><\/p>\n<p>&lt;form name=\u201dnothankyou\u201d&gt;<br \/>\n&lt;input type=\u201dbutton\u201d name=\u201dnothankyoubutton\u201d value=\u201d<strong>No, thank you, I wish to skip this incredible offer<\/strong>\u201d onClick=\u201dlocation.href=\u2019<strong>https:\/\/YourSite.com\/dap\/continue.php?url=\/dap\/upsell2.html<\/strong>\u2018;\u201d&gt;<br \/>\n&lt;\/form&gt;<\/p>\n<p>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\u2019t delete any of the HTML code, and only change actual URL\u2019s or the button\u2019s value (which is the text your buyer will see on the button).<\/p>\n<p><strong>Button to take them to final Checkout Summary page (Default confirmation page)<\/strong><\/p>\n<p>&lt;form name=\u201dnothankyou\u201d&gt;<br \/>\n&lt;input type=\u201dbutton\u201d name=\u201dnothankyoubutton\u201d value=\u201d<strong>No, thank you, please complete my order<\/strong>\u201d onClick=\u201dlocation.href=\u2019<strong>\/dap\/PaypalCheckoutConfirm.php<\/strong>\u2018;\u201d&gt;<br \/>\n&lt;\/form&gt;<\/p>\n<p><strong>Button to take them to final Checkout Summary page (WP based confirmation page)<br \/>\n<\/strong><\/p>\n<p>&lt;form name=\u201dnothankyou\u201d&gt;<br \/>\n&lt;input type=\u201dbutton\u201d name=\u201dnothankyoubutton\u201d value=\u201d<strong>No, thank you, please complete my order<\/strong>\u201d onClick=\u201dlocation.href=<strong>&#8216;\/confirmationpage<\/strong>\u2018;\u201d&gt;<br \/>\n&lt;\/form&gt;<\/p>\n<h3>Creating a \u201cNo, Thank You\u201d link<\/h3>\n<p><strong>Link to take them to next Upsell\/Downsell:<\/strong><\/p>\n<blockquote><p>&lt;a href=\u201d<strong>https:\/\/YourSite.com\/dap\/continue.php?url=\/dap\/upsell2.html<\/strong>\u201c&gt;<strong>No, thank you, I wish to skip this incredible offer<\/strong>&lt;\/a&gt;<\/p><\/blockquote>\n<p><strong>Link to take them to final Checkout Summary page:<\/strong><\/p>\n<p>&lt;a href=\u201d<strong>\/dap\/PaypalCheckoutConfirm.php<\/strong>\u201c&gt;<strong>No, thank you, please complete my order<\/strong>&lt;\/a&gt;<\/p>\n<p><strong>Link to take them to final WP based Checkout Summary page:<\/strong><\/p>\n<p>&lt;a href=\u201d\/ConfirmationPage\u201c&gt;<strong>No, thank you, please complete my order<\/strong>&lt;\/a&gt;<\/p>\n<p>That\u2019s it.<\/p>\n<p>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 &amp; SSL already installed, it shouldn\u2019t take you more than 1\/2 hour to set up your 1-Click Upsells\/Downsells\/OTO\u2019s. And if you\u2019re not using Upsells\/Downsells, then it can be done even faster.<\/p>\n<p>If you have any further questions, feel free to open a support ticket, and we will assist you in getting this going.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upsells With Paypal Standard Upsells, Downsells and OTO\u2019s are now extremely simple to implement using the\u00a0 \u201cUpsell Tree\u201d plugin for DAP. And this particular plugin works with Paypal Standard! Which means you don\u2019t need a merchant account any more. All you need is a regular Paypal Standard \/ Business Account. IMPORTANT: What you need before [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2993"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=2993"}],"version-history":[{"count":4,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2993\/revisions"}],"predecessor-version":[{"id":2995,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2993\/revisions\/2995"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=2993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=2993"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=2993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}