diff --git a/uncloud_pay/templates/uncloud_pay/register_stripe.html b/uncloud_pay/templates/uncloud_pay/register_stripe.html new file mode 100644 index 0000000..9fd82ae --- /dev/null +++ b/uncloud_pay/templates/uncloud_pay/register_stripe.html @@ -0,0 +1,68 @@ +{% extends 'uncloud/base.html' %} + +{% block header %} + + + +{% endblock %} + +{% block body %} +
+

Register Credit Card with Stripe

+

+ By submitting I authorise to send instructions to + the financial institution that issued my card to take + payments from my card account in accordance with the + terms of my agreement with you. +

+ + + + +
+ + +
The card will be registered with stripe.
+ +
+ + + +{% endblock %} diff --git a/uncloud_pay/templates/uncloud_pay/stripe.html b/uncloud_pay/templates/uncloud_pay/stripe.html deleted file mode 100644 index 775ed53..0000000 --- a/uncloud_pay/templates/uncloud_pay/stripe.html +++ /dev/null @@ -1,93 +0,0 @@ - -{% extends 'uncloud/base.html' %} - -{% block header %} - - - - - -{% endblock %} - -{% block body %} -
-

Registering Credit Card with Stripe

-

- By submitting I authorise to send instructions to - the financial institution that issued my card to take - payments from my card account in accordance with the - terms of my agreement with you. -

- - - - -
- - -
The card will be registered with stripe.
- -
- - - - - -{% endblock %} diff --git a/uncloud_pay/views.py b/uncloud_pay/views.py index 78a1a15..99d176e 100644 --- a/uncloud_pay/views.py +++ b/uncloud_pay/views.py @@ -51,7 +51,7 @@ class OrderViewSet(viewsets.ReadOnlyModelViewSet): class RegisterCard(LoginRequiredMixin, TemplateView): login_url = '/login/' - template_name = "uncloud_pay/stripe.html" + template_name = "uncloud_pay/register_stripe.html" def get_context_data(self, **kwargs):