Repeatpay: a plugin to handle recurring payments. - #9151
Open
rustyrussell wants to merge 11 commits into
Open
Conversation
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-EXPERIMENTAL: JSON-RPC: `repeatpay` to make ongoing payments of (draft) recurring offers: also `listrepeatpays`, `amendrepeatpay and `cancelrepeatpay` commands.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Changelog-EXPERIMENTAL: Added `repeatpay` plugin for handling payment of recurring offers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
I'll admit, I was going to add a list-sendpays-by-label, but Claude came up with "I'll get the invoice from the previous logs" which made me stop for a moment, but then sigh and allow it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
We covered the other path, missed this. So put it in save_payment() itself. Reported-by: Claude Sonnet 5. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…eeper. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell
force-pushed
the
guilt/repeatpay
branch
from
August 24, 2026 04:39
52e7539 to
93de123
Compare
Collaborator
Author
|
Rebased and a few fixes based on Claude's review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #9150[Merged!]This handles paying recurring payments:
repeatpay <invoice> <maxamount>thenlistrepeatpays,cancelrepeatpayandamendrepeatpay.Since recurring invoices are experimental, this is experimental.