Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Correct the number of supporters #151

@justintmckibben

Description

@justintmckibben

Now that we have Gift A Meal, we're creating a new gift card for each "meal bought". If one person buys 20 meals, then we'd increase the number of supporters by 20. This inorganically inflates the number.

Instead, we should count the number of "Purchasers" on a PaymentIntent. However, something to keep in mind is if you make a donation to Shunfa, and make another donation to Shunfa a month later, I would think that that would count as two "supports".

I think you can just count PaymentIntents instead of counting Items

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions