gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-www] branch stable updated (954dd3d -> 3402245)


From: gnunet
Subject: [GNUnet-SVN] [taler-www] branch stable updated (954dd3d -> 3402245)
Date: Mon, 13 Aug 2018 08:26:57 +0200

This is an automated email from the git hooks/post-receive script.

shivam-kohli pushed a change to branch stable
in repository www.

    from 954dd3d  use new logo for video thumbnails
     add d6aadaf  fix py import issue
     add c4ab407  gsoc 2018- codeless payment
     add 71a7b3f  typo
     add c5675ae  improved gsoc 2018:codeless payment
     add 3b59074  polished gsoc-codeless
     add 906e70d  shipment screenshot added in gsoc codeless
     add 3402245  added conclusion in gsoc-codeless

No new revisions were added by this update.

Summary of changes:
 common/navigation.j2.inc  |   1 +
 gsoc-codeless.html.j2     | 135 ++++++++++++++++++++++++++++++++++++++++++++++
 images/UseCaseDiagram.png | Bin 0 -> 474521 bytes
 images/home.png           | Bin 0 -> 329764 bytes
 images/product.png        | Bin 0 -> 296876 bytes
 images/shipment.png       | Bin 0 -> 144305 bytes
 template.py               |   1 +
 7 files changed, 137 insertions(+)
 create mode 100644 gsoc-codeless.html.j2
 create mode 100644 images/UseCaseDiagram.png
 create mode 100644 images/home.png
 create mode 100644 images/product.png
 create mode 100644 images/shipment.png

diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index 005c46d..26a1674 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -14,6 +14,7 @@
           <li><a href="developers.html">{{ _("Developer Introduction") }} 
</a></li>
           <li><a href="copyright.html">{{ _("Copyright for Contributors") }} 
</a></li>
           <li><a href="bibliography.html">{{ _("Bibliography") }}</a></li>
