| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Tips for a smooth Install of X-Payments | |||
|
|
Thread Tools |
#1
|
|||||||||
|
|||||||||
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 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Tips for a smooth Install of X-Payments
Tips for configuring the connector.
In your X-Cart under modules click configure for X-Payments Connector Store ID: < This is the store ID that was assigned when you set up the store in X-Payments > X-Payments URL: https://domain where X-Payments is/X-Payments Directory (NO Trailing /)(must be https) Public key: < This is the public key that was assigned when you set up the store in X-Payments > Private key: < This is the private key that was assigned when you set up the store in X-Payments > Private key password: < This is the private key password that was assigned when you set up the store in X-Payments > IP addresses for X-Payments callbacks: IP of server hosting X-Payments
__________________
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 |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: Tips for a smooth Install of X-Payments
Quote:
my script is in a folder named xp, I tried the following commands but to no avail. cd public_html and then php regen-codebook.php -run xp Any idea where I am going wrong? Thanks |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Tips for a smooth Install of X-Payments
I also tried,
Code:
and got the following error. Quote:
What the samhill does that mean? |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Tips for a smooth Install of X-Payments
For anyone who may need help with running the regen-codebook.php file from the command line, the following is what worked for me.
1. The server uses Cpanel 2. The xpayments folder is located at /home/mysite/public_html/xpayments 3. First you need to be in the folder /home/mysite/public_html/xpayments to run the script, to do this use the following command, Code:
Code:
Code:
notes: a) Use at your own risk, if your not confident using shell it would be best to open a ticket with QT to do this for you. b) Make sure to edit mysite above with the name of your cpanel site name. |
|||||||||
|
#6
|
|||||||
|
|||||||
Re: Tips for a smooth Install of X-Payments
My issue with the regen-codebook turned out to be my webhost version of SAPI was set to CGI rather than the required CLI
If you get "SAPI is not CLI" - check with your host. Mine did have both versions installed, but I had to specifically call the CLI version. |
|||||||
|
#7
|
|||||||
|
|||||||
Re: Tips for a smooth Install of X-Payments
Is this for real? I installed Xpayments and I can login just fine. The codes work. Do I need to perform a code regen? Why? And has this been vetted by QT? Something smells fishy here. I've never seen such clumsy documentation of an important application. If this was for real, you would think it would have been added to the README file in the install.
__________________
X-cart Ver: 4.7.10 (Linux/Apache) XCartMods Ultra Template BCSE Authorize DPM Module CDSEO 2.2.0 CDSEO Pro Admin |
|||||||
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2020
|