Skip to content

Handle export of zero cost transactions #681

@nitro2k01

Description

@nitro2k01

Accounting export of month 2025-10 failed:

Transactions and completed payments do not match, [(Transaction(id=20295, amount=0.00, status=Status.completed, created_at=2025-10-22 19:41:41), None), (Transaction(id=20296, amount=0.00, status=Status.completed, created_at=2025-10-22 19:42:13), None)]

I believe the cause of this to be that both of the listed transactions are sales of an item with the cost set to zero at the time of purchase. Which means there's no corresponding payment in Stripe for obvious reasons.

https://admin.makerspace.se/sales/order/20295
https://admin.makerspace.se/sales/order/20296

A related thing to check is whether this also affects orders that have a zero cost due to a discount, for example the discount code used for subsidized material used in when holding courses.

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