Commit graph

31 commits

Author SHA1 Message Date
Neeraj Gupta f141c2ee21 Integrate payment details for Stripe. 2021-08-19 22:52:14 +05:30
Neeraj Gupta 9175387f7d Support Stripe subscription renewal and cancellation 2021-08-19 16:53:48 +05:30
vishnukvmd 7fd3f2c7ef Use v2 API to fetch billing plans 2021-07-26 21:39:07 +05:30
vishnukvmd eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
vishnukvmd 9c80f1a2b9 Register for free subscription 2021-07-08 02:40:56 +05:30
Vishnu Mohandas f9b879de69 Remove reliance on cached subscription plan 2021-05-19 23:03:21 +05:30
Vishnu Mohandas 8e368f83b6 Ensure that there was a response before parsing the status code 2021-04-05 18:37:41 +05:30
Vishnu Mohandas 126121486d Clear service level cache on logout 2021-03-18 02:41:31 +05:30
Vishnu Mohandas f986c9ae29 Make free plan configurable 2021-03-02 12:05:10 +05:30
Vishnu Mohandas 432219234d Comment out library that could cause issues on Android 2021-02-16 21:45:23 +05:30
Vishnu Mohandas a10ad8c279 Handle subscription expired errors 2021-02-02 22:05:38 +05:30
Vishnu Mohandas b9599383e2 Enable upgrades and downgrades on PlayStore 2021-02-02 00:44:04 +05:30
Vishnu Mohandas 8292ce2621 Prevent downgrading to a plan that provides lesser storage than what has been consumed 2021-02-01 16:44:22 +05:30
Vishnu Mohandas a7eb3d8653 Move bytes to GB conversion to a util 2021-02-01 16:32:30 +05:30
Vishnu Mohandas 6fdbba8d73 Update subscription model 2021-02-01 16:08:07 +05:30
Vishnu Mohandas c2dbdaaf7b Rename function 2021-02-01 02:24:22 +05:30
Vishnu Mohandas f962230060 Move code to fetch usage to BillingService 2021-02-01 02:24:00 +05:30
Vishnu Mohandas 79d312f263 Revert to official IAP library since purchases aren't getting completed on iOS 2021-02-01 02:11:41 +05:30
Vishnu Mohandas 007389a9d3 Clear transaction only for iOS 2021-01-31 16:45:40 +05:30
Vishnu Mohandas f320d00ef8 Migrate to third party library for IAP 2021-01-30 13:27:18 +05:30
Vishnu Mohandas 2223c4103e Check for updates to subscription if it is locally expired 2021-01-29 17:12:15 +05:30
Vishnu Mohandas 65a4c838dc Make subscription verification async 2021-01-27 16:28:23 +05:30
Vishnu Mohandas 7e444642db Report updated purchases from BillingService 2021-01-27 14:25:58 +05:30
Vishnu Mohandas f4a8867bcc Fix validity condition for subscriptions 2021-01-23 11:54:22 +05:30
Vishnu Mohandas 55af1f0cfb Update billing service 2021-01-18 22:33:16 +05:30
Vishnu Mohandas 6a71c6ecb5 Update API to verify subscription 2021-01-18 21:50:53 +05:30
Vishnu Mohandas 2e8b3b25fe Load subscription from server using the verification data fetched from IAP 2021-01-11 03:01:13 +05:30
Vishnu Mohandas 8d09418427 Add a subcription chooser page 2021-01-06 21:39:42 +05:30
Vishnu Mohandas 23feafcca9 Add todo 2021-01-06 17:27:35 +05:30
Vishnu Mohandas 540cea31df Persist subscription plan returned by the server 2021-01-06 17:26:03 +05:30
Vishnu Mohandas 669eed55e4 Add BillingService 2021-01-05 15:11:32 +05:30