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

Add expired status for paymentStatus #27

Merged
merged 2 commits into from
Jan 29, 2021
Merged

Conversation

hanerd
Copy link
Contributor

@hanerd hanerd commented Jan 29, 2021

Requests for payment time out after 31 (?) days and have a status of "expired.".

If you have an expired payment in your history, get_pay_payments method errors out with ValueError: 'expired' is not a valid PaymentStatus.

Adding the enum for expired payments resolves this.

Fixes: #28

get_pay_payments that were abandoned for greater than 31 days appear to have a status of "expired".  

This causes the get_pay_payments method to error out with `ValueError: 'expired' is not a valid PaymentStatus`.
@mmohades mmohades merged commit 38093b7 into mmohades:master Jan 29, 2021
This pull request was closed.
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

Successfully merging this pull request may close these issues.

expired status missing
2 participants