Skip to content

Implement payment retry logic - #112

Merged
AbdulmujibOladayo merged 1 commit into
Breedar:mainfrom
mftee:issue-58-payment-retry-logic
Sep 13, 2026
Merged

Implement payment retry logic#112
AbdulmujibOladayo merged 1 commit into
Breedar:mainfrom
mftee:issue-58-payment-retry-logic

Conversation

@mftee

@mftee mftee commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Adds a retry package with a configurable Policy for automatically retrying failed payment operations with a backoff delay between attempts.

Closes #58

@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

@mftee is attempting to deploy a commit to the abdulmujiboladayo's projects Team on Vercel.

A member of the Team first needs to authorize it.

@AbdulmujibOladayo AbdulmujibOladayo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good retry primitive — Policy.Do stops immediately on success, respects ctx cancellation during backoff instead of blocking past a cancelled context, and returns the last real error rather than a generic timeout. DefaultPolicy's 3 attempts / 2s backoff is a sensible default for payment retries.

@AbdulmujibOladayo
AbdulmujibOladayo merged commit 3a39b2f into Breedar:main Sep 13, 2026
2 of 3 checks passed
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.

Implement payment retry logic

2 participants