Commit graph

96 commits

Author SHA1 Message Date
Thomas Steen Rasmussen 12d76f4330 make order available in epay thanks page 2016-05-17 07:27:06 +02:00
Thomas Steen Rasmussen 2168477bb4 self.request not just request 2016-05-17 07:23:46 +02:00
Thomas Steen Rasmussen 67cbe33e3a fix trailing commas, rename to epay.py 2016-05-17 07:10:18 +02:00
Thomas Steen Rasmussen e0c3be498b fix import 2016-05-17 07:08:03 +02:00
Thomas Steen Rasmussen 0e3fe85dfe working on epay payment 2016-05-17 07:06:25 +02:00
Thomas Steen Rasmussen ebec7265df missing import 2016-05-16 21:59:54 +02:00
Thomas Steen Rasmussen 548f052218 order matters 2016-05-16 21:57:52 +02:00
Thomas Steen Rasmussen 75778344ec missing import 2016-05-16 21:54:25 +02:00
Thomas Steen Rasmussen 96582c93ae tell epay to send the user to our thanks url after payment 2016-05-16 21:45:34 +02:00
Thomas Steen Rasmussen 32779b662e fix epay callback 2016-05-16 21:14:56 +02:00
Thomas Steen Rasmussen 1fb5454590 more work on payments 2016-05-16 19:31:14 +02:00
Thomas Steen Rasmussen ce98d97d74 missing import 2016-05-16 19:12:59 +02:00
Víðir Valberg Guðmundsson fc7495c7ce Implement EnsureUserOwnsOrderMixin to keep things DRY 2016-05-16 18:48:50 +02:00
Thomas Steen Rasmussen 0b4125d6d9 epay expects øre not kroner 2016-05-16 17:48:04 +02:00
Thomas Steen Rasmussen 1c429d0ec2 wrap in str() 2016-05-16 17:41:24 +02:00
Thomas Steen Rasmussen 334a10359e self.request not just request 2016-05-16 17:37:10 +02:00
Thomas Steen Rasmussen aed20d2821 provide epay with a complete url to return the customer to after payment 2016-05-16 17:35:08 +02:00
Thomas Steen Rasmussen d22ef963d4 missing import 2016-05-16 17:25:57 +02:00
Thomas Steen Rasmussen 2e079732cf return to order details after adding product to order 2016-05-16 17:17:14 +02:00
Thomas Steen Rasmussen db597a4a36 use reverse_lazy instead of reverse 2016-05-16 17:07:18 +02:00
Thomas Steen Rasmussen 3a80691e2c fix epay payment 2016-05-16 16:49:52 +02:00
Thomas Steen Rasmussen f88172cd97 pass pk not orderid 2016-05-16 16:36:15 +02:00
Thomas Steen Rasmussen 2117e80cf6 working on payments 2016-05-16 16:32:02 +02:00
Thomas Steen Rasmussen f9cea6cdba missing import 2016-05-16 16:14:49 +02:00
Víðir Valberg Guðmundsson 9eefc6bdfd Adding subtotal, VAT and total to order. Also redirect to shop index if there are no products. 2016-05-16 16:09:25 +02:00
Víðir Valberg Guðmundsson 373a4cf65b Editing of an order (remove/update products) 2016-05-16 15:44:03 +02:00
Thomas Steen Rasmussen 2287e6dda5 working on epay payment 2016-05-16 15:31:37 +02:00
Víðir Valberg Guðmundsson 68fce085e7 Fixes for when there is no order + adding a new product to the order 2016-05-16 00:20:09 +02:00
Víðir Valberg Guðmundsson 5ed1d3075b Use 'open' instead of 'finalized' 2016-05-16 00:14:45 +02:00
Víðir Valberg Guðmundsson c45a3aa8c9 Getting there! 2016-05-16 00:09:00 +02:00
Thomas Steen Rasmussen 65b6465b40 forgot to return a response 2016-05-14 16:34:06 +02:00
Thomas Steen Rasmussen d2fae2480a pk not id 2016-05-14 16:32:42 +02:00
Thomas Steen Rasmussen 447cf0d909 typo==fail 2016-05-14 16:28:54 +02:00
Thomas Steen Rasmussen 1ecf55f70c no quotes here 2016-05-14 16:24:10 +02:00
Thomas Steen Rasmussen c8cf189156 super fix 2016-05-13 08:50:04 +02:00
Thomas Steen Rasmussen 55dfa457d2 remove unneeded line 2016-05-13 08:44:31 +02:00
Thomas Steen Rasmussen b942d674ef more work on shop 2016-05-13 08:36:56 +02:00
Thomas Steen Rasmussen 82ae2b8c23 more work on shop 2016-05-12 19:08:54 +02:00
Thomas Steen Rasmussen 29c0696f3f check that this order belongs to this user 2016-05-12 18:14:30 +02:00
Thomas Steen Rasmussen bbee72c67f self.get_object() not self.instance 2016-05-12 18:14:16 +02:00
Thomas Steen Rasmussen 7553df8014 better docstring 2016-05-12 18:10:51 +02:00
Thomas Steen Rasmussen e218c4c6ae missing import 2016-05-12 18:10:36 +02:00
Thomas Steen Rasmussen 0aab582666 typofest 2016 2016-05-12 18:04:58 +02:00
Thomas Steen Rasmussen 10d344f6f8 forgot to push a few things before 2016-05-12 10:01:26 +02:00
Thomas Steen Rasmussen 7212cb0081 a bit more work on still unfinished shop 2016-05-12 09:51:35 +02:00
Víðir Valberg Guðmundsson 5cfcf13e7d We don't only operate on tickets - renaming and refactoring accordingly 2016-05-10 22:20:01 +02:00