Commit Graph
2497 Commits
Author SHA1 Message Date
Brandon Thomas cf7cd9945d Handle grace period days 2022-09-19 04:39:51 -04:00
Brandon Thomas 6a2a99741e cancel_at_period_end and new test 2022-09-19 04:35:59 -04:00
Brandon Thomas dc115a7aa1 begin handling deleted subscriptions 2022-09-19 04:18:08 -04:00
Brandon Thomas 6ea1bf3226 handle events with idempotency by ignoring replays 2022-09-19 04:11:35 -04:00
Brandon Thomas 334fc3022e record whether webhook events had actions taken, idempotency flag 2022-09-19 03:54:32 -04:00
Brandon Thomas 3fb26771de subscription interval tracked 2022-09-19 03:35:30 -04:00
Brandon Thomas ba448ccc50 record subscription billing periods, start date 2022-09-19 02:09:35 -04:00
Brandon Thomas fd3081e440 Track status as an enum, don't update at terminal state 2022-09-19 01:36:01 -04:00
Brandon Thomas 66981c4d2c Track subscription status 2022-09-19 00:26:16 -04:00
Brandon Thomas c6a1fc18d6 coalesce nulls 2022-09-19 00:12:21 -04:00
Brandon Thomas afb77393c0 Don't update on create if already existing, make user token optional 2022-09-19 00:02:52 -04:00
Brandon Thomas a2e71d8944 Handle subscription update and create 2022-09-18 23:26:39 -04:00
Brandon Thomas ca63e00905 user subscriptions 2022-09-18 19:52:11 -04:00
Brandon Thomas faf689dc09 log more info from webhooks 2022-09-17 13:33:22 -04:00
Brandon Thomas aec31779b8 store webhook logs 2022-09-17 13:02:10 -04:00
Brandon Thomas 452a3473b3 WIP schema 2022-09-17 12:06:21 -04:00
Brandon Thomas 00322c6ed4 tests 2022-09-12 06:53:16 -04:00
Brandon Thomas 6dd02d48c4 extractor 2022-09-12 06:33:20 -04:00
Brandon Thomas 2eaf7c499e subscription extractor 2022-09-11 22:18:43 -04:00
Brandon Thomas 3b82e7a389 tests 2022-09-11 21:37:40 -04:00
Brandon Thomas c825f17672 wip 2022-09-11 03:40:18 -04:00
Brandon Thomas 6bbf4453da notes 2022-09-10 20:11:49 -04:00
Brandon Thomas dda247b5ea Handle payment intent success 2022-09-10 18:57:13 -04:00
Brandon Thomas f0435804ec one-time payment 2022-09-10 18:24:45 -04:00
Brandon Thomas 176feda73b wip 2022-09-10 17:41:45 -04:00
Brandon Thomas f81d40b5bb Make logging less verbose 2022-09-10 05:42:50 -04:00
Brandon Thomas c07f100986 wip 2022-09-10 04:26:24 -04:00
Brandon Thomas 9feded54bd most of the events we want 2022-09-10 04:26:24 -04:00
Brandon Thomas 4acec068aa asdhfahsdf 2022-09-10 04:26:24 -04:00
Brandon Thomas e1d4c0f5f3 ugh, I hate this part of the project 2022-09-10 04:26:24 -04:00
Brandon Thomas f066658c3c Move in-progress Stripe / billing work to shared component crate 2022-09-10 04:26:24 -04:00
Brandon Thomas 17021f04b9 fml payments 2022-09-10 04:26:24 -04:00
Brandon Thomas 0e5b4599bb stripe wip 2022-09-10 04:26:24 -04:00
Brandon Thomas 02e7d1f4fa Stripe WIP 2022-09-10 04:26:24 -04:00
Brandon Thomas 360a389e3d Add stripe payments support 2022-09-10 04:26:22 -04:00
Brandon Thomas 999d73db81 analytics queries 2022-09-10 00:53:25 -04:00
Brandon Thomas ec1f5edd5c on-prem analytics queries 2022-09-09 14:40:41 -04:00
Brandon Thomas 2bc00dd6ca comment describing why to include this in the dockerfile 2022-09-09 14:11:08 -04:00
Brandon Thomas 6e6253bf86 dockerfile fixes? 2022-09-09 04:41:48 -04:00
Brandon Thomas 97e6fdc51b Downgrade docker rust build Ubuntu 22.04 -> 20.04 for openssl bug 2022-09-09 04:01:43 -04:00
Brandon Thomas 3cb9afa074 Update Dockerfile to point to new base Rust image 2022-09-09 02:26:38 -04:00
Brandon Thomas 34d08bce61 Not sure what recently broke with the dockerfile. Print Rust versions 2022-09-09 01:25:49 -04:00
Brandon Thomas 3b3603d7cf How did I forget to include the lock file? ugh. 2022-09-09 01:09:44 -04:00
Brandon Thomas ab0180a591 Update s3 bucket client to respect timeout arg 2022-09-09 00:45:44 -04:00
Brandon Thomas 40e92a1b24 Use no-op Redis status logger optionally 2022-09-08 15:22:52 -04:00
Brandon Thomas bf9bc013df New dynamic job progress reporter with no-op version 2022-09-08 14:56:35 -04:00
Brandon Thomas 4a58f49d3d kill pending jobs 2022-09-04 21:34:50 -04:00
Brandon Thomas da7270e058 Queries to investigate service load, etc. 2022-09-04 19:22:02 -04:00
Brandon Thomas 420a2c8b40 fix gravatar test 2022-09-01 23:49:17 -04:00
Brandon Thomas d1e261e633 no longer fail tests (timebomb bump) 2022-09-01 23:43:31 -04:00