aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/views.py')
-rw-r--r--alphabetlearning/payments/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/alphabetlearning/payments/views.py b/alphabetlearning/payments/views.py
index e9f2ded..07a0177 100644
--- a/alphabetlearning/payments/views.py
+++ b/alphabetlearning/payments/views.py
@@ -40,6 +40,11 @@ stripe.api_key = settings.STRIPE_SECRET_KEY
class SuccessEmailSignupView(TemplateView):
template_name = "payments/success_email_signup.html"
+ def get_context_data(self, **kwargs):
+ context = super().get_context_data(**kwargs)
+ context['email'] = self.request.POST.get('email')
+ return context
+
def email_signup(request):
if request.method == 'POST':
email = request.POST.get('email')