![]() |
How to remove Payment Method: X-Payments...from invoices in 4.4.5
1 Attachment(s)
This would seem such a simple thing but I can't seem to fix it. I've seen this question posted before, even going as far back as 2006, so why can't Qualiteam just remove the payment gateway once and for all from the printed invoices?
I have Paypal Payments Pro set up in xpayments and called it "Credit Card". Then I import the payment methods into xcart 4.4.5 and it shows up as "X-Payments: Credit Card". Then I edit the text area in admin/payment methods to just say "Credit Card". See attached screenshot. This post: http://forum.x-cart.com/viewtopic.php?t=22947 makes a couple of suggestions. Truncating doesn't work because when I view/print invoices from within admin/order details the payment method shows up as (X-Payments: I tried the other method by editing payment/payment.php and that did not work either. Has anyone else encountered this? I am talking specifically about when you print the invoice from within admin/order details. http://www.mx1canada.com/images/payment_methods.jpg http://mx1canada.com/images/payment_methods_jpg |
Re: How to remove Payment Method: X-Payments...from invoices in 4.4.5
Not sure if this helps or not but if you don't really need the payment method on the invoice why not just comment that part out in /skin1/mail/html/order_invoice.tpl?
Find <strong>{$lng.lbl_payment_method}:</strong> {$order.payment_method}<br /> And just put {* at the front and *} at the end of the line and it won't be on the invoice at all. If you only have one payment method you could even hard code it by replacing {$order.payment_method} with Credit Card for instance. Anyway, just a thought. |
Re: How to remove Payment Method: X-Payments...from invoices in 4.4.5
Hi JWait, I did consider removing that line but I have other payment methods and I like to have it show on our printed copies, however it seems I may just take it out because having "X-Payments: Credit Card" is not acceptable.
If Qualiteam wants me to advertise their module to all of my customers then I should be getting some compensation for it. Would it have been so difficult for them to have made this a language variable? or have it show AFTER the payment method so at least the truncating mod would fix it for those who don't want it advertised? Anyhow, thank you for taking the time to post a suggestion. |
Re: How to remove Payment Method: X-Payments...from invoices in 4.4.5
I agree -- this is an obnoxious "feature" that X-Cart engineering put in -- probably the same engineer who decided to put the xcart favicon into every install.
You CAN work around this... use the smarty replace function, like this: file: <skin>/mail/html/order_invoice.tpl FIND: Code:
{$order.payment_method} REPLACE WITH: Code:
{$order.payment_method|replace:"(X-Payments: Credit Card)":"Credit Card"} (and Credit Card is whatever text you want to replace) WHAT IT REALLY SHOULD BE: Code:
{$order.payment_method|replace:"(X-Payments: Credit Card)":"$CreditCardType $last4digits"} But X-Payments is unwilling to send the last 4 and card type back to xcart unencrypted. PCI regs permit it. :-( I've been bitching about this forever. Maybe if enough people make the case, they won't think it's just "Jeremy's complaining..." |
Re: How to remove Payment Method: X-Payments...from invoices in 4.4.5
Quote:
Its not just you, I asked for the very same thing. |
Re: How to remove Payment Method: X-Payments...from invoices in 4.4.5
thanks Jeremy, I'll try that
about the favicon thing, I didn't even know what a favicon was until last year! It is VERY obnoxious for them to sneak their logos in like that. You listening Qualiteam? |
All times are GMT -8. The time now is 04:31 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.