This Python script converts a static QRIS (Quick Response Code Indonesian Standard) into a dynamic QRIS, allowing users to input transaction amounts and optional service fees (in Rupiah or percentage). The script also generates a QR code image from the resulting dynamic QRIS data.
- Converts static QRIS to dynamic QRIS by adding transaction amounts.
- Supports optional service fees in either Rupiah or percentage format.
- Generates a QR code image for the dynamic QRIS.
- Calculates and appends a CRC16 checksum to the QRIS for data integrity.
- Python 3.x
- Required Python packages:
qrcode
-
Clone this repository or download the script file.
-
Install the required Python packages:
pip install qrcode[pil]
-
(Optional) You may also need to install the Pillow library if it's not installed automatically:
pip install pillow
Set your data on qris = "your qris"
git clone https://github.com/dpangestuw/Qris-Statis-to-Dinamis.git
cd Qris-Statis-to-Dinamis
python qris.py