kapilt / getpaid

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

don't create duplicate orders, if the user hits payment button twice #111

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
generate orderid on address information view. and check creation for it
before creating new one.

implmentation to go here
checkout.makePayment

Original issue reported on code.google.com by kapilt@gmail.com on 19 Sep 2007 at 8:28

GoogleCodeExporter commented 8 years ago
I am pretty sure this is done with the work John did at the sprint - Kapil, can 
you
check it out please? 

Original comment by cjj.ifpe...@gmail.com on 23 Oct 2007 at 9:53

GoogleCodeExporter commented 8 years ago
this just pushes order id generation earlier, it doesn't actually do any 
checks... ie
makePayment will still happily create a new order and process it from the cart.

sigh.. the pgp portion of this should prolly get reverted. mixins are dirty.

the getpaid.core portion should also be refactored.. order id generation is 
properly
the responsibility of the order manager utility, not the order class 
implementation.

Original comment by kapilt@gmail.com on 24 Oct 2007 at 10:37

GoogleCodeExporter commented 8 years ago
:(

Original comment by jlen...@gmail.com on 25 Oct 2007 at 1:38

GoogleCodeExporter commented 8 years ago

Original comment by cjj.ifpe...@gmail.com on 15 Nov 2007 at 11:12

GoogleCodeExporter commented 8 years ago
believe kapil cleaned this one up

Original comment by cjj.ifpe...@gmail.com on 4 Apr 2008 at 2:37

GoogleCodeExporter commented 8 years ago
yes, the wizard checks if an order has already been created.

Original comment by kapilt@gmail.com on 5 Apr 2008 at 10:38