+
Zap Photo
+
+ {{! Lightning address status }}
+
+ {{#if this.lnurlLoading}}
+ Loading lightning address...
+ {{else if this.lightningAddress}}
+
+ Lightning
+ {{this.lightningAddress}}
+
+ {{/if}}
+ {{#if this.lnurlError}}
+ {{this.lnurlError}}
+ {{/if}}
+
+
+ {{! Step: Select Amount }}
+ {{#if (eq this.step "select-amount")}}
+
+
+
+
+
+
+
+
+
+
+
+ {{/if}}
+
+ {{! Step: Fetching Invoice }}
+ {{#if (eq this.step "fetching-invoice")}}
+
+
+
Creating zap request and fetching invoice...
+
+ {{/if}}
+
+ {{! Step: Awaiting Payment }}
+ {{#if (eq this.step "awaiting-payment")}}
+
+ Scan to pay
+ {{this.formattedAmount}} sats
+
+
+
+
+
+
+ {{#if this.hasWebLN}}
+
+ {{else}}
+
+ Open in Lightning wallet
+
+ {{/if}}
+
+
+
+ {{#if this.paymentNotDetected}}
+
+ Payment not detected yet. Keep the QR code open and try paying
+ again, or use a different Lightning wallet.
+
+ {{/if}}
+ {{/if}}
+
+ {{! Step: Paying with Wallet }}
+ {{#if (eq this.step "paying-with-wallet")}}
+
+
+
Paying invoice with WebLN...
+
+ {{/if}}
+
+ {{! Step: Wallet Pay Error }}
+ {{#if (eq this.step "wallet-pay-error")}}
+
{{this.error}}
+
+ The WebLN payment failed. You can still scan the QR code with a
+ Lightning wallet.
+
+
+
+
+
+ {{/if}}
+
+ {{! Step: Success }}
+ {{#if (eq this.step "success")}}
+
+
⚡
+
Zap Sent!
+
+ You zapped
+ {{this.formattedAmount}} sats
+ {{#if this.message}}
+ with message: "{{this.message}}"
+ {{/if}}
+
+
+
+ {{/if}}
+
+ {{! Step: Error }}
+ {{#if (eq this.step "error")}}
+
{{this.error}}
+
+
+
+
+ {{/if}}
+
+