do you know why the payment was declined and the cart was cleaned anyway? -- S i x F e e t U p , I n c . | http://www.sixfeetup.com Phone: +1 (317) 861-5948 x605 ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12, 2009 http://www.sixfeetup.com/immerse
On Fri, May 29, 2009 at 12:10 PM, Rob LaRubbio<[email protected]> wrote: > (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 -~----------~----~----~----~------~----~------~--~---
