X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   X-Payments suddenly stopped working (https://forum.x-cart.com/showthread.php?t=67347)

horsessmellfunny 07-13-2013 09:28 AM

X-Payments suddenly stopped working
 
I have X-Cart 4.5.2 installed and prior to upgrading X-Payments to see if it would fix the problem, I had X-Payments 1.0.5, but I upgraded to X-Payments 1.0.6. My hosting company recently enabled ModSecurity and that▓s when I started encountering all of the issues. I have been in touch with them and they have completely disabled ModSecurity on my domain, so that is not the culprit. (At least that's the assumption)
Any time I attempt to test the X-Payments configuration (through the X-Payments Connector in the shopping cart), I receive the ⌠Response is not valid check logs■ error message. Well, there aren▓t ANY Logs ANWHERE pertaining to X-Payments. The only logs I see are the admin login logs in /xpayments/var/log.
When I attempt a Credit Card transaction, the cart submits the information to X-Payments, but then returns with a generic error: ⌠Order Processing Error■ Reason: Internal Error.
The ONLY change that was made was on the server and that was the enabling of ModSecurity, but like I said, that has been completely disabled.
As a matter of course, I downloaded and installed a completely fresh installation of X-Cart 4.6 along with the new version of X-Payments, but I am still facing the same issue. I have checked all of the Payment Gateway settings and they are ok. Are there any additional error logs that I can check? I am really at a loss for all of this┘

cflsystems 07-13-2013 09:30 AM

Re: X-Payments suddenly stopped working
 
the XC logs - root_of_cart/var/log

horsessmellfunny 07-13-2013 12:11 PM

Re: X-Payments suddenly stopped working
 
Thanks for that info, this is what I found:
[13-Jul-2013 10:38:48] (shop: 13-Jul-2013 10:38:48) xpay_connector message:
Response is not valid.
Response headers: 'HTTP/1.1 100 Continue

HTTP/1.1 403 Forbidden

Date: Sat, 13 Jul 2013 17:38:48 GMT

Server: Apache

Content-Length: 343

Content-Type: text/html; charset=iso-8859-1

'
Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /shop/xpayments/api.php
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
Request URI: /shop/admin/configuration.php?option=XPayments_Connector&mode= test_module
Backtrace:
/shop/modules/XPayments_Connector/xpc_func.php:1842
/shop/modules/XPayments_Connector/xpc_func.php:1542
/shop/modules/XPayments_Connector/xpc_func.php:1051
/shop/modules/XPayments_Connector/xpc_admin.php:169
/shop/admin/configuration.php:120
-------------------------------------------------
[13-Jul-2013 10:38:51] (shop: 13-Jul-2013 10:38:51) xpay_connector message:
Response is not valid.
Response headers: 'HTTP/1.1 100 Continue

HTTP/1.1 403 Forbidden

Date: Sat, 13 Jul 2013 17:38:51 GMT

Server: Apache

Content-Length: 343

Content-Type: text/html; charset=iso-8859-1

'
Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /shop/xpayments/api.php
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
Request URI: /shop/admin/configuration.php?option=XPayments_Connector&mode= export
Backtrace:
shop/modules/XPayments_Connector/xpc_func.php:1842
shop/modules/XPayments_Connector/xpc_func.php:1542
shop/modules/XPayments_Connector/xpc_func.php:282
shop/modules/XPayments_Connector/xpc_admin.php:98
shop/admin/configuration.php:120
-------------------------------------------------

I'm assuming ModSecurity is still giving me grief...

ambal 07-17-2013 11:23 PM

Re: X-Payments suddenly stopped working
 
Moved to X-Cart forums > X-Payments issues & questions

joestern 08-07-2013 01:51 PM

Re: X-Payments suddenly stopped working
 
Same problem here. Did you find a solution?

joestern 08-07-2013 02:13 PM

Re: X-Payments suddenly stopped working
 
Figured out my problem.

I was pasting that string in from Payments to Payments-connector.

It didn't use the complete URL, down to the directory.

Once I manually added in the rest of the URL, all works.


All times are GMT -8. The time now is 05:50 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.