Commit Graph

19 Commits

Author SHA1 Message Date
fnux c651c4ddaa Cleanup a bit BillRecord 2020-03-02 16:41:49 +01:00
fnux 9e9018060e Wire order records to bills, fix user balance 2020-03-02 10:46:04 +01:00
fnux 81bd54116a Add records to orders 2020-03-02 09:25:03 +01:00
fnux be2b0a8855 Fix a few errors on preview billing rework
Another WIP commit to sync with laptop, do not forget to rebase!
2020-03-01 12:23:04 +01:00
fnux 1cb1de4876 Add (broken) charge method to payment method endpoint 2020-02-28 11:10:31 +01:00
fnux 059791e2f2 Add initial generate-bills and charge-negative-balance uncloud-pay
commands
2020-02-28 08:59:32 +01:00
fnux b1649a6228 Remove product resolution from /order endpoint 2020-02-28 07:25:56 +01:00
fnux 0e28e50bac Revert "Commit WIP changes for /order, if needed at any point"
This reverts commit 83794a1781a1b84506100b39a6997882c654b4f3.
2020-02-28 07:25:18 +01:00
fnux 38d3a3a5d3 Commit WIP changes for /order, if needed at any point 2020-02-28 07:25:18 +01:00
fnux 809a55e1dd Wire VMProduct creation to order 2020-02-28 07:25:18 +01:00
fnux b2fe5014d8 Make recurring_period an Enum, VMProduct a Product, initial wire for
order
2020-02-28 07:25:05 +01:00
fnux 1dd3324275 Wiring initial user balance 2020-02-28 07:24:51 +01:00
fnux 36fcff5149 Add initial structure for payment methods 2020-02-28 07:24:51 +01:00
Nico Schottelius 70a4fe4d90 order: serialize all fields 2020-02-27 12:45:54 +01:00
fnux 1ff5702ce3 Expose Order model 2020-02-27 12:42:24 +01:00
fnux f5eadd6ddb Move user view to uncloud_pay 2020-02-27 12:38:04 +01:00
fnux b9b605f407 Add ADMIN endpoints for bills and payments 2020-02-27 12:21:25 +01:00
fnux f358acca05 Fix payment creation 2020-02-27 12:11:13 +01:00
fnux 06ab21c577 Fix python errors on latest hack commits => make runserver happy again 2020-02-27 11:59:28 +01:00