Author Topic: Pls, help, credit card types are not showing (solved)  (Read 8960 times)

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Pls, help, credit card types are not showing
« Reply #15 on: May 24, 2009, 02:24:02 am »
Site URL and demo user account

Peter, I'm sorry, what did you mean? Do you want me to give you the URL and the access to it, correct?

Yes, PM me.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10333
  • VirtueMart Version: 3+
Re: Pls, help, credit card types are not showing
« Reply #16 on: May 24, 2009, 07:10:04 am »
send him via PM the URL, and log in account details
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

ybondarenko

  • Beginner
  • *
  • Posts: 11
Re: Pls, help, credit card types are not showing
« Reply #17 on: May 27, 2009, 06:16:52 am »
Peter I sent you a PM.
Thank you!

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Pls, help, credit card types are not showing
« Reply #18 on: May 28, 2009, 18:51:06 pm »
I wish users replied to their post and mention issue was fixed.

I had a look at ybondarenko's site and fixed the issue.


Lorrie Todd

  • Beginner
  • *
  • Posts: 44
Re: Pls, help, credit card types are not showing
« Reply #19 on: June 04, 2009, 23:59:56 pm »
How did you fix the issue - many are having this problem.

I have Joomla 1.5 VM 1.1.2.

Account Creation is set to No.

If I am logged in then the Credit Card Type shows, if I am not logged in and try to order as a non-registered user, Credit Card Type does not show up.

Any assistance would be appreciated!

aravot

  • Peter
  • Moderator
  • Sr. Member
  • *
  • Posts: 2874
    • VirtueMart Extensions
Re: Pls, help, credit card types are not showing
« Reply #20 on: June 05, 2009, 00:51:36 am »
in class/ps_creditcard.php

find around line 256
Code: [Select]
function creditcard_lists( &$db_cc ) {
add below it
Code: [Select]
global $mainframe;
if( vmIsJoomla('1.5') ) {
$document = JFactory::getDocument();
$document->addScript('includes/js/joomla.javascript.js');
}

so final code will look like
Code: [Select]
function creditcard_lists( &$db_cc ) {
global $mainframe;
if( vmIsJoomla('1.5') ) {
$document = JFactory::getDocument();
$document->addScript('includes/js/joomla.javascript.js');
}

Lorrie Todd

  • Beginner
  • *
  • Posts: 44
Re: Pls, help, credit card types are not showing
« Reply #21 on: June 05, 2009, 14:51:52 pm »
Thank you for your response.  I found the following post yesterday and it fixed the issue:

Post http://forum.virtuemart.net/index.php?topic=39515.0 fixed the problem.

Samstha

  • Beginner
  • *
  • Posts: 7
Re: Pls, help, credit card types are not showing (solved)
« Reply #22 on: July 30, 2009, 21:28:59 pm »
Excellent work Peter! I was about to give up and I came across your solution. Works like a charm!

Thank you very much yeah!