Skip to content

Brinks: Add order on subscription renewal #115

@brettski

Description

@brettski

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions