VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jcmanc on March 17, 2013, 09:06:23 AM

Title: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jcmanc on March 17, 2013, 09:06:23 AM
Everything was working fine on my site until I upgraded to the latest (2.0.20a) version yesterday. I'm running the latest Joomla 2.5.9.

Now when a user clicks on the "Checkout Now" button, they remain on the same page but with the following message:

"Please accept the terms of service to confirm"

and are now unable to proceed as neither the Terms of Service checkbox, or label text appear.

I have:

Must agree to Terms of Service on EVERY ORDER? - YES
Show Terms of Service on the cart/checkout? - YES

selected in the backend admin configuration.

Any help would be greatly appreciated.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jcmanc on March 17, 2013, 09:46:29 AM
Just reverted back to previous version through my backup and its now working fine so clearly there is an issue with the new 2.0.20a upgrade
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: menfbeast on March 17, 2013, 13:31:43 PM
I have the same issue.
Need help on this soon  :(
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: madamsplash on March 24, 2013, 11:57:13 AM
Yup me too - but it's to do with Shop Licious - as if I dismantle that - Virtuemart works fine
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: Milbo on March 24, 2013, 15:22:35 PM
We just moved the TOS to the begin of the checkout process. The rest is the same.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: WebStuff on March 27, 2013, 18:52:53 PM
Version info:      VM2.0.20a  -  J2.5.9
This is still happening on mine.

This bug happened intermittently with 2.0.18 but usually clearing cache and cookies and restarting the browser sorted it out but not so far with 2.0.20a
I've cleared both several times and even reverted my cart template override(just minor layout) just incase but still no go. :(

EDIT:
In FireBug this seems to be the offending input : <input type="hidden" value="0" name="tosAccepted">
Even after ticking the box this hidden value stays at 0 I would imagine it should go to 1.

EDIT 2: This would seem to be a SEF issue as if I disable SEF it seems to work okay. Will investigate further.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: csimmo on March 29, 2013, 11:23:01 AM
Add me to the list of those suffering from this issue.
VM 2.0.20b
Joomla 2.5.9
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: csimmo on March 31, 2013, 11:09:59 AM
My template doesn't use a customized cart, but they did help me solve the issue. You need to reset the VM config file. This fixed the problem for me.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: Schakkalaka on April 01, 2013, 21:13:24 PM
me too
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: remeedella on April 02, 2013, 03:35:26 AM
i can confirm it works
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: WebStuff on April 02, 2013, 15:17:14 PM
Quote from: csimmo on March 31, 2013, 11:09:59 AM
My template doesn't use a customized cart, but they did help me solve the issue. You need to reset the VM config file. This fixed the problem for me.
How do you mean reset it?
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: juansolos on April 03, 2013, 16:19:53 PM
Same problem.
Reset the config file doesn't solve the problem.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: csimmo on April 08, 2013, 11:55:20 AM
under tools there is an option to reset the virtuemart config file. I had to do it twice in 2 days though.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: franzpeter on April 09, 2013, 10:33:35 AM
Does that happen with the default VM template too? If not, it is a template issue.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: Milbo on April 09, 2013, 10:40:29 AM
Quote from: madamsplash on March 24, 2013, 11:57:13 AM
Yup me too - but it's to do with Shop Licious - as if I dismantle that - Virtuemart works fine
Updated version was 1 day later already uploaded.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jpsosiego on May 03, 2013, 16:36:56 PM
Now in Virtuemart are two options to configure TOS agree, I was having same problem with message "Please accept terms of service to confirm", and in checkout process don't display check box to accept TOS, I changed in CONFIGURATION/SHOPPER FIELDS/AGREED to "not required" and could continue to the next step of checkout process, this configuration is overwriting the configuration on CONFIGURATION/CHECKOUT.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: corydavidwilliam on May 07, 2013, 20:54:20 PM
I am running 2.0.20a and am experiencing the same issue when trying to proceed to check out.

I do not see a checkbox for the ToS.  Another thread said to move some code from helpers/cart.php, but my code already appears to be updated.  So why do I still not see a place to accept the ToS?!

Please help
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jenkinhill on May 07, 2013, 23:26:26 PM
corydavidwilliam are you using template overrides?
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: corydavidwilliam on May 07, 2013, 23:56:32 PM
Hey Jenkin,

Yea, I am using the commercial template that VirtueMart shows as their demo. 

So do I need to move the TOS code back somewhere then?  Is VirtueMart looking for the ToS in the beginning, but the template isn't serving it up until the billing/shipping page?

Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jenkinhill on May 08, 2013, 10:28:04 AM
Try changing Joomla template to Beez and then you should see the normal checkout with TOS function. When you see how it "normally" works then you will know what changes you need to make to your cart template overrides.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: jpsosiego on May 08, 2013, 19:13:21 PM
Corydavidwilliam,

I ask to support of the demo.virtuemart template and they sent an update that solves this issue. Take care about configuration of TOS agree in CONFIGURATION/SHOPPER FIELDS and in CONFIGURATION/CHECKOUT.

Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: spacecadet on May 30, 2013, 10:45:26 AM
I'm having exactly the same problem, and using exactly the same commercial template for VM.

At this stage, though, developer not responding to my email.

I really need that update...

Is it perhaps posted somewhere?

update: he responded with the update and it fixed my problem
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: sysfix on June 09, 2013, 20:49:32 PM
Quote from: spacecadet on May 30, 2013, 10:45:26 AM


update: he responded with the update and it fixed my problem
Can you share the bug fix with the rest of us. Thanks
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: Milbo on June 09, 2013, 23:51:33 PM
Just download the update from Mowebso'S page, or if you bought it from extensions.virtuemart.net, then from there.
Title: Re: "Please accept the terms of service to confirm" BUG after upgrade to 2.0.20a
Post by: spennyforhire on August 02, 2013, 17:52:35 PM
Hi I was troubleshooting this problem and decided to try to download from the 2.0.20a main site. Previously I had downloaded it from somewheres else. The bug seems to be fixed in the version I download from the main site. Here is the link to where I downloaded the new version that worked using the Download Now 2.0.22a:
<a href="http://virtuemart.net/downloads">http://virtuemart.net/downloads</a>
Spence