Commit graph

2104 commits

Author SHA1 Message Date
Thomas Steen Rasmussen 17f17d18f7 return super dispatch 2016-05-17 20:42:02 +02:00
Thomas Steen Rasmussen b52be5af8c only show public products 2016-05-17 15:51:25 +02:00
Thomas Steen Rasmussen f5e05ac51c make epay callback code handle multiple callbacks for the same order (happens sometimes) 2016-05-17 15:35:28 +02:00
Thomas Steen Rasmussen 9ff4be7272 first steps towards an invoice worker 2016-05-17 15:31:41 +02:00
Thomas Steen Rasmussen 2ed981776f add migration 2016-05-17 15:15:30 +02:00
Thomas Steen Rasmussen 8a653265cc add Invoice model 2016-05-17 15:09:40 +02:00
Thomas Steen Rasmussen 9cce10c281 add public field to Product 2016-05-17 15:09:31 +02:00
Thomas Steen Rasmussen adfca40062 rename file, typo 2016-05-17 08:38:02 +02:00
Thomas Steen Rasmussen 562314caed move a few more checks to mixins 2016-05-17 08:34:54 +02:00
Thomas Steen Rasmussen 01779363d5 this code is no longer needed, the mixin checks if the order is paid 2016-05-17 08:27:13 +02:00
Thomas Steen Rasmussen f06a8c76c3 add a mixin to use when we want to make sure an order is unpaid 2016-05-17 08:21:59 +02:00
Thomas Steen Rasmussen ffedb8327d missing import 2016-05-17 08:15:14 +02:00
Thomas Steen Rasmussen f934cbf0aa convert to int, print a warning if we receive a wrong amount from epay 2016-05-17 08:13:00 +02:00
Thomas Steen Rasmussen ded056baf0 fix __str__ method for epaycallback 2016-05-17 08:08:30 +02:00
Thomas Steen Rasmussen 8eb943c877 fix ordering and __str__ methods for epaycallback model 2016-05-17 08:04:53 +02:00
Thomas Steen Rasmussen 528aa2bccf add migration 2016-05-17 08:01:11 +02:00
Thomas Steen Rasmussen ff6af58eda more work on epay callback - add md5valid field to callback model 2016-05-17 07:59:42 +02:00
Thomas Steen Rasmussen 1aec9bc4b6 use an OrderedDict to ensure order of query params 2016-05-17 07:54:54 +02:00
Thomas Steen Rasmussen f62a4dd8a3 forgot the most important bit lol 2016-05-17 07:46:36 +02:00
Thomas Steen Rasmussen c1203db188 rework epay callback validation 2016-05-17 07:42:31 +02:00
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