Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Credit Card not working

Credit Card not working

Locked

Views: 1,230

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Sep 2007, 11:19 PM
#1
danallkins avatar

danallkins

Zen Follower

Join Date:
Aug 2006
Posts:
135
Plugin Contributions:
0

Credit Card not working

I'm trying to set up the Credit card cc in the paymet section. As soon as I install it and then try and test it I get big errors.

Once its installed I log in to my store as a customer and as soon as I click on a product I get the following errors:

Warning: Variable passed to each() is not an array or object in /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/classes/db/mysql/query_factory.php on line 114

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/classes/db/mysql/query_factory.php:114) in /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/classes/db/mysql/query_factory.php:114) in /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/classes/db/mysql/query_factory.php:114) in /home/.grigoriy/buringcardmagic/burningcardmagic.co.uk/includes/init_includes/init_templates.php on line 78

But if I uninstall the Credit Card mod it works fine??

14 Sep 2007, 10:41 AM
#3
danallkins avatar

danallkins

Zen Follower

Join Date:
Aug 2006
Posts:
135
Plugin Contributions:
0

Re: Credit Card not working

DrByte:

Do this:
http://www.zen-cart.com/forum/showthread.php?p=378357#post378357

So All I need to do it run SQL patch and submitt this

change cache tracking size

TRUNCATE TABLE db_cache;
ALTER TABLE db_cache CHANGE cache_data cache_data mediumblob;

15 Sep 2007, 2:24 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Credit Card not working

yes .

15 Sep 2007, 10:23 AM
#5
danallkins avatar

danallkins

Zen Follower

Join Date:
Aug 2006
Posts:
135
Plugin Contributions:
0

Re: Credit Card not working

That seems to have worked, but now I have a new problem.

I've just tried a test purchase, the admin page shows the order and the first and end numbers in the credit card number, but the email I receive which I guess should have the rest of the numbers comes through like this:

Subject:> [EXTRA CC ORDER info] #98

MODULE_PAYMENT_CC_TEXT_MIDDLE_DIGITS_MESSAGE

Have I done something wrong?

15 Sep 2007, 11:43 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Credit Card not working

Same reason as your other post of the same nature.

You're missing the language file (or part of it) that normally contains the definition for the text whose KEY_YOURE_SEEING_IN_UPPERCASE_LIKE_THIS

15 Sep 2007, 10:52 PM
#7
danallkins avatar

danallkins

Zen Follower

Join Date:
Aug 2006
Posts:
135
Plugin Contributions:
0

Re: Credit Card not working

Right sorted it... it was a bad cc.php file..I have sorted the others as well, can't remeber what files I had to check now, but I downloaded a fresh copy of zen cart, compared them and found the mistakes... thanks for pointing me in the right direction.

15 Sep 2007, 11:48 PM
#8
Kim avatar

Kim

Obaa-san

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

Re: Credit Card not working

:clap: Glad you got it sorted!