Show
API - Generate Invoice QRIS PaymentDefinisiAPI ini digunakan untuk menampilkan Nominal Transaksi QRIS pada aplikasi Anda agar dapat digunakan oleh pengguna aplikasi untuk membayar/scan transaksi menggunakan metode QRIS. Nominal Transaksi berupa Total Transaksi yang akan dibayar dan harus ditentukan dari aplikasi Anda. Aplikasi Anda akan mendapatkan Konten QRIS ( Disarankan untuk menyimpan Konten QRIS ( Batas waktu kadaluarsa (expired) 30 menit semenjak QRIS ditampilkan. Saat Expired maka QRIS akan gagal saat di-scan oleh pengguna. Nominal Transaksi yang dapat digunakan untuk scan QRIS berbeda-beda minimal dan maksimalnya.
Maksimal jumlah transaksi biasanya adalah Rp 2.000.000 atau juga bisa lebih tergantung dari Jenis Akun pengguna disetiap aplikasi e-wallet. Request TypeGET URL
GET Parameters
success Responses example in json
Dalam Response diatas Anda akan mendapatkan Response Konten QRIS ( Invoice ID ( QRIS NMID (
Batas waktu kadaluarsa (expired) 30 menit (dalam WIB atau GMT+7) semenjak QRIS ditampilkan, Anda dapat memanfaatkan ( failed Responses example in json Invoicr is a free and open-source PHP invoice generator that is capable of churning out HTML, PDF, and DOCX invoices. It is a simple fuss-free package that will give developers a quick boost with their invoice generation needs. First, here are the download links and a quick “setup guide” for the impatient folks who don’t have the patience to read through everything. There is no “installation” involved, only a small hassle: Invoicr is released under the MIT License. You are free to use it for personal and commercial projects, and modify it as you see fit. On the condition that the software is provided “as-is”. There are no warranties provided and “no strings attached”. Code Boxx and the authors are not liable for any claims, damages, or liabilities. GitHub | SourceForge THE INVOICE TEMPLATESCREDITS & LIBRARIES USEDInvoicr is made possible with the following open source projects:
HOW TO USESo far so good? Let us now go through a quick crash course on how to use Invoicr.STEP 1) LOAD INVOICR LIBRARY
Start by including
the STEP 2) FEED INVOICE INFORMATION
This is probably the most “complicated” step, you need to use
STEP 3) CHOOSE A TEMPLATE & OUTPUT THE INVOICE
Finally, choose a template to use and output the invoice. CUSTOM TEMPLATEWant to build your own customized theme? It is actually pretty easy to do so… If you are unsure at any point, feel free to use the “default” simple.php template files as a reference. STEP 1) CREATE AN EMPTY PHP FILEStart by creating a new PHP file in the respective template folder – STEP 2) BUILD THE TEMPLATE2A) ACCESSING INVOICE INFORMATIONIn the template file, we can access the various invoice information previously set with
2B) HTML TEMPLATESTo create an HTML template, simply put all the HTML code into invlib/HTML/durian.php
2C) PDF TEMPLATESPDF generation is handled by MPDF, and it is capable of taking in HTML to generate PDF. invlib/PDF/durian.php
Check out the official MPDF documentation if you need more information. 2D) DOCX TEMPLATESPHPWord handles the DOCX generation, and it is the “unfriendliest” to work with… Just read through the official PHPWord documentation for more information. invlib/DOCX/durian.php |