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 Credit card fields not showing (https://forum.x-cart.com/showthread.php?t=64346)

vasilis 07-20-2012 01:50 AM

X-Payments Credit card fields not showing
 
I have setup X-Payments in a 4.4.5 Gold site and configured it for using with Authorize.net AIM gateway. The problem is that when a customer checks the x-payments method radio button in the checkout page, no credit card fields are displayed. Also, no any relative html markup exists in the page for rendering these fields, even hidden.
The same happens with both Ajax One Page Checkout and with Fast Lane Checkout. The x-payments connector gives a successful connection test.
I noticed that the value for the following smarty variable is:
Code:

$payment_methods.payment_template => "customer/main/payment_offline.tpl"
which is actually an empty template, ie, having source code:
Code:

{*
$Id: payment_offline.tpl,v 1.1 2010/05/21 08:32:04 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}


Evidently, that's why no cc fields content is displayed, but I am not sure why the "customer/main/payment_offline.tpl" should be an empty template, would it be for filling-in custom code for offline payment methods? Why does X-Payments Authorize.net payment method calls "payment_offline.tpl" template, which is an empty template?

Also, here is some array values from the $payment_data smarty variable:

paymentid => "21"
payment_method => "X-Payments: Authorize.Net AIM"
payment_details => ""
payment_template => "customer/main/payment_offline.tpl"
payment_script => "payment_cc.php"
protocol => "https"
orderby => "999"
active => "Y"
is_cod => "N"
af_check => "N"
processor_file => "cc_xpc.php"
surcharge => "0.00"
surcharge_type => "$"
module_name => "X-Payments: Authorize.Net AIM"
processor => "cc_xpc.php"
type => "X"
payment_method_orig => "X-Payments: Authorize.Net AIM"
has_preauth => "Y"
use_preauth => ""
background => "N"
disable_ccinfo => "Y"
is_down => false
in_testmode => false

Also, the store is using libcurl module and not Net::SSLeay Perl module. Authorize.net payment method has been working ok before with this module, but I was wondering if now, with X-Payments, Net::SSLeay Perl module is needed.

Appreciate any help.

bugaminute 09-07-2012 07:49 AM

Re: X-Payments Credit card fields not showing
 
I all of sudden have same issue. I had redeployed and still no good. I had to stop using X-Payments for now. What caused this?

bugaminute 09-07-2012 07:56 AM

Re: X-Payments Credit card fields not showing
 
Quick update - When I test the module - it tells me that it completed successfully. Seems pretty buggy.

vasilis 09-10-2012 02:12 AM

Re: X-Payments Credit card fields not showing
 
I had various issues due to incorrect file/folders permissions in the x-payments files. I changed them 755/644 for folders/files respectively and they were resolved, but I have to admit that the credit card fields started displaying, without me changing anything. Probably some change took place in the remote server, having to do with environment variables.
Did you have any luck with your installation?

ambal 09-11-2012 02:29 AM

Re: X-Payments Credit card fields not showing
 
Vasilis, thank you for taking time to share your solution for the issue.
It is not a bug. It is improper configuration of X-Payments file permissions. X-Payments do not install if file permissions are not set properly. It looks like your hosting admin changed something after you had X-Payments installed.

cherie 09-11-2012 12:43 PM

Re: X-Payments Credit card fields not showing
 
Just experienced permissions getting changed on the server but XP said it couldn't create /meta.0001.log. This is not helpful. A more helpful message would be that the permissions need to be fixed.

bugaminute 09-28-2012 08:55 AM

Re: X-Payments Credit card fields not showing
 
Sorry -- been away from this for a few weeks. I reset and then checked permissions and they are correct. Still, although the payment method displayed, there is no credit card information. I will install the latest release and report back. In the meantime if anyone has found a solution, kindly post. Thanks

bugaminute 09-29-2012 08:57 AM

Re: X-Payments Credit card fields not showing
 
Well I updated to x-payments-1.0.5. Double checked permissions and set using the following run from the root of my xpayments folder

find . -name '*' -type d -exec chmod 0755 {} \;
find . -name '*' -type f -exec chmod 0644 {} \;
chmod -R 777 var public lib/XPay/Templates lib/XPay/Skin
chmod 644 .htaccess public/.htaccess

No change - credit cards form still not appearing.

Still considering this a bug

bugaminute 09-30-2012 09:02 AM

Re: X-Payments Credit card fields not showing
 
Update: Still No Payment Details showing in card to X-Payments

Did clean install of 1.0.5 X-payments
Uploaded new copy of cc_xpc.php from my 4.4.3 distribution
Ran permission script (see above)

Tested -- same result, no Payment Details info appears

XC Version: Xcart 4.4.3

vasilis 09-30-2012 03:44 PM

Re: X-Payments Credit card fields not showing
 
I cannot think of something else for the moment, except checking if your server settings required for x-payments, are met (the ones referred in x-payments manual), although I think that they must be met, since the connection test gives a successfull relult.


All times are GMT -8. The time now is 06:18 PM.

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