Skip to content

handlePaymentPaid might schedule new order items in the past #293

@sander3

Description

@sander3

#220

This just bit me, but if you're offering SEPA Direct Debit as a payment method to your customers you could end up with a resumed subscription + a duplicate payment for the last cycle.

scheduleNewOrderItemAt gets called with the subscription's ends_at timestamp, which might be in the past for people that cancelled while having a "open" payment.

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