Commit graph

1981 commits

Author SHA1 Message Date
Thomas Steen Rasmussen da5b0f0f26 convert to int(), wrap in try/except 2016-05-30 18:18:31 +02:00
Thomas Steen Rasmussen 6f61220363 commit some more invoice stuff 2016-05-30 18:09:32 +02:00
Víðir Valberg Guðmundsson d8a1ec132b Use Order.mark_as_paid() in EpayCallbackView 2016-05-30 18:05:35 +02:00
Víðir Valberg Guðmundsson 02edd45b20 Fix #8 and layout of products 2016-05-30 18:03:54 +02:00
Thomas Steen Rasmussen 878e888219 missing imports 2016-05-30 17:33:02 +02:00
Thomas Steen Rasmussen 3e80c51572 add __str__ method for Order model 2016-05-30 17:32:53 +02:00
Thomas Steen Rasmussen e74783162f migration for previous commit 2016-05-30 17:32:43 +02:00
Thomas Steen Rasmussen 935af5f188 commit a bunch of invoice related stuff - generate pdf invoice, save to archive, email to customer 2016-05-30 16:58:55 +02:00
Thomas Steen Rasmussen aba0596252 show order in __str__ on coinifyapicallback model 2016-05-29 19:55:07 +02:00
Thomas Steen Rasmussen ff94193fcc fix saving of coinify callbacks 2016-05-29 19:53:56 +02:00
Thomas Steen Rasmussen eb04ee94b4 fix returns from coinifycallback 2016-05-29 19:47:44 +02:00
Thomas Steen Rasmussen a6b50c79fc add missing model to CoinifyCallbackView 2016-05-29 19:44:43 +02:00
Thomas Steen Rasmussen a46480c960 missing import 2016-05-29 19:42:10 +02:00
Thomas Steen Rasmussen d6d5ef4f84 migration for previous commit 2016-05-29 19:37:45 +02:00
Thomas Steen Rasmussen 59a66107bb rename CoinfyCallback model to CoinifyAPICallback 2016-05-29 19:33:26 +02:00
Thomas Steen Rasmussen daab6c4019 CoinifyCallback() only needs the secret 2016-05-29 19:29:06 +02:00
Thomas Steen Rasmussen 3c8a1427da move csrf_exempt decorator to dispatch() 2016-05-29 19:21:44 +02:00
Thomas Steen Rasmussen cf46544294 csrf exempt decorator on coinify callback view 2016-05-29 18:45:04 +02:00
Thomas Steen Rasmussen eb80287ded migration for previous commits 2016-05-29 18:27:41 +02:00
Thomas Steen Rasmussen be13ccdf78 ordering is a list 2016-05-29 18:02:12 +02:00
Thomas Steen Rasmussen 15ceea3f5a show orders with newest at the top 2016-05-29 17:49:37 +02:00
Thomas Steen Rasmussen e98bd530e2 add model to epaycallbackview 2016-05-29 17:12:09 +02:00
Thomas Steen Rasmussen e1b87bf565 hm, revert these to detailview might fix this 2016-05-29 17:07:09 +02:00
Thomas Steen Rasmussen 1e2cfcf71d use TemplateView not View 2016-05-29 16:57:25 +02:00
Thomas Steen Rasmussen 83563e8cb3 missing dispatch super() 2016-05-29 16:40:32 +02:00
Thomas Steen Rasmussen c5c53daa39 fix epay callback, and move some stuff around 2016-05-29 16:36:23 +02:00
Thomas Steen Rasmussen d3c65e1c23 self.get_object().pk please 2016-05-29 16:27:38 +02:00
Thomas Steen Rasmussen 8a0eaa0c0b forgot to include callback url in epay hash calculation 2016-05-29 16:23:24 +02:00
Thomas Steen Rasmussen 018723f27d syntax 2016-05-29 16:20:48 +02:00
Thomas Steen Rasmussen 916f1ed59f forgot to include the epay callback url in the form 2016-05-29 16:15:49 +02:00
Thomas Steen Rasmussen 3eaf9cec91 redirect to clean url after epay payment 2016-05-29 16:10:06 +02:00
Thomas Steen Rasmussen afc380343a fix block name in closing tag 2016-05-29 16:00:22 +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 283f4013a9 spacing 2016-05-29 15:55:25 +02:00
Thomas Steen Rasmussen c43b275494 wording on order detail page 2016-05-29 15:44:27 +02:00
Thomas Steen Rasmussen 21b1e2156f fix |truefalseicon filter 2016-05-29 15:35:14 +02:00
Thomas Steen Rasmussen 9e66a9c4c6 do not use django template code here 2016-05-29 15:25:49 +02:00
Thomas Steen Rasmussen ef53a8149b do not escape our html string 2016-05-29 15:21:55 +02:00
Thomas Steen Rasmussen af184cd671 order list styling 2016-05-29 15:18:36 +02:00
Thomas Steen Rasmussen 93fed32cad styling order list page 2016-05-29 15:16:29 +02:00
Thomas Steen Rasmussen d55de77201 styling order list page 2016-05-29 15:04:52 +02:00
Thomas Steen Rasmussen c7906a069b a bit of spacing 2016-05-29 14:49:47 +02:00
Thomas Steen Rasmussen 4b933f2a06 add more details to order list page 2016-05-29 14:48:57 +02:00
Thomas Steen Rasmussen a124911a44 forgot the url namespace prefix (again) 2016-05-29 14:33:41 +02:00
Thomas Steen Rasmussen b3f6131be4 working on shop 2016-05-29 14:28:47 +02:00
Thomas Steen Rasmussen 57e120c45f add link to previous orders to the shop frontpage 2016-05-29 14:04:46 +02:00
Thomas Steen Rasmussen 7eae7ee9ff migrations for previous commit 2016-05-29 13:24:12 +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