Entries Tagged 'Cron' ↓
November 6th, 2008 — 1ShoppingCart, ClickBank, Config, Cron, Integration with Shopping Carts, Products, Setup, Users
DAP Currently works with Paypal, ClickBank and 1Shoppingcart (and all private labels).
[For Paypal, DAP has a Paypal IPN Plugin]
Keep reading if you are processing payments through 1ShoppingCart or ClickBank.
For 1ShoppingCart and ClickBank, DAP does “Email Parsing” of orders.
So here’s how it works:
1. Go to DAP Admin control panel, go to “Config” screen and click on the the “Payment Integration” drop down. Basically all you are actually doing, is to tell DAP where your payment notification emails from ClickBank/1SC come in.
2. On this screen, put in your smtp server name (eg., mail.yoursite.com), billing email address (eg., billing@yoursite.com) and password.
3. Set up your sales page as you would normally do when accepting payment through ClickBank or 1ShoppingCart. The only thing you need to make sure is to use the exact same “Product Name’ in your cart 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 1SC cart or CB product name.
4. During installation, a Cron job was already set up to run the “Payment Processing Job” to run every 10 minutes. So, every 10 minutes, DAP will automatically check the “billing email address” that you specified in your “Config” (step 2) 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.
Try out some test purchases first. For instance, take an existing CB notification email, change name and email (to your own name and email id), and then send it out by email to your own billing email address (as if you are ClickBank, notifying the billing email of the purchase).
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.
September 12th, 2008 — Cron, Setup
(Note: You can get this setup as part of your free installation. But if you insist on doing it yourself, keep reading
There are two cron jobs that you need to setup.
1. dap-emailorder.php (every 10 minutes)
This is the email order processing cron, used ONLY for 1ShoppingCart & ClickBank. Skip this if you’re using Paypal.
2. dap-cron.php (every 1 hour):
This is the main scheduler. This sends out all queued bulk mails, autresponder emails, does clean up, etc. This one is mandatory.
How To Setup The Cron Jobs
(A) Before you can set up the cron jobs, you first need to figure out the “Path to PHP” on your web 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/php5/bin/php
(B) Visit the following url (replace YourSite.com with your actual domain name):
http://www.YourSite.com/dap/getpath.php
This will show something like this in your browser:
/home/.xyz/yoursite/yoursite.com/dap
This is your “local path” to your root folder. Make a note of the “Path to PHP” from (A) and “local path” from (B). You will be using it below.
Setting up the Cron jobs
1. dap-emailorder.php (for 1ShoppingCart & ClickBank only)
This cron job should be set up to run once every 10 minutes. This is the cron script that processes all of your orders from your customers through email. 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 ClickBank or 1ShoppingCart (and its private labels).
The full text to put in where it asks for the “Command to run” on your “Cron Jobs” screen in your control panel, is this:
usr/local/php5/bin/php<insert space>/home/.xyz/yoursite/yoursite.com/dap/dap-emailorder.php
2. dap-cron.php:
This one is mandatory. Should be set up to run once every hour. This hourly process is what sends out all the scheduled broadcast (bulk) emails and processes different types of “bulk actions” – like importing a large list of customers into DAP from an external system, for instance.
The full text to put in where it asks for the “Command to run” on your “Cron Jobs” screen in your control panel, is this:
/usr/local/php5/bin/php<insert space>/home/.xyz/yoursite/yoursite.com/dap/dap-cron.php
Note: Where you see the text <insert space>, replace with an actual space (hitting the space bar).
February 23rd, 2008 — Cron, Database, Installation
NOTE: If you are using WordPress, then click here for instructions on how to install DAP as a WordPress Plugin.
This documentation below is only for installing DAP on a Non-WordPress, plain HTML web site.
But you don’t need to be doing this!
Did you know you get free installation along with your purchase of DAP? Yes, even if you are only trying out the free trial and haven’t paid us a dime!
But for some reason, if you do not wish to take us up on the free offer, and wish to do it yourself, then here are the instructions.
We’ve tried to make DAP installation extremely simple. To do a full installation of DAP (non-WordPress version), it will take about 15-20 minutes.
Uploading the files
Download dap.zip from the members area:
Unzip to your desktop. You should see a folder named dap
Upload the entire dap folder on your computer, to the root of your web site. The root directory is where your web site’s home page is usually located. This directory also goes by the name “public_html” or “www” or “htdocs”.
Once this is done, the dap folder should now be accessible by typing in http://www.Example.com/dap/ – but wait – don’t visit that link yet.
Creating the Database
You will first need to create a database for DAP to use and store its data. So log in to your web host control panel, go to the “MySQL Databases” section, create a new database, then create a new user (with password), then finally make sure you “Add” the newly created database user to the newly created database (to give the user access to create, read, update and delete data from the database).
Note down the new database name, username and password.
Installing DAP
Visit http://YourSite.com/dap/install/
Fill out the form there with the above database details.
Put in “localhost” for the database host name (unless your host has specifically asked you to use something else).
Submit the form.
That should create the dap-config.php file within your dap folder.
And you’ll see a series of messages about how the installation went.
That’s it for the basic DAP installation. You just need to set up the cron jobs to complete installation.
Setting Up the Cron Jobs
See this link to set up the cron jobs.
That’s it!
For support, open a ticket at http://www.DigitalAccessPass.com/support/