Clicking the "My billing information is the same as my delivery information" checkbox on the checkout form requests quotes again, and selects the first option in the list.

Steps to reproduce:
1. Fill out your delivery information
2. Let shipping quotes generate (or generate them manually)
3. Select a shipping option that is NOT first in the list
4. Check the "My billing information is the same as my delivery information" checkbox
5. Shipping method is reset to the first radio option

This is almost a critical issue as it can lead to customers inadvertently being charged for the incorrect shipping type. Or perhaps not being charged at all, as in our case we offer "free local pick-up" via Flat Rate. However, setting this shipping method first in the list will lead to the problem of a customer selecting USPS for example, then checking the "billing is same as delivery" checkbox resulting in "free pick-up" actually being selected. If the customer doesn't catch the change, we would be sitting there waiting for them to pick it up, and they would be wondering where their package is...

I'll probably end up altering the Javascript attached to the checkbox via a form_alter or something, but I definitely wanted to make this aware... And of course, my apologies if there's an issue, I didnt' find one.


#3 830898-billing-copy-no-quotes.patch1.01 KBlongwave
PASSED: [[SimpleTest]]: [MySQL] 2,146 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


TR’s picture

Version: 6.x-2.2 » 6.x-2.x-dev

Confirmed that issue still occurs in latest release.

longwave’s picture

longwave’s picture

Status: Active » Needs review
1.01 KB
PASSED: [[SimpleTest]]: [MySQL] 2,146 pass(es). View

Attached patch fixes this so the copy address checkbox only updates quotes if it is the delivery address pane, not the billing address pane.

longwave’s picture

Status: Needs review » Fixed


Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.