Decline process

0 views
Skip to first unread message

Rob LaRubbio

unread,
May 29, 2009, 12:10:05 PM5/29/09
to getpa...@googlegroups.com
(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

Lucie Lejard

unread,
Jun 8, 2009, 11:10:40 AM6/8/09
to getpa...@googlegroups.com
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

Rob LaRubbio

unread,
Jul 1, 2009, 3:10:23 PM7/1/09
to getpa...@googlegroups.com
Sorry for the slow response on this, my gmail was offline for a bit.

This order was successfully authorized by authorize.net, but the settle failed because the addresses didn't match.  (Why don't they do that check at auth time?).  GetPaid creates the order and clears the cart following a successful auth so this case isn't handled very well by GetPaid.

The case of a decline following a successful auth isn't nearly as common as a declined auth and that seems to be handled in a more user friendly way.  So this isn't a high priority issue but still something to think about.

-Rob
Reply all
Reply to author
Forward
0 new messages