+          <li><a href="gsoc-codeless.html">{{ _("Gsoc 2018: Codeless 
Payments") }}</a></li>
         </ul>
       </li>
     </ul>
diff --git a/gsoc-codeless.html.j2 b/gsoc-codeless.html.j2
new file mode 100644
index 0000000..b5d5955
--- /dev/null
+++ b/gsoc-codeless.html.j2
@@ -0,0 +1,135 @@
+{% extends "common/base.j2" %}
+{% block body_content %}
+<div class="jumbotron">
+  <div class="container text-center">
+    <h1>{{ _("GSoC 2018: Codeless Payment") }}</h1>
+  </div>
+</div>
+
+<div class="container">
+  <div class="col-lg-12">
+    <h2 id="overview">{{ _("Overview") }}</h2>
+    <p>
+     {% trans %}
+        Codeless payment is a component that sits between the seller's 
frontend and the GNU Taler merchant backend. This component has a web 
interface, where payment buttons are configured. Registered merchants can 
manage their inventory and simultaneously create a 'Buy Now' button for a 
specific product. This code can be directly copy pasted on the seller's 
frontend and can be used for 'Pay with Taler'.
+     {% endtrans %}
+   </p>
+  </div>
+</div>
+
+<div class="container">
+ <div class="col-lg-6">
+    <h2 id="overview">{{ _("Use Cases") }}</h2>
+    <p>{{ _("The various use cases and features of codeless payment are:") 
}}</p>
+    <p>
+      <ul>
+        <li>
+             {% trans %}
+                  The primary use case is the registration of the merchant. 
The codeless payment backend provides a secure django authenticated login to 
the merchant. The registered merchant can add inventory (both digital as well 
as physical) in their stocks. They can manage inventory and simultaneously 
create a 'Buy Now' button for the product. The merchant also monitors the 
orders placed and updates the status of the order which helps in shipment 
tracking.
+             {% endtrans %}
+        </li>
+        <li>
+             {% trans %}
+                  Merchant has the flexibility to add two types of inventory 
as follows:
+                  <ul>
+                    <li>The merchant can upload digital inventory (like a PDF 
or HTML page) via the codeless payments frontend and the user can then purchase 
it and view the version hosted by the codeless payment frontend.</li>
+                    <li>The merchant can add any physical inventory available 
in his stocks. While adding these inventory, the seller is prompted to add 
minimum quantity of product that is required to be maintained in the stock. 
Whenever the stocks run below this limit the seller would be notified 
(currently this feature has not been added but soon email notification would be 
added).</li>
+                  </ul>
+             {% endtrans %}
+        </li>
+        <li>
+             {% trans %}
+                  The buyers will access the seller's frontend where the code 
for the 'Buy Now' button is present. When this button is triggered, they are 
redirected to codeless payment backend and eventually redirected to the payment 
page. After successful payment, the buyer can also track their shipment for 
physical products or view the digital version hosted by the codeless payment 
frontend.
+             {% endtrans %}
+        </li>
+        <li>
+             {% trans %}
+                  The other use case of the codeless payment backend is to 
handle the event when the 'Buy Now' button is triggered on the seller's 
frontend. To perform the payment the backend communicates with merchant backend 
api. After successful payment, the users are redirected to the fulfilment page.
+             {% endtrans %}
+        </li>
+      </ul>
+    </p>
+    <h2 id="overview">{{ _("Dynamic Merchant Instance") }}</h2>
+      <p>The documentation for the API to dynamically manage merchant instance 
can be found <a 
href="https://docs.taler.net/api/api-merchant.html#dynamic-merchant-instance";>here</a>.</p>
+ </div>
+  <div class="col-lg-6">
+    <img src="{{ url('images/UseCaseDiagram.png') }}" alt="{{ _("Use Case 
Diagram")}}" style="float: right; margin: 5px 5px 5px 5px;" width="100%">
+  </div>
+</div> <!-- /container -->
+
+<div class="container-fluid c_acronym">
+  <div class="container">
+    <h2 id="documentation">{{ _("Link to the contributions made") }}</h2>
+    <p>
+      </p><ul>
+        <li>{{ _("Codeless Payment Backend") }}
+          (<a href="https://git.taler.net/codeless.git/";>Link</a>)</li>
+        <li>{{ _("Documentation to dynamically manage Merchant Instances") }}
+          (<a 
href="https://git.taler.net/api.git/commit/?id=53b3fbc3a882975b4ca8ef70d7ae256c9c17a23e";>Link</a>)</li>
+      </ul>
+    <p></p>
+  </div>
+</div>
+
+<div class="container">
+ <div class="col-lg-12">
+    <h2 id="overview">{{ _("Future Work") }}</h2>
+
+    <p>{{ _("The backend of codeless payment is very robust and can be easily 
extended as per the requirements. It is adaptive to add new features to this 
framework. But as per the discussion and the scope of this project, there are 
various features that will be soon added in the Codeless Merchant Backend. The 
list of future work is as follows:") }}</p>
+    <p>
+      <ul>
+
+        <li>
+             {% trans %}
+                  To send email notification to the merchant when the stocks 
run below a certain limit. The minimum quantity required to be maintained in 
the stocks is currently taken from the merchant(specific to each product) but 
no such notification system is designed.
+             {% endtrans %}
+        </li>
+
+        <li>
+             {% trans %}
+                  To add API access to the merchant backend via the codeless 
payment service. Basically, it would be used as a hosting platform for multiple 
merchants. There would be an additional user interface part in the codeless 
payment service where a logged-in merchant can generate an API key. This API 
key can be used to access the functionality of the merchant backend in a 
controlled way. After requesting an API key, the page would display the 
generated key and a base URL for the  [...]
+             {% endtrans %}
+        </li>
+
+        <li>
+             {% trans %}
+                  Mapping every seller account to a separate merchant backend 
instance. This is not required for a simple version of codeless payments, but 
as soon as API access for sellers, this is a useful feature. The codeless 
payment service then can also double as a hosting service for merchants.
+             {% endtrans %}
+        </li>
+
+        <li>
+             {% trans %}
+                  To add various analytics for the merchant. Various analysis 
could be performed on the orders placed for the respective merchant. Some of 
the analysis that can be performed are displaying the most frequently purchased 
product, some insights about the shipment tracking, analysis of products based 
on delivery location, etc. For this part, dicussions and some more research 
have to be done before proceeding to the implementation.
+             {% endtrans %}
+        </li>
+
+      </ul>
+    </p>
+ </div>
+</div> <!-- /container -->
+
+<div class="container">
+  <div class="row">
+  <h2 id="documentation">{{ _("Screenshots") }}</h2>
+    <div class="col-lg-4">
+      <h3>Home page</h3>
+      <img src="{{ url('images/home.png') }}" height="240" align="middle">
+    </div>
+    <div class="col-lg-4">
+      <h3>Product page</h3>
+      <img src="{{ url('images/product.png') }}" height="240" align="middle">
+    </div>
+    <div class="col-lg-4">
+      <h3>Shipment Tracking</h3>
+      <img src="{{ url('images/shipment.png') }}" height="240" align="middle">
+    </div>
+  </div>
+</div>
+
+<div class="container">
+  <h2>{{ _("Conclusion") }}</h2>
+  {% trans %}
+  <p>Codeless payments were implemented by Shivam Kohli as part of GSoC 2018 
under the mentoring and guidance of Florian Dold.</p>
+  {% endtrans %}
+</div>
+{% endblock body_content %}
diff --git a/images/UseCaseDiagram.png b/images/UseCaseDiagram.png
new file mode 100644
index 0000000..b797666
Binary files /dev/null and b/images/UseCaseDiagram.png differ
diff --git a/images/home.png b/images/home.png
new file mode 100644
index 0000000..a8045f5
Binary files /dev/null and b/images/home.png differ
diff --git a/images/product.png b/images/product.png
new file mode 100644
index 0000000..b7aecf4
Binary files /dev/null and b/images/product.png differ
diff --git a/images/shipment.png b/images/shipment.png
new file mode 100644
index 0000000..3384406
Binary files /dev/null and b/images/shipment.png differ
diff --git a/template.py b/template.py
index f0d37da..eae04eb 100755
--- a/template.py
+++ b/template.py
@@ -16,6 +16,7 @@ import jinja2
 import glob
 import codecs
 import os
+sys.path.append(os.getcwd())
 import i18nfix
 
 env = 
jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]