You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
phoenixd-mock: /decodeinvoice returns no paymentHash, so payment-adapter 0.17.2 RECEIVE lookups fail #67
payment-adapter 0.17.2 now looks up RECEIVE quotes by calling phoenixd /decodeinvoice. The staging phoenixd-mock answers without a paymentHash, so each lookup fails as unavailable.
On staging, after the 2026-10-05 deploy (16:09-16:17Z), this caused:
44 phoenixd_lookup_failed across 10 quotes;
22 mint 500s;
a brief MintCircuitBreakerFlapping alert and a brief CashuMintSlowTasks alert. Both cleared by 16:28Z.
Fix
Make the mock's /decodeinvoice return paymentHash (and the other fields real phoenixd returns) for invoices it issued, matching the real phoenixd API response shape.
Acceptance
On staging with payment-adapter 0.17.2, a RECEIVE quote lookup succeeds against the mock.
There are no phoenixd_lookup_failed entries on a normal Sell or receive.
Fix: phoenixd-java #68 (merge 01ea3b9, v0.3.3): the mock's /decodeinvoice returns paymentHash, and it serves GET /payments/incoming/{hash}. Staging was pinned to it by imani-deploy #123 (7b3d24f).
Deployed: the staging phoenixd-mock container, together with payment-adapter on phoenixd-java 0.3.3 (payment-adapter#256, today 0.23.0 f3fc718a).
Verified (read-only, last 7 days):
The mint's /decodeinvoice -> /payments/incoming/<hash> lookups against phoenixd-mock:9740 all answered 200 (69/69).
0 phoenixd_lookup_failed in imani-mint-rest and in payment-adapter.
The mock logs show Created invoice payment_hash=…, then auto-settle, then Quote updated to PAID.
Activity
Merge pull request #68 from 398ja/fix/67-mock-decodeinvoice-payment-hash
tcheeric commentedon Oct 20, 2026
Fixed and verified on staging. Closing.
Fix: phoenixd-java #68 (merge 01ea3b9, v0.3.3): the mock's
/decodeinvoicereturnspaymentHash, and it servesGET /payments/incoming/{hash}. Staging was pinned to it by imani-deploy #123 (7b3d24f).Deployed: the staging
phoenixd-mockcontainer, together with payment-adapter on phoenixd-java 0.3.3 (payment-adapter#256, today 0.23.0f3fc718a).Verified (read-only, last 7 days):
/decodeinvoice->/payments/incoming/<hash>lookups againstphoenixd-mock:9740all answered 200 (69/69).phoenixd_lookup_failedin imani-mint-rest and in payment-adapter.Created invoice payment_hash=…, then auto-settle, thenQuote updated to PAID.Both acceptance points hold.