VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Golden28 on August 03, 2014, 20:01:28 PM

Title: Is this normal?
Post by: Golden28 on August 03, 2014, 20:01:28 PM
Hi,

I've just set up a shop for a customer using Joomla 3.3 and VM 2.9.

When I go to configure PayPal I get this screen.

(http://i60.tinypic.com/35cltnp.jpg)

It's stuck in sandbox mode with no option (that I can see) to turn it off? Has the configuration screen gone funky or am I missing something?

Title: Re: Is this normal?
Post by: John2400 on August 04, 2014, 01:55:04 AM
http://forum.virtuemart.net/index.php?topic=124811.0

In the new versions I presume. Just check out to see if there is an update of your up version

http://dev.virtuemart.net/projects/virtuemart/files
Look at version 2.9.8a version
Title: Re: Is this normal?
Post by: Golden28 on August 05, 2014, 11:03:09 AM
Hi, Thanks for that.

I've updated to VM 2.9.8a but it is still doing it.

The workaround is commenting out a line of code that had display: none for the missing  sandbox/production options dial selectors.

Hopefully it will be fixed in future versions.

Thanks again.

*UPDATE* Actually I think there is a bigger problem here as it is showing loads of data tables as hidden?

(http://i58.tinypic.com/30hq2py.png)

After I manually altered the CSS to hidden: show, this is what appeared, should these options be showing automatically, getting confused now...

(http://i57.tinypic.com/xsqc0.png)
Title: Re: Is this normal?
Post by: GJC Web Design on August 05, 2014, 11:21:52 AM
the hiding and showing of these tables is controlled by javascript - are you sure you have no JS problems in your admin - check with Firebug - but seems your JS is broken
Title: Re: Is this normal?
Post by: Golden28 on August 05, 2014, 11:35:26 AM
Hi,

I wouldn't even know here to start checking for Javascript errors with Firebug as I am a mainly a front end developer and graphic designer. Any tips would be greatly appreciated.

Thank you.

Did some research and used console on the page to show JS errors,warnings and logs, this is what showed up. Does it mean anything to anyone?

(http://i62.tinypic.com/126aemo.png)
Title: Re: Is this normal?
Post by: GJC Web Design on August 05, 2014, 12:37:52 PM
means nothing to me - your looking for JS conflicts or JS not loading when it should

Do things like the VM menu sliders (on the left)  open and close?
Title: Re: Is this normal?
Post by: Golden28 on August 05, 2014, 12:46:38 PM
Every part of VM works perfectly apart from this single PayPal page.

I am in final testing for this site and want to take it out of sandbox mode soon but am now at a loss as to what information I am supposed to enter as it is all hidden?
Title: Re: Is this normal?
Post by: alatak on August 05, 2014, 13:59:10 PM
Hello
To fix this issue, in the paypal.xml file, remove the class="sandbox" in the field name sandbox
old code
<field class="sandbox" name="sandbox" type="radio" default="1" label="VMPAYMENT_PAYPAL_SHOP_MODE"
           
new code
  <field class="" name="sandbox" type="radio" default="1" label="VMPAYMENT_PAYPAL_SHOP_MODE"
       
Title: Re: Is this normal?
Post by: Golden28 on August 05, 2014, 15:48:27 PM
Fantastic. Thank you very, very much.

I assume that this will be fixed in future releases so I won't have to keep doing this with every update? Or is it a problem with my install?

Regards.
Title: Re: Is this normal?
Post by: GJC Web Design on August 05, 2014, 17:16:04 PM
Yes, will be fixed on next release - pat on the back - you found a bug...  :)
Title: Re: Is this normal?
Post by: Golden28 on August 05, 2014, 17:38:26 PM
Excellent!  :)

One last thing, this is what I see now after putting the site into production mode, is this correct?

(http://i59.tinypic.com/20t1fk7.png)

All I have to do now is enter the clients PayPal email address and I'm good to go? Seems the last VM store I created (admittedly) several years ago needed a lot more info than that before it was ready to sell? Hat's off if it really is this easy now, or is my GUI still not showing somethings?

Thanks again.
Title: Re: Is this normal?
Post by: GJC Web Design on August 05, 2014, 19:41:54 PM
Yep - if your just using standard Paypal the email address is enough