-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Handling subscription renewals is not complete.
Currently bouncer/brinks is listening for and handling invoice.paid webhooks form stripe. When the invoice paid payload contains a new subscription end date this information is updated on a member's record.
What is missing
- Add an order for the subscription update. This is very important as the order table is used by bouncer to verify that a stripe event has not already been handled (
event id).- A difficulty with creating an order, is that order's are event-based, and there is no event aligned with this renewal. So this needs to be figured out.
- Determine if we are to add an allocation for the payment. The issue here being that there was no product purchased, it was a renewal of a subscription.
- The ui is okay with no order allocation off of an order
- What are we losing by not having the allocation there?
- To add an allocation we'll need to set a constant for the product code to use.