Author: |
IT-Projects LLC, Kolushov Alexandr |
License: |
LGPL-3 |
Branch: |
11.0-qr-payments2 |
Repository: |
KolushovAlexandr/pos-addons |
Dependencies: |
alipay,
point_of_sale,
pos_longpolling,
pos_qr_payments,
pos_qr_scan,
pos_qr_show,
and
qr_payments |
Languages: |
HTML (93, 12.1%),
JavaScript (213, 27.7%),
Python (322, 41.9%),
XML (45, 5.9%),
and
reStructuredText (96, 12.5%) |
Other branches: |
11.0-pocr-kitchen_cancelled |
Other repositories: |
AITIC/pos-addons,
Alitec-sg/pos-addons,
AndryEddy/pos-addons,
BrayhanJC/pos-addons,
ERPLibre/pos-addons,
Enigma228322/pos-addons,
KonosCL/pos-addons,
TheCloneMaster/pos-addons,
akekaphop/pos-addons,
antherkiv/pos-addons,
brain-tec/sync-addons,
diegogd/pos-addons,
dynaz/pos-addons,
elsemieni/pos-addons,
em230418/pos-addons,
germanponce/pos-addons,
gokhancetiner/pos-addons,
itpp-labs/pos-addons,
itpp-labs/sync-addons,
keadanis/pos-addons,
mgielissen/pos-addons,
noorealam96/pos-addons,
robelale/pos-addons,
samsagaz/pos-addons,
trojikman/pos-addons,
yelizariev/pos-addons,
and
zulfikarm27/pos-addons |
<h1 class="title">Alipay Payments in POS</h1>
<p>The module implements following payment workflows</p>
<a name="barcode-payment"></a>
<h2>Barcode Payment</h2>
<ul class="simple">
<li>Cashier creates order and scan user's QR in user's Alipay mobile app<ul>
<li>scanning can be done via Mobile Phone camera (<code>pos_mobile</code> module is recommended)</li>
<li>scanning can be done via usb scanner</li>
<li>scanning can be done via usb scanner attached to PosBox</li>
</ul>
</li>
<li>User's receives order information and authorise fund transferring</li>
<li>Cashier gets payment confirmation in POS</li>
</ul>
<a name="qr-code-payment"></a>
<h2>QR Code Payment</h2>
<ul class="simple">
<li>Cashier clicks a button to get one-time url and shows it to Buyer as a QR Code<ul>
<li>QR can be shown in POS</li>
<li>QR can be shown in Mobile POS (<code>pos_mobile</code> module is recommended)</li>
<li>QR can be shown in Customer screen</li>
</ul>
</li>
<li>Buyer scans to finish the transaction.</li>
<li>Cashier gets payment confirmation in POS</li>
</ul>
<a name="debugging"></a>
<h3>Debugging</h3>
<a name="scanning"></a>
<h2>Scanning</h2>
<p>If you don't have camera or scanner, you can executing following code in browser console to simulate scanning:</p>
<pre>
<code>odoo.__DEBUG__.services['web.core'].bus.trigger('qr_scanned', '28763443825664394');</code>
</pre>
<a name="customer-screen"></a>
<h2>Customer Screen</h2>
<p>To emulate Customer screen do as following:</p>
<ul class="simple">
<li>run another odoo on a different port, say <code>9069</code>, workers 1, extra <em>server wide modules</em>, i.e. use <code>--workers=1 --load=web,hw_proxy,hw_posbox_homepage,hw_screen</code></li>
<li>open page at your browser: <a class="reference external" href="http://localhost:9069/point_of_sale/display">http://localhost:9069/point_of_sale/display</a> -- you must see message <code>POSBox Client display</code></li>
<li>at POS' Settings activate <code>[x] PosBox</code>, activate <code>[x] Customer Display</code> and set <strong>IP Address</strong> to <code>localhost:9069</code></li>
<li>Now just open POS</li>
</ul>
<a name="roadmap"></a>
<h3>Roadmap</h3>
<ul class="simple">
<li>TODO: In sake of UX, we need to add <code>alipay_order_id</code> reference to <code>account.bank.statement.line</code></li>
</ul>
<a name="credits"></a>
<h3>Credits</h3>
<a name="contributors"></a>
<h2>Contributors</h2>
<ul class="simple">
<li><a class="reference external" href="https://it-projects.info/team/KolushovAlexandr">Kolushov Alexandr</a></li>
</ul>
<a name="sponsors"></a>
<h2>Sponsors</h2>
<ul class="simple">
<li><a class="reference external" href="https://it-projects.info">IT-Projects LLC</a></li>
</ul>
<a name="maintainers"></a>
<h2>Maintainers</h2>
<ul>
<li><p class="first"><a class="reference external" href="https://it-projects.info">IT-Projects LLC</a></p>
<blockquote>
<p>To get a guaranteed support you are kindly requested to purchase the module at <a class="reference external" href="https://apps.odoo.com/apps/modules/11.0/pos_alipay/">odoo apps store</a>.</p>
<p>Thank you for understanding!</p>
<p><a class="reference external" href="https://www.it-projects.info/team">IT-Projects Team</a></p>
</blockquote>
</li>
</ul>
<a name="further-information"></a>
<h3>Further information</h3>
<p>Demo: <a class="reference external" href="http://runbot.it-projects.info/demo/pos_addons/11.0">http://runbot.it-projects.info/demo/pos_addons/11.0</a></p>
<p>HTML Description: <a class="reference external" href="https://apps.odoo.com/apps/modules/11.0/pos_payment_alipay/">https://apps.odoo.com/apps/modules/11.0/pos_payment_alipay/</a></p>
<p>Usage instructions: <a class="reference external" href="doc/index.rst">doc/index.rst</a></p>
<p>Changelog: <a class="reference external" href="doc/changelog.rst">doc/changelog.rst</a></p>
<p>Notifications on updates: <a class="reference external" href="https://github.com/it-projects-llc/pos-addons/commits/11.0/pos_alipay.atom">via Atom</a>, <a class="reference external" href="https://blogtrottr.com/?subscribe=https://github.com/it-projects-llc/pos-addons/commits/11.0/pos_alipay.atom">by Email</a></p>
<p>Tested on Odoo 11.0 ee2b9fae3519c2494f34dacf15d0a3b5bd8fbd06</p>