From 2c431709d3818e27dd4e5939e0cf24816c3237e0 Mon Sep 17 00:00:00 2001
From: Sander Roosendaal
Date: Sat, 22 Dec 2018 10:16:55 +0100
Subject: [PATCH 1/2] make button inactive when submitted
---
rowers/templates/braintreedropin.html | 9 +++++++++
rowers/templates/upgradeconfirm.html | 7 ++++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/rowers/templates/braintreedropin.html b/rowers/templates/braintreedropin.html
index 9ffe456b..aecd672b 100644
--- a/rowers/templates/braintreedropin.html
+++ b/rowers/templates/braintreedropin.html
@@ -23,3 +23,12 @@
});
});
+
+
diff --git a/rowers/templates/upgradeconfirm.html b/rowers/templates/upgradeconfirm.html
index 0776fccf..92c28ccd 100644
--- a/rowers/templates/upgradeconfirm.html
+++ b/rowers/templates/upgradeconfirm.html
@@ -91,7 +91,12 @@
cycle, you will be charged for a prorated amount. For example, when
you upgrade from a 15€ plan to a 65€ plan (a difference of
50€) in the 6th month of the 12 month billing cycle, you
- will be charged 35€.
+ will be charged 25€.
+
+
+ After you hit the Upgrade button, the transaction will be launched.
+ Please wait until the transaction completes. Do not click the
+ button twice. Do not close your browser window.
From a198ebbeaa31d0ce1c2d117057ccbb283b763c58 Mon Sep 17 00:00:00 2001
From: Sander Roosendaal
Date: Mon, 24 Dec 2018 14:12:52 +0100
Subject: [PATCH 2/2] notification email bug fix
---
rowers/tasks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rowers/tasks.py b/rowers/tasks.py
index a848cd37..784ad55a 100644
--- a/rowers/tasks.py
+++ b/rowers/tasks.py
@@ -833,7 +833,7 @@ def handle_send_email_subscription_update(
res = send_template_email(from_email,['info@rowsandall.com'],
'Subscription Update Notification',
- template_name,
+ notification_template_name,
d, **kwargs)
return 1