Alex,

It's a good point and one I've thought about myself. One idea I've thought
about is to try to do a pre-address validation request/shipping check before
we move to the shipping choice page. That way we could prevent someone from
even getting there unless the information is correct.

The other option is to display a more friendly error message so that the
user can actually move forward.

I'm open to ideas and do agree it's an issue we should address (nice pun :)

-Chris

On Wed, Mar 24, 2010 at 9:27 AM, Alex Robbins <[email protected]
> wrote:

> Right now, if a user inputs a bad address with UPS or USPS shipping
> modules (and maybe others) there won't be any shipping choices. This
> is documented.
>
> However, the payship form has a clean_shipping method that will fail
> in this case (since not shipping and self.tempCart.is_shippable). The
> validation error won't be displayed because the form.shipping_hidden =
> True, but the user will be put back on the payship page. The user
> doesn't get an error message, but they also can't move forward.
>
> It seems to me that we need to handle this explicitly. If
> cart.is_shippable and len(shipping_choices) == 0 then we have a
> problem. Maybe we should throw a 500? Maybe we should have an error
> message ("There are no valid shipping methods. Perhaps you entered
> your address incorrectly?"). I know it is very difficult to tell why
> there are no shipping_choices, but it seems like we need to have a
> plan for this situation.
>
> It would be very nice to send them back to the address page with a
> validation error message on the address form, but that isn't always
> the source of the error.
>
> Any ideas on how we could fix this?
>
> Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to