| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
hiding or removing the name of payment processor in orders | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi there,
I've looked everywhere on the forums and in my x cart code but cannot seem to find a way to hide, alter or remove the name of the payment processor in the customers order. I don't want to change anything in the code that would muck up the payment process without asking for any advice first!!! Can I just comment out the $order.payment_method line in the templates?? I still want to display the method such as credit card but not the processor that appears in brackets. Can it be done?? or can't you change this at all? ![]() Cheers Boney (today I mostly am ![]()
__________________
X-Cart v3.5.10 live! on \'nix plus X-AOM module |
|||||||||
#2
|
|||||||
|
|||||||
![]() anybody???
this important ... as customers don't need to know that payment gateway we using ??? |
|||||||
#3
|
|||||||
|
|||||||
![]() From the back-end select 'Payment methods' and remove the processor name from the checked Method field.
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() this doesn't help
as by removing the name, make invisible to the customer as well I think what we need is instead of [credit card (linkpoint)] [credit card] |
|||||||
#5
|
|||||||
|
|||||||
![]() That's what I meant, but of course do not remove 'Credit Card'
For instance, I'm using VeriSign so in Payment methods it says "Credit Card (VeriSign)" Did you remove just "(Linkpoint)" and it still shows up on the invoice?
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
#6
|
|||||||
|
|||||||
![]() I guess it is differint in 3.3.X
thanks for your help |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
Thanks pmstudios but I looked there first of all and it doesn't help unfortunately. I think it has something to do with the payment_method.php file where it inserts the name of the payment processor after the label for payment type i.e. Credit or Debit Card. Trouble is I am not sure if I can just comment out whatever I need to comment out!! Still getting to grips with php and seeing as it's my live store..... well, hope you can see why I'm being a bit hesitant to sort this!! Usually I've got a test site running of the same version but this has gone as I'm testing the new 4 release ![]() Cheers Boney
__________________
X-Cart v3.5.10 live! on \'nix plus X-AOM module |
|||||||||
#8
|
|||||||
|
|||||||
![]() Ok, I found the area this is in. Check /payment/payment_cc.php and around line 88 you should see:
Code:
Change that line to: Code:
This should store the processor name in the DB with the "in test mode" note when it's in test mode and in live mode it won't store the processor at all. Make sure to backup payment_cc.php first as I haven't tested this, but it should work.
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Tried your code pmstudios without any joy
![]() But, I had an idea. I don't mind letting the customer know the payment provider as they get an email from them anyway saying their transaction was successful/failed etc. What I definitely didn't want was the actual payment method used given out to the customer. So, I just changed the name of the payment processor module and active payment processer value to 'Protx secure' in the d'base. Maybe a compromise situation but I'm happy with it for now ![]() Thanks for the help though pmstudios. Much appreciated.
__________________
X-Cart v3.5.10 live! on \'nix plus X-AOM module |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|