Package: hkqr
hkqr pythonhkqr pythonis a python package for generating the data for Hong Kong Faster Payment System (FPS) which is a standard by Hong Kong Interbank Clearing Limited.
Detail standards is available athttps://fps.hkicl.com.hk/eng/fps/merchants/qr_code.phpThehkqr pythonpackage only deals with:Generating the string data of the QR Code. You are free to use any QR code libraries to generate the graphics on your chosen frontends.Currently support the generation QR Code with your Merchant ID withpriceandreference ID.Running hkqr in your Python programSupposed your Merchant ID is999999999999,and you would like to charge an amount of100with reference IDQR12345:from hkqr import HKQR
hkqr = HKQR('999999999999')
qrcode = hkqr.create_hkqr_code( 100, reference_id="QR12345")The Merchant ID can beaccount numberassigned by your FPS provider,phone numberore-mail.Make sure you test your code!Terms & ConditionsPlease read these terms and conditions carefully before usinghkqr python. By using this software, you agree to be bound by these terms and conditions.Acceptance of Terms
By usinghkqr python, you acknowledge that you have read, understood, and agreed to be bound by these terms and conditions. If you do not agree with any part of these terms and conditions, please refrain from using the software.No Warrantyhkqr pythonis 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 non-infringement. The developer(s) of [Your Open Source Python Package] make no warranty that the software will meet your requirements or that it will be error-free, reliable, or compatible with your operating system or other software.Limitation of Liability
In no event shall the developer(s) ofhkqr pythonbe liable for any damages, including but not limited to direct, indirect, special, incidental, or consequential damages or losses arising out of the use or inability to use the software, even if advised of the possibility of such damages. You assume all risks associated with the use of [Your Open Source Python Package].Indemnification
You agree to indemnify, defend, and hold harmless the developer(s) ofhkqr pythonfrom and against any claims, liabilities, damages, losses, or expenses, including attorney's fees, arising out of your use or misuse of the software or violation of these terms and conditions.Modification and Distribution
You are allowed to modify and distributehkqr pythonin accordance with the applicable open source licenses, provided that you include a copy of these terms and conditions with your distribution. However, you may not use the name of the developer(s) or [Your Open Source Python Package] to endorse or promote your modified version without prior written permission.Governing Law
These terms and conditions shall be governed by and construed in accordance with the laws of Hong Kong, the United States of America and United Kingdom. Any legal action or proceeding arising out of or relating to these terms and conditions shall be exclusively brought in the courts of [Your Jurisdiction].Entire Agreement
These terms and conditions constitute the entire agreement between you and the developer(s) ofhkqr pythonand supersede all prior or contemporaneous communications and proposals, whether oral or written, relating to the software.By usinghkqr python, you acknowledge that you have read, understood, and agreed to these terms and conditions. If you do not agree with any part of these terms and conditions, please refrain from using the software.hkqr pythonis an open source project. For more information, please visithttps://github.com/pulsely/hkqrCopyright and licenseThehkqr pythonis written by Pulselyhttps://www.pulsely.com/GPL LicenseCopyright 2023 Pulsely