Skip to content

Propagate payment lifecycle id through payment retries#175

Merged
R-M-Naveen merged 1 commit into
mainfrom
naveen/payment-lifecycle-id
Jun 2, 2026
Merged

Propagate payment lifecycle id through payment retries#175
R-M-Naveen merged 1 commit into
mainfrom
naveen/payment-lifecycle-id

Conversation

@R-M-Naveen
Copy link
Copy Markdown
Member

Summary

  • carry the payment request id from 402 challenges into retry headers
  • include that lifecycle id in settle and follow-up charge payloads
  • expose request-context helpers so resource servers can share one id across settlement and charge

Tests

  • npm test -w @atxp/server -- src/protocol.test.ts
  • npm test -w @atxp/client -- src/protocolHandler.test.ts
  • npm run build -w @atxp/server
  • npm run build -w @atxp/client
  • npm run build -w @atxp/express

@R-M-Naveen R-M-Naveen merged commit 2827140 into main Jun 2, 2026
1 check passed
@R-M-Naveen R-M-Naveen deleted the naveen/payment-lifecycle-id branch June 2, 2026 14:19
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.

1 participant