==================================================
A+ Download - April 21, 2009
==================================================
E-mail
------
There are two ways of sending e-mail if the application is installed on a
Unix/Linux server, sendmail or Net::SMTP. These options are configured
from the adminstrative panel under the Configuration Link.
If the application is installed on a Win32 server then use Net::SMTP as the
e-mail program.
MailType defines the E-mail Program. 0 for sendmail and 1 for Net::SMTP.
The default is set for sendmail.
MailPath defines the Unix/Linux Path to sendmail. The default is set to /usr/lib/sendmail .
MailHost defines the mail host for Net::SMTP. No default set.
AdminEmail receives an e-mail for an system error which may occur. No default set.
Install MIME::Lite for E-mail Attachments
-----------------------------------------
If your host does not have MIME::Lite installed (use testmods.cgi
to check this) then you can easily install the Perl Module.
Download the module from cpan.org.
1. Create a Folder in /cgi-bin/aplusdownload/scripts called MIME :
/cgi-bin/aplusdownload/scripts/MIME
2. Upload in ASCII mode Lite.pm into the folder MIME.
3. Open the 2 scripts aplusdownload.cgi and testdownload.cgi with
an ASCII editor such as notepad. About 40 lines down in both
scripts UNCOMMENT (remove the # sign) the line:
#use MIME::Lite; -- becomes --> use MIME::Lite;
then save both files as ascii.
4. Set the parameter PathOfMimeLite to the full Unix path.
Example:
Unix Path: /home/yourdomain/cgi-bin/aplusdownload/scripts/MIME
Therefore set:
PathOfMimeLite=/home/yourdomain/cgi-bin/aplusdownload/scripts/MIME
6. If you don't know the full unix path run the script test.cgi
and look for the environment variable SCRIPT_FILENAME.
Delete this script, test.cgi, from your server when done.
Create Paypal Buy Button/HREF Text Link
---------------------------------------
A+ Download can generate the Paypal Buy Button as Form Tab or as a HREF from
the Cart Manager. When viewing the items added to the database there
will be a link which you can click on and it will create a pop-up window
displaying the HTML Code required for either a Graphic Button or Text Link.
There will also be the actual button or text link to test the purchase.
Simply select, copy and paste the HTML code into your web page.
To change the image or the HREF Text edit the paramters below from the Administrative
Web Panel under the section called Edit Paypal Parameters
paypal_button=https://www.paypal.com/images/sc-but-01.gif
paypal_href_text=Buy Now
Next to the paypal_button parameter is a link leading to a pop-up window displaying
the most commonly used images for paypal buttons. Simply select and copy the
url for the button you will be using and paste into the parameter paypal_button.
Compatibility of Standard PayPal Buttons
-----------------------------------------
Our shopping cart works together with Standard PayPal button created for
hard goods such as CDs, DVDs or books and so one.
One important thing is to make sure you have the return field set to the aplusdownload
script:
Example:
<input type="hidden" name="return" value="https://www.bytesinteractive.com/cgi-bin/aplusdownload/scripts/aplusdownload.cgi">
The reason is that PayPal determines the return url based on the first selection.
We suggest updating thankyou_web.htm to thank the customer for both the purchase of the Hard
Good and/or the Digital File.