Error: Please choose the right carrier for selected country

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Error: Please choose the right carrier for selected country

Postby rpcari@.....com » Tue Dec 11, 2012 12:54 am

We've had two customers unable to checkout due to this error message for shipping: 'Please choose the right carrier for selected country'. We are currently only shipping to the United States and are only using FedEx as a carrier. I have been unable to duplicate this error for either of the city/state/zip's the customers got the error for. Is it possible this message might show up if FedEx's server was down or too busy for our site to connect to due to the holiday season?
rpcari@.....com
 
Posts: 19
Joined: Wed Sep 05, 2012 2:20 am

Re: Error: Please choose the right carrier for selected country

Postby info@.....com » Tue Dec 11, 2012 1:54 am

Just subscribed to this module and can not get it to work for unregistered users - I guess the user creation is failing?

I am getting this same error 'Please choose the right carrier for selected country' when a new/unregistered user tries to checkout but not if a registered user logs in before or during checkout.

All OK if OPC is disabled.

My development site is http://www.practical-magic.com/j25/
Versions:
OPC 2.0.105
Joomla 2.5.7
Virtuemart 2.0.14
Payment Plugins: 'VM Payment - Offline Credit Card' and 'Paypal'
Shipping: for UK uses 'By weight, ZIP and Country', configured for several price bands, for Europe/Rest of World uses 'VM_PRO_SHIP'
SQL 5.5.25
PHP 5.3.10
info@.....com
 
Posts: 6
Joined: Mon Dec 10, 2012 11:28 pm

Re: Error: Please choose the right carrier for selected country

Postby rpcari@.....com » Wed Dec 12, 2012 12:30 am

More information...

Another customer called and she got a different error message when she clicked 'Confirm Purchase' at checkout: "We are sorry, but we don't ship to chosen country. Please select another country or contact us by phone." She claimed that she registered but I think she was mistaken as no account was created for her. (I have tested this and an incomplete checkout will still register an account.) As before, I am unable to duplicate this error — both registered and unregistered users work fine for me.

OPC 2.0.103.271112
Joomla 2.5.8
VM 2.0.14
PHP 5.3.18
Shipping Plugin: Fedex Multiship for United States and Virgin Islands only
rpcari@.....com
 
Posts: 19
Joined: Wed Sep 05, 2012 2:20 am

Re: Error: Please choose the right carrier for selected country

Postby admin » Wed Dec 12, 2012 2:34 pm

Hello,

this message "please choose the right ..." is shown when the shipping did not complete it's loading - when a customer clicks in the middle of fetching the rates. You can change the text with the language editor in OPC (choose com_onepage.ini).

It is true that malfunction of fedex servers can actually lead to very long or infinite loading of the shipping methods. There is this issue with other API based methods as well.

Let me know if there could be a solution from OPC for such malfunction and how would you like to solve this. Ideally please ask the customer on what PC/Mac and browser she used - there are vast differences from Firefox 3 to the latest and also IE7 to the latest, Mac browsers are nice, but they don't render the same as PC.

If you turn off the loader image, the shipping html will not get deleted while waiting for the next query and thus the latest shipping rate can be used. I am also thinking to load the shipping rates for such API methods on customer click such as "click here to load rates" as it was on OPC1 - but this will take me a few weeks to fully implement and test (especially due to hollidays now)

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Error: Please choose the right carrier for selected country

Postby info@.....com » Wed Dec 12, 2012 3:29 pm

Stan

Not sure what you mean by 'when a customer clicks in the middle...'.

For me the error occurs whenever Return is pressed during the registration process - screenshot attached.

Happens on PCs with all combinations of XP SP3/ Vista/ Chrome v23 / Firefox v14.0 / IE 8.0
and iPad with iOS 5.1/ Chrome and Safari

Turning off loader image makes no difference.

No user registration occurs with partial checkout. The' users' and 'virtuemart-userinfos' tables are untouched.

I am not using FedEx shipping.

I really need to get to the bottom of this as OPC is unusable at the moment.

Please try making an order on my development site both first as an unregistered user
and then with
User: opctest
Password: opctest

Link to store product list:
http://www.practical-magic.com/j25/inde ... &Itemid=38

