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

X-Payments Credit card fields not showing

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 07-20-2012, 01:50 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default 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.
Reply With Quote
  #2  
Old 09-07-2012, 07:49 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default 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?
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #3  
Old 09-07-2012, 07:56 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default 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.
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #4  
Old 09-10-2012, 02:12 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default 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?
Reply With Quote

The following user thanks vasilis for this useful post:
ambal (09-11-2012)
  #5  
Old 09-11-2012, 02:29 AM
  ambal's Avatar 
ambal ambal is offline
 

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

Default 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.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #6  
Old 09-11-2012, 12:43 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default 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.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote

The following user thanks cherie for this useful post:
ambal (09-11-2012)
  #7  
Old 09-28-2012, 08:55 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default 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
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #8  
Old 09-29-2012, 08:57 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default 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
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #9  
Old 09-30-2012, 09:02 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default 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
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote
  #10  
Old 09-30-2012, 03:44 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default 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.
Reply With Quote
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 02:49 AM.

   

 
X-Cart forums © 2001-2020