6

User Flow

There is no pre-registration in dap. Upon completion of purchase, the user is automatically logged-in to their membership area.  You can also choose to redirect users wherever you want (button level redirect) upon purchase.

Here’s how user flow works.

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

Paypal Hosted Button (Paypal Standard)

Buy Now / Subscription / AddToCart

* Buyer clicks on the button (button created within your paypal account) on your sales page
* Buyer is taken to the Paypal page.
* Buyer completes the payment successfully
* Buyer is transferred back to whatever you set in the button-level return url within Paypal.
* In the meantime, Paypal notifies DAP via IPN about the purchase.  Make sure you integrated DAP and Paypal hosted button using this document.
* DAP automatically creates the member account, and sends thankyou email (configured in your dap products page) with login info to the buyer. Make sure to setup the thankyou email in the DAP products page for all the products you sell via DAP.
* When the users login to their membership area, they will be redirected to either product-level logged-in URL or global logged-in url based on whether they have access to just 1 product or multiple products. The product level logged-in url is used if the user has access to just 1 product. The global logged-in url (under dap setup -> config -> advanced -> url to which user is redirected upon login) is used when user has access to multiple products.
* Note: You can create a members area and redirect users to that page upon purchase.

 

DAP Generated Paypal Button (Paypal Standard)

Buy Now / Subscription / AddToCart

* Buyer clicks on the button (button created within DAP Payment/Coupons -> Generate Paypal Button) on your sales page
* Buyer is taken to the Paypal page.
* Buyer completes the payment successfully
* Buyer is transferred back to your site where dap does all of the following :
– automatically creates the member account
– automatically logs-in the user to their membership area
– automatically redirects the user back to whatever you set in the redirect tag in the button code.
Note: If you do not set redirect tag in the button, then dap will automatically redirect users to product-level or global-logged-in URL based on whether they have access to just 1 product or multiple products. The product level logged-in url is used if the user has access to just 1 product. The global logged-in url (under dap setup -> config -> advanced -> url to which user is redirected upon login) is used when user has access to multiple products.

* Make sure you integrated DAP and Paypal hosted button using this document.
* DAP also sends thankyou email (configured in your dap products page) with login info to the buyer. Make sure to setup the thankyou email in the DAP products page for all the products you sell via DAP.

* Note: You can create a members area and redirect users to that page upon purchase.

Clickbank

* Buyer clicks on the button (button created within your clickbank account) on your sales page
* Buyer is taken to the Clickbank page where they can complete payment
* Buyer completes the payment successfully
* Buyer is transferred back to whatever you set in the thankyou URL in CB for the product.
* In the meantime, Clickbank notifies DAP via INS (instant notification service) about the purchase.  Make sure you integrated DAP and Clickbank using this document.
* DAP automatically creates the member account, and sends thankyou email (configured in your dap products page) with login info to the buyer. Make sure to setup the thankyou email in the DAP products page for all the products you sell via DAP.
* When the users login to their membership area, they will be redirected to either product-level logged-in URL or global logged-in url based on whether they have access to just 1 product or multiple products. The product level logged-in url is used if the user has access to just 1 product. The global logged-in url (under dap setup -> config -> advanced -> url to which user is redirected upon login) is used when user has access to multiple products.
* Note: You can create a members area and redirect users to that page upon purchase.

Buyer->Affiliate Association

You need to connect your payment processor to DAP first so buyer’s purchase is registered in dap.   If your payment processor is not connected to dap, there is no way for dap to connect the affiliate and the buyer.

1) It starts with the prospect/buyer clicking on the affiliate link. When prospect/visitor clicks on the affiliate link, a cookie gets set on their computer.

2) The buyer completes the purchase.

3) You should now see the buyer’s account in DAP admin -> Users ->Manage page.
NOTE: you must integrate the payment processor with dap so the buyer will be automatically registered in dap upon successful purchase as described in the Userflow –  DAP Generated Paypal Button above.

4) Then the user logs in to the membership area after purchase.  When the user logs in, dap checks if an affiliate cookie exists, and if it does, it creates an association between the buyer and the affiliate in the database. This association occurs during login.

NOTE:  If you use dap generated button for Paypal or the DAP shopping cart, DAP automatically logs in the user to their membership area upon purchase. So the association between buyer and affiliate is automatic right after purchase. But if you use a payment button where the user is not auto-logged in upon purchase, then the user/buyer must login to their membership area in dap atleast once for the association between buyer-> affiliate to occur.

