Entries Tagged 'Cron' ↓

Your Sales Page and Payment Processing

DAP Currently works with Paypal, ClickBank and 1Shoppingcart (and its private labels).

So here’s how your sales process works:
1. Go to DAP admin control panel, go to “Config” screen and set up the “Payment Integration” drop down like shown here. Basically all you are actually doing is to tell DAP where your payment notification emails come in (you tell DAP what that email address is, and provide it with the password).

2. Set up your sales page as you would normally do, when accepting payment through Paypal, ClickBank or 1Shoppingcart. The only thing you need to make sure is to use the exact same “Product Name’ in both your buy button as well as within DAP.

So, if you set up a product called “My Membership Site” within DAP, then use the same name “My Membership Site” in your shopping cart too (or Paypal buy button), as the product name.
3. During installation, a Cron job has already been set up to run the “Payment Processing Job” to run every 10 minutes. So, every 10 minutes, DAP will automatically check the “payment email address” that you specified in your “Config” (step 1) and if there is a payment for a product name that matches the product name in DAP, then it will automatically add that customer to DAP as a member.

That’s it!

NOTE: If you ever change the name of your product in your shopping cart or on your web site, make sure to change the product name to the new one within DAP also.

- Ravi Jayagopal

Setting Up Cron Jobs

There are two cron jobs you need to set up.

1. dap-cron.php: Should be set up to run once every hour. This script sends out all the scheduled bulk emails and processes the different type of “bulk” actions. Don’t worry about what those actions are. This just needs to run once every hour.

2. dap-emailorder.php: Should be set up to run once every 10 minutes. This is the cron script that processes all of your orders from your customers. DAP does almost all email processing. So, if you set this up to run once every 10 minutes, then every 10 minutes, it will log in to your billing email address (you can configure what this email id is within the admin control panel on the “Config” screen) and process the email notifications that you have received from Paypal, ClickBank or 1ShoppingCart (and its private labels).

There are two things you need to figure out:

a) The path to PHP on your host: They usually have this somewhere in your web site control panel. If not, just ask them or read their wiki.

For eg., on Dreamhost.com, it looks like this:
/usr/local/host/cgi-system/php5.cgi

b) You need your local path on your server to your root folder. For this, simply visit the following url:

http://www.Example.com/dap/getpath.php

This will spit out something like this:

/home/.xyz/yoursite/yoursite.com/dap

For the first cron, add the text “/dap-cron.php” to this path.

For the second cron, add the text “/dap-emailorder.php” to this path.

So, the full text to put in where it asks for the “Command to run” is this:

Cron 1:
/usr/local/host/cgi-system/php5.cgi<insert space>/home/.xyz/yoursite/yoursite.com/dap/dap-cron.php

Cron 2:
/usr/local/host/cgi-system/php5.cgi<insert space>/home/.xyz/yoursite/yoursite.com/dap/dap-emailorder.php

Where you see the text <insert space>, replace with an actual space (hitting the space bar).

Set Cron 1 to run hourly, and Cron 2 to run every 10 minutes.

That’s it!

DAP Installation

We’ve tried to make DAP installation extremely simple.

To get the basic installation of DAP up and running, it will take about 10 minutes.

There are also advanced installation pieces (like the DAP Cron job, that will send out scheduled autoresponder emails and bulk emails) that require a wee bit more time (like another 10 minutes).

But we’re here to support you every step of the way.

So here are the various pieces of installation:

1. DAP Files and Database Installation

2. Protecting WordPress:
- WP in Root folder (Example.com itself is your blog)
- WP in Sub-folder (Example.com/blog)

3. Protecting Regular Site Files
Eg., (Example.com/product/yourproduct.pdf)

4. Customizing DAP to your site:
- Modifying “Config” data
- Customizing Header and Footer

5. Setting up the Cron job

- Ravi Jayagopal

For DAP Support, open a ticket at http://www.DigitalAccessPass.com/support/