v 11.0 Third Party
You bought this module and need support? Click here!

POS: WeChat Mini-program

Integrate POS with WeChat mini-program

Verification mobile number

Use the mobile phone number specified in your WeChat account.:

authByWeChat: function (e) {
    var detail = e.detail;
    var params = {
        model: 'res.users',
        method: 'wechat_mobile_number_verification',
        args: [detail],
        context: {},
        kwargs: {}
    };
    odooRpc(params).then(function (res) {
        wx.setStorageSync('telephoneNumberVerified', res.result);
    })
}

Payments

Pay via WeChat mini-program

TODO

Pay via POS

TODO

Roadmap

  • TODO: need to do something with warnings like this: pos.miniprogram.order.line.create() includes unknown fields: category, description
  • TODO: uncomment test_create_without_pay_from_miniprogram_ui and make it work. It fails for some reason.

Credits

Contributors

  • Dinar Gabbasov

Sponsors

  • Sinomate

Maintainers

  • IT-Projects LLC

    To get a guaranteed support you are kindly requested to purchase the module at odoo apps store.

    Thank you for understanding!

    IT-Projects Team

Further information

Demo: http://runbot.it-projects.info/demo/pos_addons/11.0

HTML Description: https://apps.odoo.com/apps/modules/11.0/pos_wechat_miniprogram/

Usage instructions: doc/index.rst

Changelog: doc/changelog.rst

Tested on Odoo 11.0 ee2b9fae3519c2494f34dacf15d0a3b5bd8fbd06

POS: WeChat Mini-program

Follow instructions of WeChat API module.

Installation

  • Install this module in a usual way

Configuration

WeChat mini-program Journals

WeChat mini-program Journals are created automatically on first opening new POS session.

  • In demo installation: they are availabe in POS immediatly
  • In non-demo installation: add Journals to Payment Methods in Point of Sale's Settings, then close existing session if any and open again

Usage

Generate mini-program QR Codes for tables of restaurant

  • Go to [[ Point of Sale ]] >> WeChat mini-program >> QR Code
  • Specify Floor
  • Specify Quantity - quantity of QR codes for each table
  • Specify Tables of the Floor
  • Click on [Print]
  • RESULT: You will get a PDF report with QR codes.

Usage of POS

  • Go to [[ Point of Sale ]] >> Configuration >> Point of Sale
  • Open POS form
  • Click on [Edit]
  • Specify Allow receiving messages
  • Specify Auto Print miniprogram Orders
  • Click on [Save]
  • Open POS session
  • Create Order from WeChat mini-program and pay via mini-program
  • Click Validate in the POS for confirming the Order
  • Create new Order from WeChat mini-program without pay
  • Click Payment in the POS for payment the Order
The MIT License (MIT)

Copyright 2020 IT-Projects Labs
Copyright 2015-2020 IT-Projects LLC
Copyright 2014-2015 Ivan Yelizariev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.