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.
Questions?
To get an assistance on this module contact us by email apps@it-projects.info
Contributors
- Dinar Gabbasov
Odoo Apps Store: https://apps.odoo.com/apps/modules/11.0/pos_wechat_miniprogram/
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Point of Sale (point_of_sale)
• Inventory Management (stock) • Discuss (mail) |
| Community Apps Dependencies |
Show
•
POS Advanced Order Notes
• Sync restaurant orders • WeChat Payments in POS • WeChat mini-program API • POS restaurant base • Sync POS orders across multiple sessions • Disable payments in POS • Sync Server in POS • POS: Longpolling support • POS QR Showing in POS • QR Code Scanning in POS • QR-based payments in POS • WeChat API • QR-based payments |
| Lines of code | 9311 |
| Technical Name |
itp_pos_wechat_miniprogram |
| License | See License tab |
| Website | https://it-projects.info |
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