Pay invoice {#if periodLabel} Billing period {periodLabel} {:else} Complete your payment to keep your relays running. {/if}

{amountLabel}

{#if paid}

Payment confirmed!

Thank you. Your account is up to date.

{:else} {#if items.length > 0} {/if}
{#if method === "lightning"} {#if bolt11Status === "idle" || bolt11Status === "loading"}
Generating invoice…
{:else if bolt11Status === "error"}

Unable to generate invoice

{bolt11Error}

{:else}

Scan with a Lightning wallet, or copy the invoice manually.

{/if} {:else}

Pay this invoice on Stripe's secure checkout. You'll be redirected and brought back here once it's done.

{/if} {/if}
{#if paid}
{:else} {#if method === "lightning"} {/if} {/if}