To quote #11: Quote: This

mr.andrey's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 08/12/2008
Juice: 153
To quote #11: Quote: This

To quote #11:

Quote:

This is an issue with v0.83. See a live example of the problem by visiting this site: http://www.chrismartenson.com/join_now

Add a subscription in the shopping cart and then click "Checkout". Complete the credit card and billing address information, selecting "Canada" as the country and "British Columbia" as the zone. After clicking "Review order", the following error message is displayed:

An illegal choice has been detected. Please contact the site administrator.

At this point the zone select dropdown has been populated with US states. If I select a US state and then click "review", I receive the error again ... but this time the zone reverts back to Canadian provinces. If I now select a province and click "review" again, it successfully takes me to the Review Order page.

This never got resolved. I'm experiencing the same problem in version 0.90. Here's a thread about a similar problem: http://drupal.org/node/285501. This has something to do with uc_cim's order pane.

It appears that the country is updated, but as far as the system (form validation?) is concerned, it is still the old country. The zones get re-populated with the old country's ones, and only upon another submission they get corrected. Somehow the "country" only gets really updated on a page refresh. This looks like a JS problem.

Any ideas?

Andrey.

UPDATE: Hmmm... I put an alert('1'); first thing in the uc_cim_apply_address function, and it doesn't show up on the address change. It looks like it's not even called.

Authorize.net Advanced (CIM) By: chadcrew (53 replies) Wed, 01/09/2008 - 22:44