Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / How can I add to the credit card types, we accept?

How can I add to the credit card types, we accept?

Locked

Started by mrkay on 29 Jun 2009, 11:06 AM · Views: 1,921

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
29 Jun 2009, 11:06 AM
#1
mrkay avatar

mrkay

New Zenner

Join Date:
Feb 2009
Posts:
37
Plugin Contributions:
0

Post #1 by mrkay

The company I work for has several websites which I maintain. One of the sites is powered by the Zen Cart, but not a standard version - it has been modified by a 3rd party software vendor. I've been asked to add to the credit card types, we accept, and from what I can tell the drop-down list is being populated by a database table.

My question is - is it possible to get direct access to then Zen sql server?

Thanks in advance.

29 Jun 2009, 11:45 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #2 by schoolboy

The conventional way to get direct access to a database that is linked to a particular zencart installation, is through a program called phpMyAdmin.

If your host has it enabled, this program is usually linked through your host account admin panel - often called the C-PANEL (as this is the software many hosts use to facilitate user-account management.)

Depending on the VERSION of C-Panel, you can access phpMyAdmin by following links to "mySQL Databases" on the C-Panel main screen.

In later versions of C-Panel, there could be a direct link to phpMyAdmin.

If there are several databases hosted, you will need to know which one is relevant to your zencart installation, and this can be discovered by looking at one of the configure.php files.

Again. you can open these files in C-Panel (File Manager) and the one you can look at is in the /includes/ directory.

It may be permission protected (CHMOD 0444) but as you are just going to LOOK at it - not edit it - you should not need to change permissions.

Within the configure.php file will be a reference to the database name, database USER name, and USER password.


BUT... I see your objective is to change what credit cards you accept...

Be very careful here... What you do, and how you alter this data is important...

If you are taking credit card details for offline processing, then the LUHN ALGORITHM that zc uses to verify card numbers may also need to be altered.

If you use a payment gateway (a bank) to process CC payments, then displaying what credit cards are acceptable is done differently.

Before you rush in, be a lot more specific about what you want displayed, the method you use to effect CC payments, and WEHERE you want the new information to appear.

20 years a Zencart User

29 Jun 2009, 1:51 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,761
Plugin Contributions:
0

Post #3 by Kim

... or you could just check the Zen Cart Admin> Configuration> Credit Cards and change which cards you accept there ...

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Jun 2009, 10:50 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #4 by schoolboy

OF course Kim's correct... When you said you wanted to ADD credit cards, I did not assume you just wanted to ENABLE them.

To ENABLE more credit card options, follow Kim's advice.

To ADD more credit cards - bear in mind what I said earlier.

20 years a Zencart User

6 Jul 2009, 1:55 PM
#5
mrkay avatar

mrkay

New Zenner

Join Date:
Feb 2009
Posts:
37
Plugin Contributions:
0

Post #5 by mrkay

schoolboy:

OF course Kim's correct... When you said you wanted to ADD credit cards, I did not assume you just wanted to ENABLE them.

To ENABLE more credit card options, follow Kim's advice.

To ADD more credit cards - bear in mind what I said earlier.

Thanks for the advice Kim and Schoolboy, but I have tried that already - it was the first thing I did.

As I mentioned in the first post, the cart has been modified by a 3rd party sofware vendor. Somehow I think they've disabled that facility when they made their modifications.

Furthermore, I'm not actually trying to add any cards, I just want to change the wording for one of the entries in the drop-down list where the customer chooses their card type.

6 Jul 2009, 3:44 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #6 by schoolboy

If it's a drop-down list, chances are the text is somewhere in the database - probably in the configuration tables.

20 years a Zencart User

7 Jul 2009, 7:56 AM
#7
mrkay avatar

mrkay

New Zenner

Join Date:
Feb 2009
Posts:
37
Plugin Contributions:
0

Post #7 by mrkay

schoolboy:

If it's a drop-down list, chances are the text is somewhere in the database - probably in the configuration tables.

Which presumably requires access to the sql tables?

7 Jul 2009, 8:40 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #8 by schoolboy

Yes... you will need to add the data about the new card type to the configuration tables, but you will ALSO need to edit a number of php code files so that this new card type is then recognised and "processed" by the code.

Have you had a look at Conor Kerr's C-Card module? (an improvement on the standard ZC module).

http://dev.ceon.net/web/zen-cart/ceon_manual_card

Are you processing cards offline? ... or are you using a payment gateway (paypal, protx, netbank, nochex)?

20 years a Zencart User

7 Jul 2009, 8:44 AM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #9 by schoolboy

On this page:

http://dev.ceon.net/web/zen-cart/ceon_manual_card/features

Conor indicates that he can add additional card types for you. Suggest you install his mod, and contact him...

20 years a Zencart User

2 Aug 2009, 8:01 PM
#10
icezippo avatar

icezippo

New Zenner

Join Date:
Apr 2009
Posts:
35
Plugin Contributions:
0

Post #10 by icezippo

i got the same problem, what i want just let customers can choose a card type to pay in nochex payment module, or disable it. nochex payment module accept all cards, but card choosing option for customer only show visa and master. so i prefer disable it if i cant add solo card or other cards, but the problem is no where to add card types and disable it.....