diff --git a/res/static/img/coins.png b/res/static/img/coins.png new file mode 100644 index 0000000..82dd925 Binary files /dev/null and b/res/static/img/coins.png differ diff --git a/res/static/misc/MaterialIcons-Regular.ttf b/res/static/misc/MaterialIcons-Regular.ttf index 48c69b5..22db32c 100644 Binary files a/res/static/misc/MaterialIcons-Regular.ttf and b/res/static/misc/MaterialIcons-Regular.ttf differ diff --git a/res/template/home.html b/res/template/home.html index 001d56c..1a6d8e5 100644 --- a/res/template/home.html +++ b/res/template/home.html @@ -131,7 +131,9 @@
By purchasing a subscription you support pixeldrain on its mission to make content sharing easier, safer and faster for - everyone. + everyone. The standard subscription plans use Patreon for + payment processing. Check out our prepaid + plans if you would like to pay using cryptocurrencies.
Pixeldrain uses @@ -446,6 +448,30 @@ + +
+ You you need more bandwidth or storage space there's also + prepaid plans. For prepaid we charge a base rate of €1 per + month, the rest of the charges are usage based. We charge €4 per + TB per month for storage space and €2 per TB for bandwidth + usage. We accept Bitcoin, Lightning Network and Dogecoin + payments. +
++ If €4 per TB of storage is too much we also have plans with + cheaper storage and file expiry enabled. Your files will not + expire as long as they generate traffic, so this can be a viable + option if your files are accessed often. +
++ To use prepaid you need to register a pixeldrain account. After + logging in head to the transactions + page to deposit your coins. +
diff --git a/svelte/src/user_home/Transactions.svelte b/svelte/src/user_home/Transactions.svelte index f1c00d2..b525dc1 100644 --- a/svelte/src/user_home/Transactions.svelte +++ b/svelte/src/user_home/Transactions.svelte @@ -107,6 +107,7 @@ const load_invoices = async () => { }) invoices = invoices_tmp } catch (err) { + console.error(err) alert(err) } finally { loading = false @@ -170,7 +171,11 @@ onMount(() => { {#each invoices as row (row.id)} - {#if row.status === "InvoiceCreated" || row.status === "InvoiceProcessing" || show_expired} + {#if row.status === "New" || + row.status === "InvoiceCreated" || + row.status === "InvoiceProcessing" || + show_expired + }