Commit graph

82 commits

Author SHA1 Message Date
Thomas Steen Rasmussen d3c65e1c23 self.get_object().pk please 2016-05-29 16:27:38 +02:00
Thomas Steen Rasmussen 018723f27d syntax 2016-05-29 16:20:48 +02:00
Thomas Steen Rasmussen 3eaf9cec91 redirect to clean url after epay payment 2016-05-29 16:10:06 +02:00
Thomas Steen Rasmussen a53811b4c1 use a paymenttype independent order.get_cancel_url everywhere 2016-05-29 15:55:48 +02:00
Thomas Steen Rasmussen 131aa96690 save all coinify callbacks, even the invalid ones; also save headers 2016-05-29 13:20:51 +02:00
Thomas Steen Rasmussen 2e40dfb1d1 fix json path 2016-05-29 13:01:36 +02:00
Thomas Steen Rasmussen bb85b77841 define coinify cancel url in the api call, rename cancel url method on Order 2016-05-29 13:00:00 +02:00
Thomas Steen Rasmussen 6e3accfc79 this field has been renamed 2016-05-29 12:50:25 +02:00
Thomas Steen Rasmussen e019b241e8 pass request to the url methods on Order 2016-05-29 12:40:36 +02:00
Thomas Steen Rasmussen f73ff466eb forgot () 2016-05-29 12:36:07 +02:00
Thomas Steen Rasmussen c36e9c6eb0 working on shop and coinify payment 2016-05-29 12:29:38 +02:00
Thomas Steen Rasmussen b938f1374b missing import 2016-05-29 12:10:51 +02:00
Thomas Steen Rasmussen 5df37d9f93 more work on coinify payment 2016-05-29 12:08:29 +02:00
Thomas Steen Rasmussen 490b01a4df change CoinifyRedirectView to a RedirectView with SingleObjectMixin 2016-05-29 11:52:20 +02:00
Thomas Steen Rasmussen ca3dd850b0 pk not orderid 2016-05-29 11:40:58 +02:00
Thomas Steen Rasmussen fd7ba26428 typo 2016-05-29 11:38:23 +02:00
Thomas Steen Rasmussen 1e42ddf7bf just use regular reverse here 2016-05-29 11:35:04 +02:00
Thomas Steen Rasmussen 07d74878c5 working on coinify payments 2016-05-29 10:43:38 +02:00
Thomas Steen Rasmussen 9387b8bdc4 working on coinify payments 2016-05-25 22:48:02 +02:00
Thomas Steen Rasmussen 407c8c31c4 fix public category filtering 2016-05-17 21:55:09 +02:00
Thomas Steen Rasmussen 1b0a8019aa where did those quotes come from 2016-05-17 21:42:28 +02:00
Thomas Steen Rasmussen 42749bacd3 get category object 2016-05-17 21:24:04 +02:00
Thomas Steen Rasmussen 900bce6bc3 only show public categories 2016-05-17 21:10:01 +02:00
Thomas Steen Rasmussen e5d78099cf move .public to category instead of product 2016-05-17 20:56:11 +02:00
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 9cce10c281 add public field to Product 2016-05-17 15:09:31 +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 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 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 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