View Single Post
  #3  
Old 11-12-2012, 06:28 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Card type & last 4 passed to x-cart?

Alex,

This feature has been missing (stock) from x-cart since the beginning of time -- but many of us either contracted x-cart for custom coding (as I did) or just did it themselves. It was easy enough to do (even without storing cc numbers).

If you ask around, you will probably discover that early designers intentionally left this out. But why it was left out of x-payments is something I'd sure like to know. DId a QSA tell you that this was bad? Misreading of the PCI specs?

Merchants want this. Customers want this. It should be stock. For now, the workaround is to NOT share the merchant gateway with the customer, and use a smarty replace in /common_files/mail/html/order_invoice.tpl

FIND:
Code:
{$order.payment_method}
REPLACE WITH:
Code:
{$order.payment_method|replace:"(your-gateway-name)":"Credit Card"}

But this replaces the gateway payment name with "Credit Card" - for PayPal it is still "PayPal", etc...

Better than nothing, but not the right way to do it.

Thanks.

J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote