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

Pass down kwargs to Invoice.pay() #1968

Merged
merged 5 commits into from
Aug 15, 2023
Merged

Conversation

arnav13081994
Copy link
Contributor

Fix: #1959

One can now retry invoices with specific kwargs if they wish to do so.

This was done so that kwargs can be passed down to
Invoice.pay()
This was done so that kwargs could be passed down to
Invoice.pay().
@arnav13081994
Copy link
Contributor Author

@jleclanche Due to non-existent migrations pre-commit is failing. I have verified that all tests are passing and this change is completely backwards compatible.

@jleclanche jleclanche merged commit f14755f into master Aug 15, 2023
2 of 8 checks passed
@jleclanche jleclanche deleted the feature/improve_invoice_retry branch August 15, 2023 19:47
jleclanche pushed a commit that referenced this pull request Aug 15, 2023
* Updated BaseInvoice.retry to accept kwargs

This was done so that kwargs can be passed down to
Invoice.pay()

* Updated Customer.send_invoice method

This was done so that kwargs could be passed down to
Invoice.pay().

* Formatting fix

* Updated docs
jleclanche pushed a commit that referenced this pull request Aug 15, 2023
* Updated BaseInvoice.retry to accept kwargs

This was done so that kwargs can be passed down to
Invoice.pay()

* Updated Customer.send_invoice method

This was done so that kwargs could be passed down to
Invoice.pay().

* Formatting fix

* Updated docs
jleclanche pushed a commit that referenced this pull request Aug 15, 2023
* Updated BaseInvoice.retry to accept kwargs

This was done so that kwargs can be passed down to
Invoice.pay()

* Updated Customer.send_invoice method

This was done so that kwargs could be passed down to
Invoice.pay().

* Formatting fix

* Updated docs

(cherry picked from commit e9c55b5)
jleclanche pushed a commit that referenced this pull request Apr 25, 2024
* Updated BaseInvoice.retry to accept kwargs

This was done so that kwargs can be passed down to
Invoice.pay()

* Updated Customer.send_invoice method

This was done so that kwargs could be passed down to
Invoice.pay().

* Formatting fix

* Updated docs
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.

Allow passing parameters to Invoice.retry()
2 participants