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 "Connection timed out" Issue (https://forum.x-cart.com/showthread.php?t=75273)

joestern 05-01-2017 08:42 AM

X-Payments "Connection timed out" Issue
 
1 Attachment(s)
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?

ambal 05-01-2017 12:35 PM

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.

joestern 05-01-2017 12:55 PM

Re: X-Payments "Connection timed out" Issue
 
1 Attachment(s)
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.

joestern 05-02-2017 09:38 AM

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.


All times are GMT -8. The time now is 12:25 PM.

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