Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: invoices without payment methods made in the past are always created as failed; they should be pending #358

Open
doctorpangloss opened this issue May 28, 2024 · 1 comment

Comments

@doctorpangloss
Copy link

Describe the bug

BillSubscriptionJob.perform_later([subscription], timestamp)

on seemingly any past timestamp show up as failed in the UI.

To Reproduce
Create a subscription with an expected payment date in the past. Create an invoice at or between that date and the current date. Observe the UI shows the invoice as failed.

Expected behavior
If payments are manual, the invoice should show always show as pending.
If payments are automatic and the payment period + grace period have not elapsed, the invoice should show as pending.

Support
Version: 1.2.1

@jdenquin
Copy link
Contributor

@doctorpangloss do you have any payments linked to this invoice? What's the status of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants