News:

Looking for documentation? Take a look on our wiki

Main Menu

Shipping doesn't work without logging in

Started by vibinr, May 06, 2014, 16:40:38 PM

Previous topic - Next topic

vibinr

I think this question has been posted quite a lot of times (as I saw in search), but none of the solutions mentioned have worked for me.

Thing is, Virtuemart works perfectly if the user is logged in. But not when I use "Checkout as Guest".

If I'm logged in, because "Auto selected shipment/payment" is checked, I see the payment gateway selected on the checkout page.
Like this: http://cl.ly/VN9F/Screen%20Shot%202014-05-06%20at%208.04.36%20pm.PNG

If I'm not logged in, no shipment method is selected, and when I click on "Select Shipment", it says "We are sorry, no shipment method matches the characteristics of your order".
It looks like this: http://f.cl.ly/items/0y2R3h1u163y0D3L443i/Screen%20Shot%202014-05-06%20at%208.03.59%20pm.PNG

Any sort of help will be appreciated. :)

GJC Web Design

and when you switch on debugging what does it say?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Shipping cannot be shown unless any required address info (eg Zip, country) of the shopper is known; with registered this is already known, but guests must first enter their billing address for shipping to be calculated.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

vibinr

Quote from: GJC Web Design on May 06, 2014, 16:49:57 PM
and when you switch on debugging what does it say?

I switched on debugging, but when I go to Tools > Log > com_virtuemart.log.php, there it says -

"ERROR vmError: vmPdf: For the pdf, you must install the tcpdf library at /Applications/MAMP/htdocs/pavins.in/libraries/tcpdf"

So I downloaded the tcpdf package and installed it. Now there's a "tcpdf" folder in my /libraries folder. But still, the same error shows up.

Quote from: jenkinhill on May 06, 2014, 16:51:04 PM
Shipping cannot be shown unless any required address info (eg Zip, country) of the shopper is known; with registered this is already known, but guests must first enter their billing address for shipping to be calculated.

Actually, the guest user is given all the fields to enter - zip code/country/address etc. After entering all these and clicking "Checkout as guest", I get the error.

BTW, both of you, thanks a lot for taking time to try answering my question :)

GJC Web Design

Wouldn't worry about the pdf library for the moment - will have no effect on this problem
The reason I said to use the debug is it should print out (on the screen) all the shipping etc calcs it is doing - in there you should see why no shipping method matches the data sent

have you got shopping groups selected in your shipping methods? You shouldn't  - it should be blank i.e. all groups
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

vibinr

Quote from: GJC Web Design on May 06, 2014, 19:28:07 PM
Wouldn't worry about the pdf library for the moment - will have no effect on this problem
The reason I said to use the debug is it should print out (on the screen) all the shipping etc calcs it is doing - in there you should see why no shipping method matches the data sent

have you got shopping groups selected in your shipping methods? You shouldn't  - it should be blank i.e. all groups

Man, you're awesome!

Didn't think it was this simple. I just removed Shopper group from Payment methods and Shipping methods. Now it works.

Cheers!  ;D

vibinr

Noticing a one more small problem on the checkout page.

When I try to checkout as a guest, I see an error message saying "Invalid Credentials. Please try again".
Here's the screenshot (Billing information hidden intentionally) : http://cl.ly/VONd/Screen%20Shot%202014-05-07%20at%2012.28.16%20pm.PNG

In spite of this error, I can go through the payment gateway just fine. (Shipment/Payment automatically selected)

GJC Web Design

Doesn't look like any error I know from VM - would assume it is from your payment plugin/gateway
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation