10

DAP integration with 2Checkout

DAP now integrates with 2CO!

To integrate DAP with your 2CO account, pls update the IPN in your 2CO account to point to http://yoursite.com/dap/dap-2co.php (replace yoursite.com with the name of your site) for the following events:

– Order Created
– Fraud Status Changed
– Recurring Installment Success
– Recurring Installment Failed
– Recurring Restarted

NOTE: When you create products in 2CO to sell, make sure you create products by the EXACT same name in DAP otherwise the transaction will not be processed by DAP.

Here’s how the script will work:

1) Order Created

DAP will create and activate the membership account at the time of purchase.
DAP will look for the message type of ORDER_CREATED and invoice_status of “approved” to automatically create the membership account. The user will receive the welcome email with full access to the purchased items (based on content drip settings in dap products page) upon purchase completion.

2) Fraud Status Changed

2CO approves or disapproves a purchase inmediately. If the purchase is approved, DAP will receive an “Order created” message via IPN from 2CO; if not, 2CO will not send any message. After that, 2CO has a “second tier” fraud check. Upon the completion of Fraud Check, 2CO will send out FRAUD_STATUS_CHANGED message. DAP will not take any action if fraud_status = “pass”. But if fraud_status in NOT “pass”, then dap will set the user’s product status in DAP to INACTIVE.  So the user will not be able to access the DAP product any more.

3) Recurring Installment Success

Upon successful recurring payment notification from 2CO, DAP will simply extend the user’s access end date based on the ‘recurring cycle’ setting in dap products page -> Price/Recurring tab for the product.

4) Recurring Installment Failed

DAP will reset the access end date to current date if recurring payment fails so user will not be able to access content past the failed date.

5) Recurring Restarted

DAP will start back from where the user last left off. The user’s access end date will be extended from whatever it was set to previously. The access end date is extended based on the recurring period settings in the dap products page -> Price/Recurring tab for the product.

Click Here to Leave a Comment Below 10 comments
Bogdan - January 3, 2012

I want to integrate DAP with 2CO and DAP affiliate system.

In this case do I need to set up product price in DAP or not? If not, how will the affiliates be paid? How will they know the product price?

Reply
Veena Prashanth - January 3, 2012

If you use 2co, the DAP product price will not be used (even if it is set).

As long as you have integrated 2co->dap, 2co will send the product price to dap and dap will use that for all processing (affiliate etc).

Reply
Bogdan - January 4, 2012

So the price for the product should be 0 and the affiliate commission can stay at 50% and it’ll work, right?

Reply
Alexei - January 17, 2012

Hi, I’m using 2co with my another website (Without DAP Install). So, if I’ll start using the same 2co account With my new site where is DAP Installed, and I’ll Change the status In 2checkout settings by pointing on http://mysite.com/dap/dap-2co.php (Just like DAP integration with 2Checkout Required ) I wonder if Setting for my older site will not be hurt

Reply
Steven - January 19, 2012

Same question here, can the IPN be set at the product level not at the global level – as currently have integration with other systems globally.

Reply
Veena Prashanth - January 19, 2012

>>So the price for the product should be 0 and the affiliate commission can stay at 50% and itll work, right? << Yes. If you are using 2co to sell, the product price in dap does not get used even if it is set. You can set the affiliate commission in dap and it will get applied to the price that comes from 2co in the IPN to dap.

Reply
Veena Prashanth - January 19, 2012

>>Same question here, can the IPN be set at the product level not at the global level “ as currently have integration with other systems globally. << That's a question for 2co. I dont think they allow product level IPN.. they only allow 1 global IPN. One thing you can do is have the 2co notification point to one of the dap sites and you can set up IPN relay / redirect to automatically distribute all arriving IPNs to multiple destinations. We will be launching a IPN redirect plugin (in 2 weeks) that will allow you to do this.

Reply
Jon - May 21, 2012

Hi, how do I generate the 2Checkout pay button from DAP that I plug into the html in my sales page? I cannot figure this out!

I only see options for Paypal Standard, Auth.net & Paypal Pro, 1ShoppingCart, and ClickBank. Where is the setting for 2Checkout?

Reply
Jon - May 21, 2012

In your dap v 4.2.1 update a file called http://yoursite.com/dap/dap-2co.php does not exist.

Reply
Veena Prashanth - May 21, 2012

>> In your dap v 4.2.1 update a file called http://yoursite.com/dap/dap-2co.php does not exist. < < Pls download it again. It is there. >>Hi, how do I generate the 2Checkout pay button from DAP that I plug into the html in my sales page? I cannot figure this out! < < You need to generate button in your 2co account. Pls see: http://www.digitalaccesspass.com/forums/threads/629-2Checkout-gt-DAP-Integration

Reply

Leave a Reply: