Repository navigation
refactor(payments): finish the ramp provider contract (HOO-2086) - #2492
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no actionable defects or rule violations were found. SummaryThe PR gives ramp adapters provider-specific credentials instead of the process environment.
No actionable issues were found. Tests were not run during this review. Acknowledgment: Reviews (1) · Last reviewed commit: "refactor(payments): finish the ramp prov..." · Reviewed by Greptile |
Windscar
left a comment
There was a problem hiding this comment.
Looks good. The ramp adapters now receive provider-specific credentials through the runtime contract.
Reviewed: credential and mode checks, provider calls, route and sweep handoffs, availability, and webhook boundaries.
What
Finishes ADR 0008 step 3 and closes HOO-2086: ramp adapters run on the contract alone, with their own keys and no process env.
RampRuntimeContextis{ mode, cluster, credentials };services/ramps/runtime.tsresolves keys for calls, availability, the sweep and discoverycheckCredentials) before any requestrampClientFor)Reviewer notes
MOONPAY_ONRAMP_URL/MOONPAY_OFFRAMP_URLare gone: widget hosts follow the mode. Dev infra still lists both names.Verification
STRIPE_SANDBOX_*keys yet🤖 Generated with Claude Code