24

Paypal Integration Summary

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.

[s3mv]DAP-Paypal-Integration-Overview.mp4,640,350,false,false[/s3mv]

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.

Click Here to Leave a Comment Below 24 comments
Mitch - January 30, 2011

What is the best form of button to use?

Reply
Veena Prashanth - January 31, 2011

Depends on what you are looking to do.

The DAP Generated Buttons For Paypal accomplishes the same things as the Paypal hosted button but the advantage of using the DAP generated button is that your users will be automatically logged in to their membership area upon purchase and you can setup and offer coupons as part of special promotion/sale.

Reply
Easy Fan Page Design - March 12, 2011

If we use the DAP Generated button it looks as though it only works for one site…. as you cant return people back to different product sites when they buy unless I am missing something.

Can you confirm how we get theDAP Generated Button to work on multiple installs of DAP?

I am going temporarily for a paypal standard button and will try and figure out the Generated Button later.

Reply
Veena Prashanth - March 13, 2011

When you hit the buy button, DAP dynamically figures out the ‘return’ URL for that site (based on the site the button is on) and sends it to Paypal.

Paypal requires that the global auto-return be set in the Paypal Profile -> Website Payment Preferences (to allow Paypal to return users back to your site upon purchase).

So you need to set it but you can point the auto-return to any URL. Does not matter. DAP sends the return URL at button level to paypal.

Reply
Just me - September 11, 2011

After the button code was generated, where should I use that script?

Reply
Todd Wilson - December 22, 2011

I would like to know the answer to Just Me’s question as well. When I try to put it inside of the Add To Cart graphics buttons it doesn’t work. I would like to use those buttons rather then the little Buy Now button that is generated with the code. How do we insert the code to make the dap buttons work?

Reply
Veena Prashanth - December 23, 2011

Todd,
You will find the answer in this document on how to replace the DAP generated PP button with your own
image :

http://www.digitalaccesspass.com/doc/dap-generated-paypal-button-faqtroubleshooting/

Reply
Todd Wilson - December 24, 2011

Veena, Thank you for the quick response. My dilemma was trying to get the optimize press short code to work with the dap generated paypal button. I never figured it out but finally just created a button from one of the optimize press buttons and inserted it in the code as the tutorial you gave me above instructs. Thanks again and I love the DAP system. Brilliant
Happy New Year

Reply
Veena Prashanth - December 24, 2011

Thanks Todd.

Happy new year 🙂

Reply
Olivier - January 4, 2012

Hi,

I’d like to offer a 1 time payment + a recurring membership fee. So 1 single buy button will trigger:
– Training videos (how to xyz): $27 (1 time payment)
– Membership program: $0 (free for the first month, than $27/mo)

I looks like Paypal wouldn’t process this on the same order. What do you suggest I do to make this work?
Also I need to accept coupons on the 1 time payment.

Thanks, Olivier

Reply
Steve - January 17, 2012

When you say people will be ‘automatically logged in to their membership area upon purchase’…what does that mean?

I thought DAP has to send the assigned password in the ‘instant’ email after Pmt has been approved?

What do most people do and why (ie- do a DAP generated button and change image)?

Reply
Veena Prashanth - January 17, 2012

Steve,

Pls see this on how dap generated button and paypal hosted buttons work:

http://www.digitalaccesspass.com/doc/user-flow/

Reply
Veena Prashanth - January 17, 2012

Oliver,

>>- Training videos (how to xyz): $27 (1 time payment)
– Membership program: $0 (free for the first month, than $27/mo) << Maybe you can manage this using one button to sell instead of 2 and then use dap product chaining to automatically give user access to one-time when the payment comes in for membership. Steps: 1) Create membership product and one-time product in dap 2) Set the trial price = $27 and product price - $27 for the recurring product (instead of $0 trial). 3) You can setup a recurring/subscription payment button that charges the user $27 initially and then $27/mo. 4) In the product description for membership product, make it clear that the users will get access to one-time for free (the first month) when they signup for membership. 5) setup a product chaining rule that says when a user gets access to membership product, automatically give them access to one-time product. 5) Now when the buyer buys the subscription product, you will first receive an initial payment of $27 and the user will get access to one-time product. Next month onwards, you will receive the recurring payment of $27/mo and the user's access to the membership product will automatically get extended by 30 days each time and they can access the membership content based on your drip setting.

