36

Integrating DAP with Paypal Standard

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 to your Paypal account and click on the “Profile” link in the menu, then on the next page, click “My selling tools.”
b) Under “Getting paid and managing risk” section, click “Update” beside “Instant payment notifications”
c) If IPN is already enabled, 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”.

2) 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.
  • Now come back to this same page just like you did before (Profile > Website Payment Preferences)
  • This time, simply scroll down to the Payment Data Transfer (optional) section
  • Now you will see a long, ugly string of text next to the Identity Token field (see image below). Copy that string.
  • Go back to DAP Dashboard > Setup > Config > Payment Processing > Paypal Identity Token field, and enter this string there, and save it.

 

3) Config settings

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.

Fill out items 1 through 5 only.

(items 7-10 are required only if you’re using Paypal Website Payments Pro, or doing Upsells with Paypal Standard)

4) Generate Buy Button from within DAP

On the main DAP Admin menu, go to Payment Processing > Generate Buy Buttons page, then switch to Paypal Standard tab

Choose product for which you wish to generate the buy button, and then click on “Generate Button Code” button.

5) Publish generated buy-button code on your Sales page.

That’s it!

Sales Flow

Here’s how the flow works now:

  • Prospect clicks on buy-button your sales page and is taken to a Paypal checkout page at Paypal.com
  • They purchase your product and complete the payment
  • They are initially redirected to the “Auto Return” url from Step 2 above
  • DAP captures customer email, name, product name, etc
  • 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
  • It auto-logs them in to your membership site – 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)
  • DAP now needs to know where to redirect the user to.
    a) If Product-level Logged-In URL is set in DAP for this Product that they just purchased, then it redirects them to that URL
    b) 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 “Logged-In URL” setting from: Setup > Config > Advanced > URL to which user is redirected to right after login

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.

Click Here to Leave a Comment Below 36 comments
Maha Nagar - August 21, 2011

I plan to offer Free, Silver, and Gold package for which I have links to a series of 50 videos in total in the same page.

Free package is for the first 15 video links; Silver for the first 35 links, and Gold for all the links.

Now if I want to direct the buyers to the respective Logged-In URL’s for their chosen package, can I do that in the same page, or do I need to create 3 separate pages?

Reply
Veena Prashanth - August 21, 2011

You can direct them to the same member’s area page.
If you create the member’s area page using the dap merge tag (%%USERLINKS%%) and direct all users to that page upon login, the users will automatically see only the products and the links that they have access to as DAP dynamically generates the list.

Pls see: http://www.digitalaccesspass.com/doc/creating-member-affiliate-sections-within-wordpress/

Reply
Juan - October 29, 2011

Good day.

I have generated a PayPal button from dap. And add to cart button. It works well, but if I select continue shopping, in order to select other products how do I return to the paypal shopping cart when I finished browsing? Is there any way to generate a “view cart” from DAP?
T hanks a lot.

Reply
Lindsay - November 2, 2011

I’m having trouble with my coupons with DAP Generated PayPal buttons. I created the coupon and activated it for the product I’m discounting. I created the DAP button with the coupon enabled and installed in on my site, but when I click on it, PayPal still shows the original price, not the discounted price.

I’m also wondering how I can use these coupons with affiliates. For example, I have an affiliate who wants to sell my discounted product. Should I give her the code for the DAP discounted button or direct her visitors to a separate sales page on my site with the DAP discount button.

Thanks!

Reply
Alan Petersen - January 4, 2012

Just an FYI since it took me about 30 minutes digging around PayPal… the above screenshots are out of date inside PayPal.

From your PayPal account click on “Profile”

Then click on “My Setting Tools” (fourth link under “My Profile” as of 04Jan12). Then to the right you’ll “Website preferences” click on “change” and then you’ll be able to proceed with the above steps for using DAP generated Paypal pay buttons.

Reply
Alan Petersen - January 4, 2012

Correction to my previous comment:

“My Selling Tools” not “My Setting Tools”

Alan

Reply
Veena Prashanth - January 4, 2012

Thanks Alan. Yes, the screenshot needs to be updated to match the new Paypal settings.

Reply
Veena Prashanth - January 4, 2012

>>Im also wondering how I can use these coupons with affiliates. For example, I have an affiliate who wants to sell my discounted product. Should I give her the code for the DAP discounted button or direct her visitors to a separate sales page on my site with the DAP discount button. << Yes, you can create a code for that affiliate and share it with the affiliate or direct her visitors to a separate sales page that others dont see.

