Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

X-Payments suddenly stopped working

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 07-13-2013, 09:28 AM
 
horsessmellfunny horsessmellfunny is offline
 

Newbie
  
Join Date: May 2006
Posts: 6
 

Default 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┘
__________________
www.maximumsignal.net
Reply With Quote
  #2  
Old 07-13-2013, 09:30 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Payments suddenly stopped working

the XC logs - root_of_cart/var/log
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 07-13-2013, 12:11 PM
 
horsessmellfunny horsessmellfunny is offline
 

Newbie
  
Join Date: May 2006
Posts: 6
 

Default 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:4 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...
__________________
www.maximumsignal.net
Reply With Quote
  #4  
Old 07-17-2013, 11:23 PM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: X-Payments suddenly stopped working

Moved to X-Cart forums > X-Payments issues & questions
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #5  
Old 08-07-2013, 01:51 PM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default Re: X-Payments suddenly stopped working

Same problem here. Did you find a solution?
__________________
X-Cart version 4.7.12
Reply With Quote
  #6  
Old 08-07-2013, 02:13 PM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default 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.
__________________
X-Cart version 4.7.12
Reply With Quote

The following user thanks joestern for this useful post:
ambal (08-07-2013)
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:31 AM.

   

 
X-Cart forums © 2001-2020