(I'm resending this since I didn't send the last one from my gmail address
so I'm not sure it made it through)

I'm testing a shopping cart out, and I'm getting unclear behavior following
a decline.  Essentially the cart is deleted, but the template sends be back
to the pay and review screen to fix my payment information.  If I do and
then submit again I get redirected to the empty cart page.  Looking at the
code that is the behavior I would expect, I'm wondering what people think of
this idea to fix it.

On the decline template, instead of directing the user back one page (It
actually uses javascript:history.go(-1)) send the user to a getpaid browser
view that takes the orderId as an argument.  That view will look to see if
there is no cart.  If so recreate the cart from the order it was passed and
then redirect to the payment screen.

-Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" 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/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to