{"id":1089,"date":"2011-01-23T03:19:44","date_gmt":"2011-01-23T11:19:44","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=1089"},"modified":"2014-03-01T22:35:13","modified_gmt":"2014-03-02T06:35:13","slug":"integrate-dap-generated-buttons-with-paypal","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/integrate-dap-generated-buttons-with-paypal\/","title":{"rendered":"Integrating DAP with Paypal Standard"},"content":{"rendered":"<p><strong>This doc applies to Paypal Standard only.<\/strong><\/p>\n<p>(<a href=\"http:\/\/www.digitalaccesspass.com\/doc\/1-click-upsells-paypal-website-payments-pro\/\">Click here for integration with Paypal Website Payments Pro<\/a>)<strong><br \/>\n<\/strong><\/p>\n<p>You do not have to log in to your Paypal account to generate your buy buttons. You can do it from within the DAP Admin Dashboard.<\/p>\n<h3>1) Enabling Instant Payment Notification (IPN) within your Paypal account.<\/h3>\n<p>a) Log in to your Paypal account and click on the &#8220;<strong>Profile<\/strong>&#8221; link in the menu, then on the next page, click &#8220;My selling tools.&#8221;<br \/>\nb) Under &#8220;Getting paid and managing risk&#8221; section, click &#8220;Update&#8221; beside &#8220;Instant payment notifications&#8221;<br \/>\nc) If IPN is already enabled, and you already have a URL in that field, then <strong>skip ahead to Step 2<\/strong>.<br \/>\nElse, if IPN is not already enabled, then click on &#8220;Choose IPN Settings&#8221;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1040\" style=\"border: 1px solid black;\" title=\"paypal_ipn_settings2\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings2.png\" alt=\"\" width=\"446\" height=\"450\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings2.png 558w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings2-150x150.png 150w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings2-297x300.png 297w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><\/p>\n<p>d) On the next screen, in the <strong>Notification URL<\/strong> field, enter&#8230;<br \/>\n<strong>http:\/\/YourSite.com\/dap\/dap-paypal.php<\/strong><br \/>\nDon&#8217;t forget to replace &#8220;YourSite.com&#8221; with your actual web site&#8217;s domain name.<\/p>\n<p>e) Make sure &#8220;Receive IPN Messages&#8221; is selected.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings3.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1041\" style=\"border: 1px solid black;\" title=\"paypal_ipn_settings3\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings3.png\" alt=\"\" width=\"438\" height=\"314\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings3.png 548w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/01\/paypal_ipn_settings3-300x215.png 300w\" sizes=\"(max-width: 438px) 100vw, 438px\" \/><\/a><\/p>\n<p>f) Click on &#8220;Save&#8221;.<\/p>\n<h3><strong>2)<\/strong> Enable &#8220;Auto-Return&#8221; and &#8220;Payment Data Transfer&#8221;<\/h3>\n<ul>\n<li>Log in to your Paypal account.<\/li>\n<li>Go to <strong>Profile<\/strong>.<\/li>\n<li>Click on Website Payment Preferences<\/li>\n<li>Turn <strong>Auto Return<\/strong> to <strong>On<\/strong> (see image below)<\/li>\n<li>Set <strong>Return URL<\/strong> to http:\/\/YourSite.com\/dap\/dap-thankyou.php<\/li>\n<li>Scroll down further to the <strong>Payment Data Transfer<\/strong> (optional) section<\/li>\n<li>Set <strong>Payment Data Transfer<\/strong> to <strong>On<\/strong><\/li>\n<li>Scroll all the way to the bottom of the page, and then <strong>Save<\/strong> the changes.<\/li>\n<li>Now come back to this same page just like you did before (<strong>Profile<\/strong> &gt; <strong>Website Payment Preferences<\/strong>)<\/li>\n<li>This time, simply scroll down to the <strong>Payment Data Transfer (optional)<\/strong> section<\/li>\n<li>Now you will see a long, ugly string of text next to the <strong>Identity Token<\/strong> field (see image below). Copy that string.<\/li>\n<li>Go back to <strong>DAP Dashboard &gt; Setup &gt; Config &gt; Payment Processing &gt; Paypal Identity Token<\/strong> field, and enter this string there, and save it.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><a href=\"..\/wp-content\/uploads\/2011\/01\/dap-paypal-pdt-settings.png\" target=\"_blank\"><img loading=\"lazy\" class=\"alignnone  wp-image-1568\" style=\"border: 1px solid black;\" title=\"dap-paypal-pdt-settings\" src=\"..\/wp-content\/uploads\/2011\/01\/dap-paypal-pdt-settings.png\" alt=\"\" width=\"463\" height=\"384\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/dap-paypal-pdt-settings.png 826w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/dap-paypal-pdt-settings-300x249.png 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/a><\/p>\n<h3><strong>3) Config settings<\/strong><\/h3>\n<p>Go to &#8220;<strong>Setup &gt; Config<\/strong>&#8220;.<\/p>\n<p>Click on the\u00a0<strong>Paypal<\/strong> link in the sub-menu at the top.<\/p>\n<p><a><img loading=\"lazy\" class=\"alignnone  wp-image-2170\" style=\"border: 1px solid black;\" title=\"paypal_payments_pro_1\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/01\/paypal_payments_pro_1.png\" alt=\"\" width=\"576\" height=\"162\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/01\/paypal_payments_pro_1.png 823w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/01\/paypal_payments_pro_1-300x84.png 300w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>The current page will then skip to the &#8220;Payment Processing: Paypal&#8221; section about half-way down the page.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_payments_pro_2.png\"><img loading=\"lazy\" class=\"alignnone  wp-image-2182\" style=\"border: 1px solid black;\" title=\"paypal_payments_pro_2\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_payments_pro_2.png\" alt=\"\" width=\"560\" height=\"485\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_payments_pro_2.png 800w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_payments_pro_2-300x259.png 300w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p><strong>Fill out items 1 through 5 only.<\/strong><\/p>\n<p>(items 7-10 are required only if you&#8217;re using Paypal Website Payments Pro, or doing Upsells with Paypal Standard)<\/p>\n<p><strong>4) Generate Buy Button from within DAP<\/strong><\/p>\n<p>On the main DAP Admin menu, go to <strong>Payment Processing &gt; Generate Buy Buttons <\/strong>page, then switch to <strong>Paypal Standard<\/strong> tab<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_standard_tab.png\"><img loading=\"lazy\" class=\"alignnone  wp-image-2184\" style=\"border: 1px solid black;\" title=\"paypal_standard_tab\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_standard_tab.png\" alt=\"\" width=\"596\" height=\"473\" srcset=\"http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_standard_tab.png 994w, http:\/\/digitalaccesspass.com\/doc\/wp-content\/uploads\/2011\/01\/paypal_standard_tab-300x237.png 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<p>Choose product for which you wish to generate the buy button, and then click on &#8220;Generate Button Code&#8221; button.<\/p>\n<h3>5) Publish generated buy-button code on your Sales page.<\/h3>\n<p>That&#8217;s it!<\/p>\n<h3>Sales Flow<\/h3>\n<p>Here&#8217;s how the flow works now:<\/p>\n<ul>\n<li>Prospect clicks on buy-button your sales page and is taken to a Paypal checkout page at Paypal.com<\/li>\n<li>They purchase your product and complete the payment<\/li>\n<li>They are initially redirected to the &#8220;Auto Return&#8221; url from Step 2 above<\/li>\n<li>DAP captures customer email, name, product name, etc<\/li>\n<li>DAP creates member account for buyer on your system, and gives them access to the product, will send out the Welcome-Email from the product page, etc<\/li>\n<li>It auto-logs them in to your membership site &#8211; no need for member to wait for Welcome email just to get their login information (that email is sent anyway, and will be waiting for them in their inbox)<\/li>\n<li><strong> <\/strong>DAP now needs to know where to redirect the user to.<br \/>\na) If Product-level <strong>Logged-In URL<\/strong> is set in DAP for this Product that they just purchased, then it redirects them to that URL<br \/>\nb) If no Product-level Logged-In URL is set, OR if the buyer has access to more than 1 product (if they had previously purchased another one of your products, for example), then it uses the Global &#8220;Logged-In URL&#8221; setting from: <strong>Setup &gt; Config &gt; Advanced &gt; URL to which user is redirected to right after login<\/strong><\/li>\n<\/ul>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;\">\n<p><strong>2) DAP Generated Buttons For Paypal <\/strong><\/p>\n<p>With DAP 4.0, we have added support for DAP generated buttons for Paypal.\u00a0 You no longer have to generate buttons within Paypal.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This doc applies to Paypal Standard only. (Click here for integration with Paypal Website Payments Pro) You do not have to log in to your Paypal account to generate your buy buttons. You can do it from within the DAP Admin Dashboard. 1) Enabling Instant Payment Notification (IPN) within your Paypal account. a) Log in [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[60,20],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1089"}],"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=1089"}],"version-history":[{"count":35,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1089\/revisions"}],"predecessor-version":[{"id":4274,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/1089\/revisions\/4274"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=1089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=1089"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=1089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}