kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

Declined payment confirmation page genereates broken link #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. With authorize.net pay processor, place order as registered user that is
declined
2. on confirmation page, click on the link to check your order status 

What is the expected output? What do you see instead?

I got the new declined payment confirmation page: 

"A problem occurred with your payment
Your finance state is PAYMENT_DECLINED
Your order id is 294503952
You can check the status of your order here"

The last word is linked to the order view page. However, when I click it,
it gives me a 404 error. It seems that the system has deleted the order for
the case of the declined payment. 

The user shouldn't get a 404 page...but should the order remain? ie is
there value in it being there for later (ie to change the state, fix it,
delete it...)

Original issue reported on code.google.com by cjj.ifpe...@gmail.com on 18 Dec 2007 at 9:53

GoogleCodeExporter commented 8 years ago
A couple things here: 

1. we need to have uniform behavior across payment processors. currently in 
Payment
tech, the order is left and the user can see it. Whatever we decide, we should 
be
consistent and document how to make a pay processor interface. 

2. perhaps it would be more useful to go back to the page before the 
confirmation (ie
last of checkout) and present the error message there (with hopefully enough 
info so
use can fix)

Original comment by cjj.ifpe...@gmail.com on 18 Dec 2007 at 9:56

GoogleCodeExporter commented 8 years ago
This problem doesn't happen anymore, since the page doesn't show a link anymore 
to
the order, since the order doesn't exist when the payment is declined/cancelled.

Original comment by lucielej...@gmail.com on 6 Mar 2008 at 3:03