We are developing a new web site and we are going to use the anonymous login so people can see their seats without logging in. For member prices and presales/promotions, the system switches the MOS after login so the customer has access to the better prices. The problem lies with failed logins. This is the process:
1. Buy a show and add to cart (as anonymous user)
2. Checkout
3. Login w/without promotion code
4. Switch MOS if applicable
The problem lies when a login fails. When that happens the API will throw an error and dump the contents of the cart and leaves the MOS as the default. When this happens the special price/discount or show is not available in the default MOS so it either dumps the cart or throws an error that the price type isn't available in the default MOS. Ideally we want it to allow another login if the login fails and not dump the cart.
Has anyone else run into this situation and do you have any suggestions?
Gloria
What kind of login error do you mean? Like a bad password or something? I'm suprised that the cart would really be dumped. Are you using TransferSession and TransferCart? What is the APi exception thrown?
Also, I could be wrong about this but I seem to recall a couple of things that may be factors as well:
1. Once an item has been reserved in a cart, using TransferSession (or TransferCart, can't remember which exactly) and logging in with a promo-code won't retroactively adjust the pricing on items already in the cart. It would use correct pricing from that point forward.
2. I didn't think you could switch MOS and maintain the existing cart once an item was reserved in a cart under a particular MOS.
Again, I could be wrong on both points there, or could just be having flashbacks to previous versions.