My development site is http://www.practical-magic.com/j25/
Versions:
OPC 2.0.105
Joomla 2.5.7
Virtuemart 2.0.14
Payment Plugins: 'VM Payment - Offline Credit Card' and 'Paypal'
Shipping: for UK uses 'By weight, ZIP and Country', configured for several price bands, for Europe/Rest of World uses 'VM_PRO_SHIP'
SQL 5.5.25
PHP 5.3.10
Attachments
OPCerror.JPG
Error:Please choose the right carrier for selected country
OPCerror.JPG (85.4 KiB) Viewed 32853 times
info@.....com
 
Posts: 6
Joined: Mon Dec 10, 2012 11:28 pm

Re: Error: Please choose the right carrier for selected country

Postby info@.....com » Wed Dec 12, 2012 7:12 pm

Stan

Exactly same problem on a clean install of J!2.5.8, VM 2.0.14 on a temporary site.
Sample shop data installed
New User Account Activation set to 'none' ie automatic activation
'Standard' payment
'Weight-countries' shipping
Default settings in OPC

Same problem also occurs with Shipping and/or Payment disabled

Please have a look:
http://opctestsite.cloudaccess.net/shop.html

Feel free to look at config
http://opctestsite.cloudaccess.net/admi ... /index.php
Admin User: opctest
Password: opctest
info@.....com
 
Posts: 6
Joined: Mon Dec 10, 2012 11:28 pm

Re: Error: Please choose the right carrier for selected country

Postby info@.....com » Wed Dec 12, 2012 8:16 pm

more info and examples:

In http://opctest4.cloudaccess.net/shop.html
A clean install but with no shipment and no payment configured the error message on httiing return is
'Please agree to the terms of service'
Check the ToS box, complete the form and all is OK.
This makes sense!

In http://opctestsite5.cloudaccess.net/shop.html
A clean install but with 'weight_countries shipping' configured but disabled the 'Please choose..' error occurs.
No is payment configured.
The act of configuring shipping seems to start the problem even though shipping is not enabled.

Both the demo sites have
Admin user:opctest
Password: opctest
info@.....com
 
Posts: 6
Joined: Mon Dec 10, 2012 11:28 pm

Re: Error: Please choose the right carrier for selected country

Postby admin » Thu Dec 13, 2012 7:32 pm

Stan

Exactly same problem on a clean install of J!2.5.8, VM 2.0.14 on a temporary site.
Sample shop data installed
New User Account Activation set to 'none' ie automatic activation
'Standard' payment
'Weight-countries' shipping
Default settings in OPC

Same problem also occurs with Shipping and/or Payment disabled

Please have a look:
http://opctestsite.cloudaccess.net/shop.html

Feel free to look at config
http://opctestsite.cloudaccess.net/admi ... /index.php
Admin User: opctest
Password: opctest


Hello, as mentioned in my installation guide here on the site and also on the "Notes" section of OPC backend, your MUST either deassociate all shopper groups from your payment/shipment/calculation plugins OR add both -default- and -anonymous- shopper groups. I checked your backend and added -anonymous- and now it works. This shopper group association must be done also everywhere else where a part of the system is called from OPC. The only difference between a VM checkout and OPC is that OPC allows anonymous to load the plugins, incl. the calculation plugins.

Please change the backend credentials for opctest as it is not safe to allow public access to your backend as the attacker could run a php code on your server and cause lots of issues on the whole server.

I will do such a check for shopper groups from the backend config and the error will be shown in the next versions of OPC.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Error: Please choose the right carrier for selected country

Postby info@.....com » Thu Dec 13, 2012 8:30 pm

Stan
Thank you!
I have to admit to having only skimmed the Notes and completely missed your clear instructions.
(I did read http://www.rupostel.com/installation-guide but I can see no reference there.)

I have changed password and login name on all the opctest sites I created while I was pulling my hair out.

Sorry to have been so impatient.
info@.....com
 
Posts: 6
Joined: Mon Dec 10, 2012 11:28 pm

Re: Error: Please choose the right carrier for selected country

Postby admin » Sat Dec 15, 2012 7:44 pm

Hello, no problem, i know i should write better guides for all of the features.
I will try to do my best in future for this.
Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Next

Return to One Page Checkout for Virtuemart 2