Commit graph

23 commits

Author SHA1 Message Date
PCoder
1897cc087c Handle config not set cases more gracefully 2019-10-13 09:08:40 +05:30
PCoder
8da25be8b8 Show minimum_subscription_period only for recurring products 2019-09-19 21:24:33 +05:30
PCoder
72d651ea76 Improve the price shown to user 2019-09-19 21:11:42 +05:30
PCoder
671ec75584 Handle one-time payment 2019-09-19 21:08:20 +05:30
PCoder
ffda97ca8c Remove unwanted logging + improve the order key 2019-09-19 17:23:12 +05:30
PCoder
3dab0efcd6 Correct product_id
It was containing the entire dir /v1/...
2019-09-19 17:13:42 +05:30
PCoder
56725af770 Refactor + improve order list 2019-09-19 15:22:41 +05:30
PCoder
2c1a9986f4 Use refactored method + improved ordered_at time shown to user 2019-09-19 15:22:09 +05:30
PCoder
ca41a9bcab Use the user's name instead of asking email 2019-09-19 15:19:53 +05:30
PCoder
497c535de1 Add product_id/create_at/created_by fields for product 2019-09-19 15:18:18 +05:30
PCoder
9ed0fdf468 Add get_user_friendly_product 2019-09-19 15:15:19 +05:30
PCoder
665c327fc5 Supply interval param for creating the subscription
{month, year} work; needs testing for others
2019-09-19 15:13:56 +05:30
PCoder
5201b9a443 Rename duration -> period and remove recurring_duration_units 2019-09-19 11:34:27 +05:30
PCoder
b93aefa607 Add minimum_subscription_duration to recurring products 2019-09-19 10:54:11 +05:30
PCoder
5e4b105b97 Fix bug: access wrong key 2019-09-15 13:07:57 +05:30
PCoder
6c2183a6c8 Improve the details in products that we show 2019-09-15 13:05:14 +05:30
PCoder
44a68f88d8 Deactivate port if not set 2019-09-14 22:58:11 +05:30
PCoder
0a6db9ebc0 Handler /order/list 2019-09-14 22:46:43 +05:30
PCoder
98a25361ea Put client orders properly 2019-09-14 22:31:23 +05:30
PCoder
591eaadea2 Fix bug: forgot cast to string 2019-09-14 22:16:37 +05:30
PCoder
c2514cd5b5 Add code to subscribe user to recurring subscriptions 2019-09-14 21:57:35 +05:30
PCoder
5749b644ee Detect one time or recurring product 2019-09-14 17:42:10 +05:30
PCoder
e32baf65a0 Rename ucloud-pay to ucloud_pay 2019-09-14 16:08:26 +05:30
Renamed from ucloud-pay.py (Browse further)