VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: SpyCraft3r on May 16, 2016, 12:59:44 PM

Title: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 16, 2016, 12:59:44 PM
Hi guys,
Need help using VM3.0.16 and Joomla 3.5.1.

I have created a product in my website, but when i go to check out, all it does is keeps "confirming purchase" over and over again, it won't check out

Any idea how I can fix this?
Title: Re: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 16, 2016, 13:06:32 PM
http://www.eshoptownsville.com
Title: Re: Cart just Keeps Confirming purchase
Post by: GJC Web Design on May 16, 2016, 13:16:33 PM
turn on VM debug to try and see what may be wrong
check for JS errors
make sure all required fields are filled
check with protostar template
Title: Re: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 16, 2016, 13:36:48 PM
Thanks GJC

below is the first when I chose a product:

vmdebug LangCount: 1 $siteLang: en-GB self::$vmlangSef: en self::$_jpConfig->lang en_gb DefLang en_gb
vmdebug vmTime: time to load config: 0.00707316398620605
vmdebug Use setMenuItemId
vmdebug Start used Ram 2.75M
vmdebug Common jQuery is disabled
vmdebug getVendorId normal shopper
vmdebug Going to set pw fields unrequired
vmdebug Created new cart
vmdebug Created new Calculator Instance
vmdebug Active vendor 1
vmdebug shipmentmethod Download = TRUE for variable weight = 0.03 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable order amount = 129 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug shipmentmethod Test = FALSE for variable weight = 30 Reason: is over 0.50
vmdebug shipmentmethod Test = FALSE for variable products quantity = 3 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = FALSE for variable order amount = 129 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Test = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug Line 1024 - shipmentmethod Letter = TRUE for variable weight = 0.03 Reason: is lower than the set 1
vmdebug Line 875 - shipmentmethod Letter = FALSE for variable virtuemart_country_id = 13, Reason: Country does not fit
vmdebug Line 880 - checkConditions Letter Country Condition =
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0390040874481201
vmdebug shipmentmethod Download = TRUE for variable order amount = 172 Reason: no boundary conditions set
vmdebug shipmentmethod Test = FALSE for variable order amount = 172 Reason: is NOT within Range of the condition from 1 to 2
vmdebug End used Ram 8M
vmdebug Peak memory peak 8M
vmdebug vmTime: vm view Finished task : 0.347612857818604

CHOSE THE CART

vmdebug LangCount: 1 $siteLang: en-GB self::$vmlangSef: en self::$_jpConfig->lang en_gb DefLang en_gb
vmdebug vmTime: time to load config: 0.00701904296875
vmdebug Start used Ram 2.75M
vmdebug Common jQuery is disabled
vmdebug Going to set pw fields unrequired
vmdebug Created new cart
vmdebug getVendorId normal shopper
vmdebug Use setMenuItemId
vmdebug Created new Calculator Instance
vmdebug shipmentmethod Download = TRUE for variable weight = 0.04 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable order amount = 172 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug shipmentmethod Test = FALSE for variable weight = 40 Reason: is over 0.50
vmdebug shipmentmethod Test = FALSE for variable products quantity = 4 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = FALSE for variable order amount = 172 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Test = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug Line 1024 - shipmentmethod Letter = TRUE for variable weight = 0.04 Reason: is lower than the set 1
vmdebug Line 875 - shipmentmethod Letter = FALSE for variable virtuemart_country_id = 13, Reason: Country does not fit
vmdebug Line 880 - checkConditions Letter Country Condition =
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.103129148483276
vmdebug Active vendor 1
vmdebug End used Ram 9.25M
vmdebug Peak memory peak 9.25M
vmdebug vmTime: vm view Finished task : 0.339312076568604

CONFIRMED PURCHASE (same debug three times)

vmdebug LangCount: 1 $siteLang: en-GB self::$vmlangSef: en self::$_jpConfig->lang en_gb DefLang en_gb
vmdebug vmTime: time to load config: 0.0110929012298584
vmdebug Use setMenuItemId
vmdebug Start used Ram 2.75M
vmdebug Common jQuery is disabled
vmdebug Going to set pw fields unrequired
vmdebug Created new cart
vmdebug Active vendor 1
vmdebug getVendorId normal shopper
vmdebug Created new Calculator Instance
vmdebug shipmentmethod Download = TRUE for variable weight = 0.04 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable order amount = 172 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Download = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug shipmentmethod Test = FALSE for variable weight = 40 Reason: is over 0.50
vmdebug shipmentmethod Test = FALSE for variable products quantity = 4 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = FALSE for variable order amount = 172 Reason: is NOT within Range of the condition from 1 to 2
vmdebug shipmentmethod Test = TRUE for variable zip = 4817 Reason: no boundary conditions set
vmdebug shipmentmethod Test = TRUE for variable virtuemart_country_id = 13, Reason: Countries in rule or none set
vmdebug Line 1024 - shipmentmethod Letter = TRUE for variable weight = 0.04 Reason: is lower than the set 1
vmdebug Line 875 - shipmentmethod Letter = FALSE for variable virtuemart_country_id = 13, Reason: Country does not fit
vmdebug Line 880 - checkConditions Letter Country Condition =
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.110476016998291
Your cart has been updated
vmdebug vmTime: time to load config: 0.00774788856506348
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.12109899520874
vmdebug End used Ram 9.25M
vmdebug Peak memory peak 9.25M
vmdebug vmTime: vm view Finished task : 0.394618988037109

Title: Re: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 16, 2016, 13:55:40 PM
If it's my template does anyone have a really good virtual shop template?
Title: Re: Cart just Keeps Confirming purchase
Post by: jenkinhill on May 16, 2016, 16:34:08 PM
https://www.olympianthemes.com/virtuemart-templates.html
Title: Re: Cart just Keeps Confirming purchase
Post by: GJC Web Design on May 16, 2016, 16:42:26 PM
or at least try with protostar first .. debug looks OK of what there is there .. are there no system messages showing?
Title: Re: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 16, 2016, 21:49:31 PM
Thank again GJC
I tried it with protostar and it worked ok really without a problem
Title: Re: Cart just Keeps Confirming purchase
Post by: GJC Web Design on May 16, 2016, 22:15:18 PM
good-- sadly.. some templates just aren't up to it

but these are..!  https://www.olympianthemes.com/virtuemart-templates.html
Title: Re: Cart just Keeps Confirming purchase
Post by: SpyCraft3r on May 17, 2016, 10:42:04 AM
Many thanks GJC,
Well if anything I have learnt a valuable lesson.
"Don't set up a site until you know it works properly" :-\