Search 1.9 billion lines of Odoo code on GitHub

pos_alipay

Author: IT-Projects LLC, Kolushov Alexandr
License: LGPL-3
Branch: 11.0
Repository: brain-tec/sync-addons
Dependencies: alipay, point_of_sale, pos_longpolling, pos_qr_payments, pos_qr_scan, pos_qr_show, and qr_payments
Languages: HTML (93, 11.2%), JavaScript (241, 29.1%), Python (356, 43.0%), XML (53, 6.4%), and reStructuredText (84, 10.2%)
Other branches: 11.0-exodus-19
Other repositories: AITIC/pos-addons, Alitec-sg/pos-addons, AndryEddy/pos-addons, BrayhanJC/pos-addons, ERPLibre/pos-addons, Enigma228322/pos-addons, KolushovAlexandr/pos-addons, KonosCL/pos-addons, TheCloneMaster/pos-addons, akekaphop/pos-addons, antherkiv/pos-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

<a class="reference external image-reference" href="https://itpp.dev"><img alt="Tested and maintained by IT Projects Labs" src="https://itpp.dev/images/infinity-readme.png" /></a> <a class="reference external image-reference" href="https://opensource.org/licenses/MIT"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"> </a> <a name="alipay-payments-in-pos"></a> <h2>Alipay Payments in POS</h2> <p>The module implements following payment workflows</p> <a name="barcode-payment"></a> <h3>Barcode Payment</h3> <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> <h3>QR Code Payment</h3> <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> <h4>Debugging</h4> <a name="scanning"></a> <h3>Scanning</h3> <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> <h3>Customer Screen</h3> <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> <h4>Roadmap</h4> <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="questions"></a> <h4>Questions?</h4> <p>To get an assistance on this module contact us by email :arrow_right: <a class="reference external" href="mailto:help&#64;itpp.dev">help&#64;itpp.dev</a></p> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li><a class="reference external" href="https://it-projects.info/team/KolushovAlexandr">Kolushov Alexandr</a></li> </ul> <hr class="docutils" /> <p>Odoo Apps Store: <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>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 <a class="reference external" href="https://github.com/odoo/odoo/commit/ee2b9fae3519c2494f34dacf15d0a3b5bd8fbd06">Odoo 11.0</a></p>