diff --git a/app/dashboard/views/pricing.py b/app/dashboard/views/pricing.py index 1320cb72..f9cf4a0c 100644 --- a/app/dashboard/views/pricing.py +++ b/app/dashboard/views/pricing.py @@ -80,8 +80,9 @@ def pricing(): @dashboard_bp.route("/subscription_success") @login_required def subscription_success(): - flash("Thanks so much for supporting SimpleLogin!", "success") - return redirect(url_for("dashboard.index")) + return render_template( + "dashboard/thank-you.html", + ) @dashboard_bp.route("/coinbase_checkout") diff --git a/templates/dashboard/pricing.html b/templates/dashboard/pricing.html index c8bb8989..b61409e8 100644 --- a/templates/dashboard/pricing.html +++ b/templates/dashboard/pricing.html @@ -210,5 +210,6 @@ to apply the coupon code. }); } + plausible("visit pricing"); {% endblock %} diff --git a/templates/dashboard/thank-you.html b/templates/dashboard/thank-you.html new file mode 100644 index 00000000..26e11bdd --- /dev/null +++ b/templates/dashboard/thank-you.html @@ -0,0 +1,19 @@ +{% extends "single.html" %} + +{% set active_page = "dashboard" %} +{% block title %}Thank you{% endblock %} +{% block single_content %} + +
+
+

Thanks so much for supporting SimpleLogin!

+

+ SimpleLogin is 100% funded by the community. + We do not use your data, track you or show you ads. +

+

Thanks to your support, we can keep the service running and develop new features.

+ Close +
+
+ +{% endblock %}