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

Invoice status processing is missing #36

Closed
kamermans opened this issue Oct 28, 2024 · 3 comments
Closed

Invoice status processing is missing #36

kamermans opened this issue Oct 28, 2024 · 3 comments

Comments

@kamermans
Copy link

I see that the Golang SDK and the API docs do not have the Invoice Status processing, but the normal documentation does say this status can exist: https://maxio-chargify.zendesk.com/hc/en-us/articles/5405078794253-Introduction-to-Invoices#invoice-statuses

Golang:

ab-golang-sdk/models/enums.go

Lines 2713 to 2718 in 4d92f5e

InvoiceStatus_DRAFT InvoiceStatus = "draft"
InvoiceStatus_OPEN InvoiceStatus = "open"
InvoiceStatus_PAID InvoiceStatus = "paid"
InvoiceStatus_PENDING InvoiceStatus = "pending"
InvoiceStatus_VOIDED InvoiceStatus = "voided"
InvoiceStatus_CANCELED InvoiceStatus = "canceled"

API Docs:
https://developers.maxio.com/http/advanced-billing-api/models/enumerations/invoice-status

Is it true that an invoice can be in the status processing?

@maciej-nedza
Copy link
Contributor

Hi @kamermans, thanks for reporting this issue. You’re correct—there is a processing invoice status currently missing from both the API documentation and the SDK, though it is available within the API. This status can appear for subscriptions using the direct debit payment method (GoCardless) while waiting for payment acknowledgment.

We’ll add this status to the API specification and SDK and will notify you once it’s done. Since it may take some time to coordinate the SDK release, could you let us know if this issue is blocking you, are you using the Go SDK and the Direct Debit payment method?

@kamermans
Copy link
Author

OK, thanks @maciej-nedza!
I don't use that payment method, so it's not blocking me at all.

@maciej-nedza
Copy link
Contributor

Fixed in v0.5.0.

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