Reply
joe - January 7, 2012

I have a “buy Now” “non-recurring” product that has a “recurring” upsell product attached. The upsell product is free for the first 60 days and then billed each month.
Can I use a 60 day trial period with $0 cost and then the $297/30 day billing?
The credit card is already verified with the original “buy now” product and I don’t want to charge an additional $.01 for the upsell.
I’m using DAP generated buy buttons with PPP.

Reply
Frederick - January 8, 2012

This is great! I’ve got it *almost* set up. I have one big question however. In the Sales Flow described above, how does the customer get added to the Aweber list?

Thank you,
Frederick

Reply
Veena Prashanth - January 8, 2012

Joe,

>> Can I use a 60 day trial period with $0 cost and then the $297/30 day billing?
<< Sorry, you can do $0.01 but cannot do $0 trial.

Reply
Veena Prashanth - January 8, 2012

Frederick,

>>In the Sales Flow described above, how does the customer get added to the Aweber list? << After the purchase is complete, DAP will automatically create the membership account and if the product in dap is connected to aweber (as described here - http://www.digitalaccesspass.com/doc/aweber-integration/) , then dap will automatically notify aweber and the user will receive the aweber confirmation email in addition to dap thankyou/welcome email.

Reply
Allan - February 7, 2012

Hello,

I want to be sure I understand this. If I have one PayPal account, I can use that PayPal account and its IPN to sell from an unlimited number of websites on different domains?

So there are no issues with the IPN pointing to http://abc.com but a sale coming from http://123.com or any other website?

Thanks.

Reply
Veena Prashanth - February 7, 2012

As long as the buttons that you use have button level IPN set, the global IPN (http://abc.com) will NOT get used so it does not matter what it points to.

If you use dap generated button for paypal to sell or use paypal hosted button with button level IPN set or use any other buttons that uses button level ipn, you can have 1 paypal account to sell from an unlimited number of websites on different domains.

Reply
Lindsay - February 9, 2012

I set up my DAP generated paypal button and enabled the coupon. I also created a coupon and associated it with my product. When I try to use the coupon, I get an error: Sorry! Your payment transaction failed with “Sorry, not a valid coupon code.”

If I leave the coupon box empty, the button works.

Reply
Veena Prashanth - February 9, 2012

Lindsay,

Pls check if the coupon code has expired in the dap admin -> payment processing -> coupons page. Make sure the start date and end date are valid and also make sure the actual usage < max usage. If the settings are correct and it does not work, pls open a support ticket and we will take a look.

Reply
Dan Shafer - February 16, 2012

It is worth noting — because I had a good bit of confusion on this point and wasted considerable time — that the DAP buttons do NOT support purchases via PayPal accounts yet. So if you want to support PayPal, you either have to have a PayPal hosted button only, or both a PayPal hosted and a DAP button on the sales page.

Reply
Allan - February 16, 2012

Hi Dan,

Does that mean that a buy button generated by DAP will not work?

Thanks.

Reply
Veena Prashanth - February 16, 2012

Dan,

I think you are talking about the dap shopping cart support for paypal but this post is not about the dap shopping cart. This is about the dap generated button for paypal standard and it does integrate with paypal standard.

If you use the dap shopping cart (you need a Paypal Payments Pro OR Authnet merchant account to use DPA shopping cart), then the checkout page will only have CC option for buyers.

If you want to add ‘Pay using Paypal’ option, then you can add that separately/directly on the sales page.

You can have ‘pay with cc’ and ‘pay with paypal’ buttons directly on the sales page. The ‘pay with cc’ will be the dap shopping cart button and ‘pay with paypal’ can be what this post talks about (dap generated button for paypal).

Allan,
>>Does that mean that a buy button generated by DAP will not work? << Buy button generated by DAP does work. You can use dap generated button or use paypal hosted button for 'pay with paypal' option.

Reply
Dan Shafer - February 16, 2012

Veena,

You’re right, of course. And you describe the situation perfectly. I want ultimately to be able to use the DAP-generated buttons on the DAP cart because they give me auto-login for new users but for the moment I need to allow the PayPal payment option because many of my customers use it. I’m concerned two buttons will be too confusing for them. So I’m going with the PayPal-generated buttons for now.

Sorry if my earlier comment was misleading.

Reply
laurence galambert - February 29, 2012

Hi,

Is it possible to generate a paypal button in euros instead of dollars? And ideally generating a paypal button for both dollars and euros depending on our customer’s preference? Thank you!

Reply
Veena Prashanth - February 29, 2012

>>Is it possible to generate a paypal button in euros instead of dollars? < < Yes. You can update the value of currency_code tag in the button code.

Reply
laurence galambert - February 29, 2012

Thank you! What about if I need 2 currencies depending on my clients? Do I need to duplicate the programs in DAP? One in euro and one in dollars?

Reply
Veena Prashanth - February 29, 2012

2 currencies for the same product or 2 different currency for different products?

Reply
Nicole - March 10, 2012

Is there a way to use a button I have already created? I would like to keep the button I have on my sales page and integrate that with the DAP shopping cart.

Reply
Veena Prashanth - March 10, 2012

Nicole,

If you want to keep the same button image but connect that to the dap shopping cart, then yes, you can do so. You can connect any button image to the dap cart. Select the button image location in dap payment processor -> generate payment button page (authnet / paypal payments pro tab).

Reply
Nicole - March 10, 2012

Is there a way to connect a particular shopping cart link to an existing button? I don’t have the image files for the buttons. They are embedded into the template design, but I do have the ability to paste a link to the button. Hope this makes sense. I can provide a link to my page if that is easier–I’d rather email it to you since I’m not ready to go public with my page yet.
Thanks
Nicole

Reply
Jude - March 19, 2012

Just a question you mention to specify the paypal IPN set-up for the return URL.

My question is what if we’re using this paypal account for different products?

Will we be able to specify different return URLs for differnet products?

Reply
Therese - April 4, 2012

Is there a way to add a small checkbox (like the one below this formfield) that the customer must “check” before they click the button and are removed to paypal?

Reply
Veena Prashanth - April 16, 2012

>> Is there a way to add a small checkbox (like the one below this formfield) that the customer must “check” before they click the button and are removed to paypal? << Sorry, not possible currently.

Reply
Rainer - May 18, 2012

Hi Veena!
I still editing my sales page. I have the problem that if I click on the Paypal Button I get this error:

Invalid Regular period. You must specify valid values for the A3, P3, and T3 parameters for a subscription.

I have setup a $1 trial and then a recurring payment.

Could this cause this error?

Best, Rainer

Reply
Veena Prashanth - May 19, 2012

Hi Rainer,

You cannot do 1 initial payment + 1 recurring. You need to have atleast 2 recurring payments.

Reply
Rainer - May 19, 2012

Hi Veena

What I did is to setup a recurring Membership with a $1 trial. When this trial is over does the system automatically charge the monthly fee for the regular on, let’s say for $27? Or has the subscriber to apply in the $27 Membership again?

If so, why is there an option in the product which allows you to set up a trial? I don’t understand this.

I didn’t mean that I have setup an initial payment. I meant that what I hve described above.

Thanks for your advice.
Best, Rainer

Reply
Veena Prashanth - May 19, 2012

Hi Rainer,

>>When this trial is over does the system automatically charge the monthly fee for the regular on, let’s say for $27? Or has the subscriber to apply in the $27 Membership again? < < DAP will automatically charge the monthly fee based on your 'price&recurring' settings in dap products page => price&recurring tab.

>>If so, why is there an option in the product which allows you to set up a trial? I don’t understand this. << DAP uses the Price&Recurring settings in your products page to set up the recurring profile in the payment processor. So if you have set trial_price to $1, recurring price to $27, recurring count to 9999, and recurring_cycle to 30 days, then dap will charge the user $1 initially and then automatically every month, dap will charge $27. See: http://www.digitalaccesspass.com/doc/payment-options-setup/

Reply
Mark Mottershead - June 18, 2016

Veena – I believe I mentioned this before, it is actually possible to do 1 initial payment + 1 recurring with the product settings as as follows:

Recurring Price – $149
Trial Price – $149
Recurring Count = 2
Recurring Cycle #1 = 30
Subsequent Recurring Cycles = 30

Reply
Veena Prashanth - June 21, 2016

Hi Mark,

Yes it’s working because the trial amount is the same as the recurring amount.
You can’t do 1 trial + 1 recurring if the trial amount is not the same as recurring amount. And you need to set the recurring count to 1.

Thanks,
Veena

Reply

Leave a Reply: