View Single Post
  #1  
Old 07-04-2010, 04:31 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default Tips for a smooth Install of X-Payments

First, you must meet the specified server requirements.

Tip 1: Unarchive files in a new directory such as /my_pay_dir/
After unarchived, copy down contents of /my_pay_dir/xpayments/ to /my_pay_dir/ and delete /xpayments/.

If you instead decide to unarchive at root, be sure to backup your robots.txt file.

Tip 2: Wrap all entries in config with ""

Examples: host="localhost", unix_socket="", host="mail.yourdomain.com", web="https://yourdomain.com/my_pay_dir/", and yes even auth="LOGIN"

Tip 3: the real directions for:

8. IMPORTANT. Default codes contained in <lib/XPay/Model/Codebook.php> must be changed after the installation is done. Use maintenance script regen-codebook.php to generate a new codebook.

is

(Must be ran from shell)
3. Run the script with a -run flag (php regen-codebook.php -run <system path to X-Payments>).
4. If the script failed, copy the file <lib/XPay/Model/Codebook.prev.php> to the file <lib/XPay/Model/Codebook.php>, restore the database from the saved dump and repeat step 3.
5. If the script completed successfully delete the database dump file and the <lib/XPay/Model/Codebook.prev.php> file.

Tip 4: I have posted how to install X-Payments Connector for X-Cart 4.1.12 here

Please add your contributions too
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote