From 86c4e7b4083435cbe14cff3642b42e2ded9ff26d Mon Sep 17 00:00:00 2001 From: deaspo Date: Wed, 5 Jul 2017 01:53:01 +0300 Subject: [PATCH 1/9] Task: Improve credit card section - letting the user know that they're not making any payment there but on the next page Signed-off-by: deaspo --- hosting/templates/hosting/payment.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/hosting/templates/hosting/payment.html b/hosting/templates/hosting/payment.html index a09061bb..d934acef 100644 --- a/hosting/templates/hosting/payment.html +++ b/hosting/templates/hosting/payment.html @@ -52,6 +52,10 @@

{%trans "Payment Details"%}


+
+

{% trans "Please fill in your credit card information below. We are using Stripe for payment and do not store your information in our database." %}

+
+
{% if credit_card_data.last4 %}
@@ -59,10 +63,10 @@
Last 4: *****{{credit_card_data.last4}}
Type: {{credit_card_data.cc_brand}}
-
+
-
{% else %} @@ -89,7 +93,7 @@ placeholder="{%trans "Valid Card Number"%}" required autofocus data-stripe="number" />
-
+
@@ -112,8 +116,12 @@
-->
-
- +
+
+

{% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %}

+
+
+

{%trans "Billing Address"%}

@@ -74,11 +74,11 @@
-
-
- -
-
+
+
+ +
+
@@ -117,12 +117,15 @@
-->

-
+

{% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %}

-
- -
+
+
+ +
+
+
{% else %} From efd90f8ddd2deb61969248f3a6c7f5e216a2fb78 Mon Sep 17 00:00:00 2001 From: Polycarp Okock Date: Sat, 8 Jul 2017 00:50:41 +0300 Subject: [PATCH 4/9] Removed the extra btn --- hosting/templates/hosting/payment.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hosting/templates/hosting/payment.html b/hosting/templates/hosting/payment.html index 12d3baea..f5780427 100644 --- a/hosting/templates/hosting/payment.html +++ b/hosting/templates/hosting/payment.html @@ -73,12 +73,7 @@
-
+
{% else %} From 37de810cc39cdc0279c87b31553f2c2a753acbd9 Mon Sep 17 00:00:00 2001 From: Polycarp Okock Date: Sat, 8 Jul 2017 01:39:53 +0300 Subject: [PATCH 5/9] Fixed the alignment issue --- hosting/templates/hosting/payment.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hosting/templates/hosting/payment.html b/hosting/templates/hosting/payment.html index f5780427..4f291fe8 100644 --- a/hosting/templates/hosting/payment.html +++ b/hosting/templates/hosting/payment.html @@ -123,12 +123,14 @@
-->

-
+
{% trans "You are not making any payment yet. After placing your order, you will be taken to the Submit Payment Page." %}

-
- -
+
+
+ +
+