| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Installation of X-Payments Connector on X-Cart 4.1.12 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Installation of X-Payments Connector on X-Cart 4.1.12
This is provided to you without any guarantee that it will work for you. As always backup ALL files and data base before beginning.
This is not for the faint at heart. If you have any doubts what-so-ever about how to do it, pay for QTS to do it for you. *********************************************** From your admin area go to Patch/Upgrade and in the Apply SQL patch, SQL query(ies): Copy and paste the following then apply it. Code:
From your admin area go to Patch/Upgrade and in the Apply SQL patch, SQL query(ies): Copy and paste the following then apply it. Code:
__________________
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
|
|||||||||
|
|||||||||
Installation of X-Payments Connector on X-Cart 4.1.12 (Part 2)
From your admin area go to Patch/Upgrade and in the Apply SQL patch, SQL query(ies):
Copy and paste the following then apply it. WARNING! The below is for the X-Cart 4.1.12 US English language variables Code:
__________________
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
|
|||||||||
|
|||||||||
Installation of X-Payments Connector on X-Cart 4.1.12 (Part 3)
From your admin area go to Patch/Upgrade and in the Apply SQL patch, SQL query(ies):
Copy and paste the following then apply it. WARNING! The below is for the X-Cart 4.1.12 US English language variables Code:
__________________
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 |
|||||||||
#4
|
|||||||||
|
|||||||||
Installation of X-Payments Connector on X-Cart 4.1.12 (Part 4)
Download the connector from your file area at QT and unarchive it.
Make the following changes to the files you unarchived. In \modules\XPayments_Connector\xpc_func.php 1) Remove: Code:
2) Remove: Code:
3) Replace: Code:
With Code:
4) Replace: Code:
With Code:
5) Replace: Code:
With Code:
6) Replace: Code:
With Code:
7) Replace: Code:
With Code:
8 ) Replace: Code:
With Code:
In \payment\cc_xpc.php 1) Replace: Code:
With Code:
2) Replace: Code:
With Code:
Now your ready to upload the files Ignore the file in admin - do not upload it Ignore sql folder - These have already been applied Ignore Install files - You won't be using them upload files in modules, payment, and skin1_original taking care to maintain structure. Upload files from skin1_original into skin 1 also taking care to maintain structure.
__________________
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 |
|||||||||
#5
|
|||||||||
|
|||||||||
Installation of X-Payments Connector on X-Cart 4.1.12 (Part 5)
Edit or Download and edit the following existing files on your X-Cart 4.1.12 install:
In cart_directory/top.inc.php 1) ADD Code:
After Code:
In cart_directory/admin/cc_processing.php 1) ADD Code:
After Code:
2) REPLACE Code:
With Code:
3 ) ADD Code:
After Code:
4) REPLACE Code:
With Code:
5) ADD Code:
After Code:
In cart_directory/admin/configuration.php 1) REPLACE Code:
With Code:
2) ADD Code:
After Code:
3) ADD Code:
After Code:
In cart_directory/admin/payment_methods.php 1) ADD Code:
After Code:
2) REPLACE Code:
With Code:
3) ADD Code:
After Code:
One .tpl file to edit. In cart_directory/skin1/admin/configuration.tpl 1) ADD Code:
After Code:
2) ADD Code:
After Code:
3) ADD Code:
After Code:
YOU ARE DONE!!!! 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 |
|||||||||
|
#6
|
|||||||||
|
|||||||||
Re: Installation of X-Payments Connector on X-Cart 4.1.12
I have posted some tips on how to install X-Payments here
__________________
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 |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Installation of X-Payments Connector on X-Cart 4.1.12
Thanks for posting this, sure there will be users to benefit. In post #4 in the beginning is missing in which file changes go (it is modules/XPayments_Connector/xpc_func.php). Also I think you should mention which payment gateway you are using. I won't be suprised if some changes are specific to the payment gateway (they shouldn't be but who knows...). I am trying to work out one for 4.2.x
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: Installation of X-Payments Connector on X-Cart 4.1.12
Quote:
Fixed the missing filename. No payment gateways are needed in X-Cart any longer if using X-Payment Connector. The payment gateway is contained in X-Payments and imported into X-Cart, via X-Payment Connector, as a payment method.
__________________
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 |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: Installation of X-Payments Connector on X-Cart 4.1.12
Quote:
Look in the the xpayments/var/log folder for clues. In my installation, using FirstData, there is a problem. ERROR [2010-03-07 00:01:34] User: unknown; IP: xx.xxx.xx.xxx Zone: Transport Code: GATEWAY_RESPONSE_CODE_WRONG_FORMAT (139) Response code returned by payment module contains unallowed characters - "1603518937562682:YYYM:" Clearly the "1603518937562682:YYYM:" is valid, X-Payments handler for FirstData has a problem. I have submitted a ticket. Funny, a declined transaction works correctly. Only the successful ones have the problem.
__________________
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 |
|||||||||
#10
|
|||||||
|
|||||||
Re: Installation of X-Payments Connector on X-Cart 4.1.12
Excellent post Dog...thanks for sharing! Oh this is going to be such a fun week...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|