View Single Post
  #1  
Old 07-20-2012, 01:50 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

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.
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote