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

X-Payments "Connection timed out" Issue

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 05-01-2017, 08:42 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default X-Payments "Connection timed out" Issue

I was using X-Cart 4.7.7 with X-Payments (locally hosted, newest version I think - not sure how to check).

Today, choosing the credit card option in checkout in my X-Cart 4.7.7 produces and error and won't let a customer enter credit card info.

The error is:

"Connection timed out"

Full error is in the pic.

I've updated keys, redeployed the payment config, etc. I see the pending payments in X-Payments, but that's it.

Any ideas?
Attached Images
File Type: png Screen Shot 2017-05-01 at 9.15.06 AM.png (53.5 KB, 9 views)
__________________
X-Cart version 4.7.12
Reply With Quote
  #2  
Old 05-01-2017, 12:35 PM
  ambal's Avatar 
ambal ambal is offline
 

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

Default Re: X-Payments "Connection timed out" Issue

Seems to be server side issue. Do you host X-Cart and X-Payments separately on different hosts?

If so check connectivity between both host via HTTPS.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #3  
Old 05-01-2017, 12:55 PM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default Re: X-Payments "Connection timed out" Issue

Same host.

The problem goes away when I remove iframe, so that the card is entered after customer presses submit.

Further info: When I log into x-payments, my template page will no longer load, so I cannot access/edit/review any of the templates, either default or the one custom template we made.

The URL is /xpayments/admin.php?target=templates

The page says "Payment templates... This page allows you to customize and preview payment templates." Then there is a gray line and the rest of the page is blank.

I checked permissions--they seem fine.

Running Xpayments 3.02, x-cart 4.7.7...but I think this is an xpayments issues.

Oddly, there are no clues in either the xcart logs or the xpayments logs.
Attached Images
File Type: png Screen Shot 2017-05-01 at 1.59.48 PM.png (38.6 KB, 3 views)
__________________
X-Cart version 4.7.12

Last edited by joestern : 05-01-2017 at 01:00 PM. Reason: added attachment
Reply With Quote
  #4  
Old 05-02-2017, 09:38 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default Re: X-Payments "Connection timed out" Issue

Figured it out.

Our security guy was tightening up the server in preparation for going live.

He added:

Code:
Header always set X-Frame-Options DENY

into the Apache config. That killed the iFrame that X-Payments was using.

Once we commented out that line and restarted Apache, all was good.
__________________
X-Cart version 4.7.12
Reply With Quote

The following 2 users thank joestern for this useful post:
ambal (05-04-2017), dpcompany (03-11-2021)
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 01:53 PM.

   

 
X-Cart forums © 2001-2020