From 966ef24380bc25fb0f0a064358c802347cb965a3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 6 Sep 2026 19:00:32 -0700 Subject: LNURL auto-pay: budget presets + skip the review-screen flash on an armed pay. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (1) The auto-pay opt-in on a fixed-amount merchant pay was a single checkbox that stored "up to the amount you just paid". Replaced with preset budget buttons — 1000 / 5000 / 10000 / 100000 sats — so you set the ceiling deliberately; the chosen amount is what's stored on a successful pay. (2) An NFC tap into an already-armed auto-pay briefly flashed the review/confirm card (the "Getting a quote…" spinner) before advancing to pay. startArkLnPay now decides up front — from the invoice amount and the stored budget — whether it will auto-pay, and the view renders a centered paying screen straight away (matching the paid screen's layout so it morphs cleanly into it), never showing the review. You just see paying → paid. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01MGzU12QrAA4G6BYGzGVdXz --- src/i18n.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index dbc23f7..84e4b5b 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -914,6 +914,7 @@ const STR = { giftChainWarn: '⚠ This is a bearer link: whoever opens it can claim the gift, so share it privately. It funds a fresh on-chain wallet when claimed.', giftRetired: 'This gift link uses an older format that’s no longer safe to claim. Ask the sender to void it and create a new one.', lnAutopayOffer: 'Auto-pay {name} up to {n} next time', + lnAutopaySetLabel: 'Auto-pay {name} next time, up to:', lnPaySentTitle: 'Lightning payment sent', lnPaySentBody: 'The swap provider pays the invoice once the on-chain lockup confirms.', lnZapTitle: 'Zap over Lightning', -- cgit v1.2.3