diff --git a/manage_subscriptions/views.py b/manage_subscriptions/views.py index 4fb0fed..0059b55 100644 --- a/manage_subscriptions/views.py +++ b/manage_subscriptions/views.py @@ -342,7 +342,7 @@ class PrincipalSubscriptionDeleteView(LoginRequiredMixin, generic.View): class SubscriptionPageView(TemplateView): - template_name = "stripe/subscribe.html" + template_name = "stripe_html/subscribe.html" def get(self, request, *args, **kwargs): # Example of extracting the token from a query parameter or cookie diff --git a/templates/stripe_html/fail.html b/templates/stripe_html/fail.html new file mode 100644 index 0000000..cb6e03c --- /dev/null +++ b/templates/stripe_html/fail.html @@ -0,0 +1,13 @@ + + + + + + Goodtimes + + +

+ Payment Failed +

+ + \ No newline at end of file diff --git a/templates/stripe_html/subscribe.html b/templates/stripe_html/subscribe.html new file mode 100644 index 0000000..1b38896 --- /dev/null +++ b/templates/stripe_html/subscribe.html @@ -0,0 +1,51 @@ + + + + + + + Goodtimes + + + + + + +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/templates/stripe_html/success.html b/templates/stripe_html/success.html new file mode 100644 index 0000000..729847c --- /dev/null +++ b/templates/stripe_html/success.html @@ -0,0 +1,13 @@ + + + + + + Goodtimes + + +

+ Payment Successful +

+ + \ No newline at end of file