Reply
Olivier - January 18, 2012

Ah! This is brilliant -thanks!

Reply
LeeAnn - March 2, 2012

I have two coupons right now associated with a recurring product. I just want to make sure that (as long as the coupons are active and associated with the product), the same discount will be given every month when the payment recurs. In other words, my monthly membership fee is $14.97 and there is a coupon for $5.00 off – it worked perfectly for the first payment the discount was shown at checkout and the person was charged $9.97. I want to make sure that in 30 days when the payment recurs, the same discount will apply. Please advise. Thanks!

Reply
Veena Prashanth - March 2, 2012

LeeAnn,

What payment button are you using? Are you using the dap generated button for paypal ?

Reply
LeeAnn - March 2, 2012

yes – DAP generated button for PayPal

Reply
coen - September 17, 2013

PayPal will use SEPA standardization on feb. 2014
The european market will have a better access to automatic payments from that date.
Does Dap need any configuration for SEPA ?

Reply
Veena Prashanth - September 19, 2013

>>it worked perfectly for the first payment the discount was shown at checkout and the person was charged $9.97. I want to make sure that in 30 days when the payment recurs, the same discount will apply.<< When you login to paypal (or whatever payment processor you are using), you will find the 'recurring profile' is setup and it will state what the users will be charged every recurring period. The discounted amount is what you should find there. DAP sets up the full recurring profile at the time of initial purchase. So if recurring discount is setup, it will get applied and stored in paypal at the time of initial purchase. Thanks, Veena

Reply
Veena Prashanth - September 19, 2013

Hi Coen,

>>PayPal will use SEPA standardization on feb. 2014
The european market will have a better access to automatic payments from that date.
Does Dap need any configuration for SEPA ? << No, we have not done any testing with it and we are not aware of any changes needed to DAP to support this. Thanks, Veena

Reply
Urs - May 2, 2014

Hi Veena

I would like to perform an action after receiving an IPN from PayPal.

I would like to inform another webservice about the fact that a member on my DAP-Site has just received payment for a product or that the expiry date of a product has been extended (with a subscription payment)
I would like to take some information from the IPN (like new expiry) and information from the DAP database about the user (like name and customer number) and pack that in a post request to a third party website, so that that website also can update their membership information about my customer.

Is there a way that I can trigger such a post request or even a get request (like URL with querystring attached) after receiving an IPN from PayPal? How?

Thanks
Urs

Reply
Veena Prashanth - May 2, 2014

Hi Urs,

You can use our IPN Redirect plugin to manage this.

More here:
http://wickedcoolplugins.com/doc/ipn-redirect/

It acts like a router that can forward an incoming IPN to multiple destinations.

-Veena

Reply
Urs - May 2, 2014

Hi Veena

I have actually seen this plugin but I’m wondering whether it will let me
– combine data from the IPN and the DAP user database
– create parameters (or variables) that will be accepted by the 3rd party service
and send that all off together in one post request to that 3rd party.

If I read the info on the plugin correctly, it simply distributes the same IPN to several URLs, but it wouldl not allow me to “translate” certain parameters and call them differently or to even add data from the DAP user database.
Right?

Thanks
Urs

Reply
Veena Prashanth - May 2, 2014

Hi Urs,

DAP also uses the same info that comes in the IPN to create user account, give user access to product etc.

So whatever url / script you send the IPN post to, you will have to implement the translation rules etc in that script.

Veena

Reply

Leave a Reply: