From a7f56c69d3edccd8d5355e5fb0e9cae7d3bc325b Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 19 Mar 2026 12:55:20 +0400 Subject: [PATCH] update: payment link --- apps/pay/src/routes.ts | 2 ++ apps/web/src/views/checkout.ejs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/pay/src/routes.ts b/apps/pay/src/routes.ts index 2f154d8..eb3ba7e 100644 --- a/apps/pay/src/routes.ts +++ b/apps/pay/src/routes.ts @@ -122,6 +122,7 @@ export const routes = new Elysia() expires_at: payment.expires_at, txs: [], qr_url: await fetchQrBase64(uri), + pay_uri: uri, coin_label: coinInfo.label, coin_ticker: coinInfo.ticker, }; @@ -171,6 +172,7 @@ export const routes = new Elysia() paid_at: payment.paid_at, txs: txs.map((t: any) => ({ txid: t.txid, amount: t.amount, confirmed: t.confirmed, detected_at: t.detected_at })), qr_url: await fetchQrBase64(uri), + pay_uri: uri, coin_label: coinInfo?.label, coin_ticker: coinInfo?.ticker, }; diff --git a/apps/web/src/views/checkout.ejs b/apps/web/src/views/checkout.ejs index 2b23bf2..43da6a0 100644 --- a/apps/web/src/views/checkout.ejs +++ b/apps/web/src/views/checkout.ejs @@ -108,7 +108,7 @@ <% } else if (inv.status !== 'paid') { %>
- QR Code + QR Code
<% } %>