VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => Authorize.net VM 1 => Topic started by: asimpson on July 30, 2008, 18:16:23 pm

Title: Credit Card Type disappeared! - SOLVED
Post by: asimpson on July 30, 2008, 18:16:23 pm
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
Title: Re: Credit Card Type disappeared!
Post by: all3njg on July 30, 2008, 19:15:31 pm
Code: [Select]
<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
Title: Re: Credit Card Type disappeared!
Post by: asimpson on July 30, 2008, 19:29:43 pm
Code: [Select]
<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?
Title: Re: Credit Card Type disappeared!
Post by: all3njg on July 30, 2008, 19:31:33 pm
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.
Title: Re: Credit Card Type disappeared!
Post by: asimpson on July 30, 2008, 19:53:46 pm
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!
Title: Re: Credit Card Type disappeared!
Post by: all3njg on July 30, 2008, 19:56:10 pm
haha no problem.. i felt the same way when i figured it out too..!
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: marcosdg3 on August 06, 2008, 18:13:19 pm
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!
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: Leo on October 24, 2008, 02:56:13 am
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
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: bcnstony on June 19, 2009, 16:18:42 pm
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:

Code: [Select]
<!-- 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
Code: [Select]
./, and it appears to work.

good luck
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: NWLB on July 01, 2009, 15:34:50 pm
It does work, and the last note by BCNstony is accurate.  Works great, and instantly cured a raging headache.

Title: Re: Credit Card Type disappeared! - SOLVED
Post by: Bilal on August 06, 2009, 07:11:58 am
Thanks man , this worked for us too :) (doing the happy web dance)
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: efocus on August 13, 2009, 23:03:28 pm
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.
Title: Re: Credit Card Type disappeared!
Post by: oisinhorler on January 16, 2012, 10:54:43 am
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
Code: [Select]
<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?
Title: Re: Credit Card Type disappeared! - SOLVED
Post by: techrahul87 on April 18, 2012, 09:47:44 am
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 ??????????