5)  When the DAP cron runs at the top of the hour, then the affiliate gets credited. Until then, you will see an association between the user->affiliate in the DAP -> Users ->Manage page but the sales commission wont be reported. After the cron runs, the affiliate is awarded commission.

To test this:   you can manually run the cron in a browser (http://yoursite.com/dap/dap-cron.php – replace yoursite.com with the name of your site).

We do not recommend that you run the cron manually because it can time out (if there are too many items to be processed).  So you should wait for the automatic cron run at the top of the hour. But if the commission does not occur at all, then run it manually. If the manual run works ok, then it means that your automated cron setup is not working.  Check the CRON setup in your webhost control panel -> Cron tab.   See if the DAP hourly cron (dap-cron.php) is setup to run once every hour.

If not, it needs to be setup as described here:  http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/

 

 

 

Click Here to Leave a Comment Below 6 comments
Russell Hall - July 20, 2012

I’ve looked everywhere for this but can’t see it.
I would like to change the defaulted ipn notify when using a DAP generated PayPal button because I need to have 2 ipn scripts notified after checkout.
When using PayPal generated button I can acheive this very simply by using the plugin ipn-redirect (wicked-cool-plugins) which allows me to set global ipn notify in PayPal to my ipn-redirect splitter script of “mywebsite.com/routerurl1.php” which then sends the ipn data to dap/dap-paypal.php and it works fine.

BUT,.. when using the DAP generated PayPal button the DAP button script overrides the PayPal global setting and ignores my “mywebsite.com/routerurl1.php” URL.

I have tried the following lines of code into the DAP button script but they do not work in directing the ipn notification to where I want it to go and not to the defaulted dap/dap-paypal.php (my redirect php script includes that defaulted address in it as it is of course a necessary recipient of ipn data).
Here’s what I tried to no avail:
[FAIL]

[FAIL],.. and also interfered with thanyou.php as I got zero notification in DAP admin or email.

[FAIL]

For each one of the above tests when I checked in PayPal ipn history it showed “Notification URL: http://mywebsite.com/dap/dap-paypal.php” which means that the input values I had edited into the DAP button code were somehow ignored.

My alternative is to use PayPal generated buttons but I’m having issues with the thankyou.php script returning the purchasers to a blank error page even though everything else (user account and keycode delivery) had worked perfectly.

Reply
Russell Hall - July 20, 2012

Looks like code tags stripped all data,.. lets try again.
Here’s what I tried to no avail:
input type=”hidden” name=”notify_url” value=”http://mywebsite.com/routerurl1.php” [FAIL]

input type=”hidden” name=”address_override=1
notify_url=http://localbizvortex.com/routerurl1.php” [FAIL],.. and also interfered with thanyou.php as I got zero notification in DAP admin or email.

input type=”hidden” name=”return” value=”http://mywebsite.com/routerurl1.php” [FAIL]

Reply
Veena Prashanth - July 21, 2012

Russell,

I added a forum post for this because the tags are getting stripped by wordpress upon save so it’s hard to see the exact syntax.

Pls read this:

http://www.digitalaccesspass.com/forums/threads/749-IPN-Redirect?p=2149#post2149

Then cut&paste the button code you are using in the forum thread and I will reply to that.

Thanks,
Veena

Reply
Jeff - February 23, 2013

Hi there.

I have a new membership level.. I have set up all the fields.. AND protected the content.

My goal is to add that new level to the MENU so people can buy it.

When people press the link on the menu – if they have access – they get it.

IF they don’t have access – they go to the error page.

My problem is – the link on the menu doesn’t show up because the content is protected.. so they have to buy it first before the menu link appears. BUT they can’t see it to buy it.

Reply
Jeff - March 7, 2013

Still an ongoing challenge:

1. How do you put a new membership level on the menu and then when they buy it – how do you take it off the menu?

Reply
Veena Prashanth - March 23, 2013

Jeff,
DAP can control whether on not to show protected content in the menu. But you cannot configure dap to automatically remove the protected content from menu if a user has access to it.

What you can do:

1) You can configure dap to always show protected content in the menu. When a visitor or user that does not have access to the protected content try to access it by clicking on the menu item , they will end up seeing a ‘sorry you dont have access’ page.

2) You can configure dap to ONLY show protected content in the menu to “valid logged-in users with access to the content”. In this case, when a visitor or user that does not have access to the content visit your site, they will not see that menu item. It will disappear from their view as they dont have access to it.

What you cannot do:

You cannot configure dap to automatically remove the protected content from menu if a user has valid access to it. You can only configure dap to automatically remove the protected content from the view of unauthorized users (users that dont have access).

Thanks,
Veena

Reply

Leave a Reply: