Skip to content

Automatic retries with exponential backoff for 429/5xx #2

Description

@Ashutosh0x

Problem

Transient 429/500/503 responses currently surface straight to the caller. Every mature payment SDK (Stripe, Adyen, Square) retries these safely.

Proposal

Acceptance criteria

  • Configurable maxRetries in the Furlpay constructor
  • Backoff with jitter, Retry-After respected
  • Tests with a mocked fetch: retry-then-succeed, exhaust-then-throw, no-retry-on-400

Metadata

Metadata

Assignees

No one assigned

    Labels

    dxDeveloper experiencehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions