Commit graph

584 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 089185f38c re-add get_absolute_url method for order 2016-05-17 07:21:22 +02:00
Thomas Steen Rasmussen dd292c22c7 remember namespace prefixes on reverse() calls 2016-05-17 07:15:10 +02:00
Thomas Steen Rasmussen 7932302e42 .total not .amount 2016-05-17 07:13:10 +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 217d7d8af9 add epay models to admin 2016-05-16 21:45:43 +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 5e1d9f009e add LETTERHEAD_PDF_PATH to settings 2016-05-16 21:04:01 +02:00
Thomas Steen Rasmussen 1abbf3acc6 add pdf code and pdf letterheads 2016-05-16 21:04:01 +02:00
Víðir Valberg Guðmundsson 029ca1cf00 Adding currency tags to display prices correct 2016-05-16 20:56:52 +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 e8badb817a use DetailView, add epay_thanks, unfinished 2016-05-16 18:26:27 +02:00
Thomas Steen Rasmussen 0b4125d6d9 epay expects øre not kroner 2016-05-16 17:48:04 +02:00
Thomas Steen Rasmussen b4235ef642 load bootstrap tags 2016-05-16 17:46:20 +02:00
Thomas Steen Rasmussen 9dcb47cc3c load jquery on epay page 2016-05-16 17:44:33 +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 5a5efbe69a remember namespace prefix for reverse() lookups 2016-05-16 17:23:53 +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 a49168e95c dk vat is 25% - but only 20% of an amount including vat is vat :) 2016-05-16 17:11:48 +02:00
Thomas Steen Rasmussen ba01e103a3 missing import; use reverse_lazy 2016-05-16 17:11:07 +02:00
Thomas Steen Rasmussen db597a4a36 use reverse_lazy instead of reverse 2016-05-16 17:07:18 +02:00
Thomas Steen Rasmussen 5be92b46ff add missing get_absolute_url() for Order model 2016-05-16 16:54:11 +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
Víðir Valberg Guðmundsson f4be670301 No need for subtotal 2016-05-16 16:20:15 +02:00
Thomas Steen Rasmussen f9cea6cdba missing import 2016-05-16 16:14:49 +02:00
Víðir Valberg Guðmundsson bee6a65ede Prices are with VAT, turning the calculation around. 2016-05-16 16:14:16 +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
Víðir Valberg Guðmundsson 326e9d70cd Adding cart with number of items in order to menu 2016-05-14 19:42:25 +02:00
Thomas Steen Rasmussen d423ab54de add form to product detail page 2016-05-14 19:20:47 +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