No replies
setfree's picture
Offline
Uber Donor
Joined: 12/16/2007
Juice: 436
Was this information Helpful?

We have an UC 1.x site that is experiencing a couple of issues and if someone could help with them I can pay a $50 bounty.

Symptom 1

During checkout screen, if a user clicks 'review order' and there is an error on the shipping or credit card selections then ALL of their previously enter data is cleared.

Example:

  • User goes to check and enters all of the shipping and billing information
  • User does not select a shipping option or enters some incorrect credit card information
  • User is notified of errors and all of their previously entered shipping and billing information has been cleared. The only info that remains is the CC info if that was entered.

* Notes:

The symptom does not occur if the validation errors are caused by other fields. For example, if they don't enter a value for their shipping address then the fields are not cleared, even if there is also an error in the shipping type or CC. The symptom only occurs if the ONLY validation errors are the shipping select and/or the CC entry.

This has been tested on multiple machines and multiple browsers.

Symptom 2

I don't know if this is related to symptom 1 or if this is by design (?) but while troubleshooting the first symptom I noticed two other issues:

(1) When a user clicks "review order" then a record with the order # is entered into the orders table, but if there is a validation error then the next time they click 'review order' there is a new order created in the table with the next order #. So if someone had three validation errors (forgetting to fill in some fields, etc) then there would be three orders in the orders table with three different order #'s. Of course, only one would show as completed if they make it that far.

This seems odd, is this behavior by design?

(2) When a user enters their email address in the checkout screen, it does not seem to check if the email address already exists. I can use an email address from an existing user or one from a previous failed checkout attempt and it always creates a new order without telling me the email address already exists.

This shouldn't be happening, correct?

Troubleshooting

I have spent days working on these issues without success. Some steps taken:

  • Making sure Drupal and modules are up to date & no errors in watchdog
  • Disabled as many modules as possible while still being able to checkout
  • Tried different configurations of checkout and shipping settings
  • Examined template.php and page templates for any suspect code - even removed different functions to see if anything was interfering

If anyone is willing to help troubleshoot (even if it is just suggestions to try), I will gladly pay for a successful resolution to some or all of these issues.