News:

Support the VirtueMart project and become a member

Main Menu

Credit Card Type disappeared! - SOLVED

Started by asimpson, July 30, 2008, 18:16:23 PM

Previous topic - Next topic

asimpson

Using joomla 1.015 with VM 1.10 Stable

Anyway - i was running test transactions no problem. the moment i took the authorize account out of test mode - the "credit card type" selection dissapeared from the page and now wont let me process anything - because it give me an error message looking for credit card type.

I set it up for Visa, Amex, Amex and Discover - authroize confirmed the same on their end. i have the API entered in the backend and a new transaction key entered too.

Anyone have any idea where the "Credit card type" box would have gone?
Also - when my boss went in to change his shipping address - we now have a "modify bank details" box that wasn't there before - can i remove this. (We dont want or need customers giving us their bank information)

The site URL BTW is www.a2gear.com

all3njg

#1
<script language="Javascript" type="text/javascript" src="http://MYURL/includes/js/joomla.javascript.js"></script>
or of course you can do the https
<script language="Javascript" type="text/javascript" src="https://MYURL/includes/js/joomla.javascript.js"></script>

I looked everywhere for this problem.. glad i could help

O put this code in your template index.php  in the header

asimpson

Quote from: all3njg on July 30, 2008, 19:15:31 PM
<script language="Javascript" type="text/javascript" src="http://MYURL/includes/js/joomla.javascript.js"></script>
or of course you can do the https
<script language="Javascript" type="text/javascript" src="https://MYURL/includes/js/joomla.javascript.js"></script>

I looked everywhere for this problem.. glad i could help
O put this code in your template index.php  in the header

Not meaning to sound stupid - but what is this code going to do for me?

all3njg

is calls the javascript to make the pull down work.. I was having the same problem, I put this javascript in my index.php in the template i was using and it started working.

asimpson

Damn!!!!!

I could kiss you!!  :) i'm not going to  - instead i'll do the happy web dance round the room!!!!

My boss also thanks you - he definetely won't kiss you though!  :)

Man am i ever happy!!!!  A thousand thanks!

all3njg

haha no problem.. i felt the same way when i figured it out too..!

marcosdg3

Hello! I am a newbie to virtuemart, I think it is a wonderful software!  :)

One question, I know it's a total newbie one but where do I find the index.php file?

Please answer if you could!

Leo

Quote/Joomlaroot/templates/Name_of_your_template/index.php

Joomlaroot = where you installed Joomla
Name_of_your_template = The folder that contains the template you're using for Joomla

bcnstony

#8
Additional Comment:

When I put this in the top of my header, it messed up my CSS. If this happens to you, just make sure it's the last line in the header / after the CSS links. Perhaps a CSS master can tell you why (I can't) but that's what I did.

Also, we develop at one domain, and then change the domain when the site goes live. Knowing that, the code I used in the header of index.php was:


<!-- Placed here to make the credit card type dropdown appear in Virtuemart -->
<script language="Javascript" type="text/javascript" src="./includes/js/joomla.javascript.js"></script>


Instead of MYURL, I just put ./, and it appears to work.

good luck

NWLB

It does work, and the last note by BCNstony is accurate.  Works great, and instantly cured a raging headache.


Bilal

Thanks man , this worked for us too :) (doing the happy web dance)

efocus

Yes, this worked for me too. For some reason, the "Error: Credit Card Type not found." error message only occurred for non-registered users. I checked the source code generated for the payment page during checkout and verified that the joomla.javascript.js line is called out for registered users but not non-registered users. I have no idea where or why this happens but hopefully Soeren will see this note.

oisinhorler

worked perfect for me many thanks tryed a few things nothing worked and then just pasted in this bit of simple code into the index.php file :) Welldone thanks
Quote from: asimpson on July 30, 2008, 19:29:43 PM
Quote from: all3njg on July 30, 2008, 19:15:31 PM
<script language="Javascript" type="text/javascript" src="http://MYURL/includes/js/joomla.javascript.js"></script>
or of course you can do the https
<script language="Javascript" type="text/javascript" src="https://MYURL/includes/js/joomla.javascript.js"></script>

I looked everywhere for this problem.. glad i could help
O put this code in your template index.php  in the header

Not meaning to sound stupid - but what is this code going to do for me?

techrahul87

hello all,

I am using joomla 2.5 and vm2.0 and having same problem.

Is there is any other solution for 2.0 version ??????????