X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Editing Credit Card Types? (https://forum.x-cart.com/showthread.php?t=949)

ryan c. 12-13-2002 07:19 AM

Editing Credit Card Types?
 
I amt rying to remove american express from my site. I have found it in the payment methods and have put "Visa, Mastercard" But when a customer checks out the american express option is still in the credit card section.

I figure it is listed in the below $card_types but can;t find where that is . Can you point me in the right direction?

Thanks

<option value="{$card_types[card_type].code}" {if $userinfo.card_type eq $card_types[card_type].code}selected{/if}>{$card_types[card_type].type}</option> :roll:

shan 12-13-2002 09:30 AM

Look in config.php

Quote:

#
# Defined Card types
#
$card_types = array(
array("code"=>"VISA","type"=>"Visa"),
array("code"=>"MC","type"=>"Mastercard"),
array("code"=>"AMEX","type"=>"American Express")
);

ryan c. 12-16-2002 06:05 AM

Great thank you i didn;t even think of looking in there!

have a nice holiday

unioman 12-17-2002 10:21 AM

Another place you need to remove it
 
I've also found that you have to change the default lable that appears in the checkout screen of the cart page.

It's not actually in the lables area. To change "Visa, Mastercard, American Express" to what you want, go to your Payment Methods page and edit the "Special instructions" field beside the Credit Card method.

Dehru 05-07-2004 09:30 AM

Adding Cards in 3.5.6
 
In 3.5.6 I couldn't find any reference in config.php to card types or even in the admin area. I had deleted AMEX and was now going to accept it. Just by using the form and adding [AMEX] and [American Express] to the card types in the admin worked.

Dehru
3.5.6 w/Mods
FreeBSD


All times are GMT -8. The time now is 09:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.