Index

PayOffline Merchants only.

(other users can ignore this page.)

Please note:

PayOffline can be used in conjunction with your other payment methods if you already have these set up.

For the setup to work you must have already successfully installed the shop.pl file.

PayOffline requires additional files which can be obtained from

http://www.online-store.co.uk/payoffline.zip

Unzip these into the shop3 folder on your hard drive.

the files are

payoffline1.pl,  payoffline2.pl  and  show_orders.pl

Run the setup program and click on the "Setup 3" menu

Select PayOffline. You should see a screen like the one below.


payoffline_setup.jpg (52314 bytes)

The information you enter into these boxes is used to set up the Perl scripts for PayOffline

Merchant Key:
This is the merchant key provided by PayOffline.
Two merchant keys are provided, one for testing and another for actual transactions.

Cancel URL:
is set to the page the customer sees when their cancel an order.

Return URL:
is set to the page a customer see when they complete an order.

First of all tick the box labeled "Use the PayOffline Order Form"

"Your Sales Email Address" and "Sender Email Address"

are used to set up the SendMail script for your notification emails.

To ensure the maximum conpatibility with the different server setups,

both should email address should include the domain of your website.

for example. store@you-domain.com and merchant@yourdomain.com


The payoffline1.pl file


Load the file into a text editor.

The first lines should be similar to this

# Copyright Online-Store.co.uk 2007

# User Defined

$doc_dir='';
$data_dir='';


these point to the folders that contain the PayOffline scripts and files. If all the PayOffline files are in the same folder, then in most cases these values  need not be modified.


The payoffline2.pl file


Load the file into a text editor.

Look for the line below the "User Defined" section of code.


# Copyright Online-Store.co.uk 2007

# User Defined

$sendmail='/usr/lib/sendmail';

$doc_dir = '';
$data_dir = '';

$sendmail='/usr/lib/sendmail';

This is the address of SendMail on your server. In this case it is set to /user/lib/sendmail .  Set to the same value as SendMail on your server.

$doc_dir = '';
$data_dir = '';

these point to the folders that contain the PayOffline scripts and files. Set to the same value as those in script.pl