QR CHECKOUT – INSTANT DOWNLOAD
No-account, no-database checkout for digital goods. Vietnamese buyers scan a VietQR code pre-filled with the amount and order code; international buyers pay by PayPal. They tap “I have paid”, attach a payment screenshot and get the download link at once. Running on gifs.vn.

What is in the pack
- Bank box shows a VietQR code pre-filled with amount and order code
- PayPal box shows the receiving email, a PayPal QR code and a pay button
- An “I have paid · Download now” button with a screenshot field under each box
- One tap reveals the download links; the owner reviews screenshots later
- One setting makes the screenshot mandatory
- Orders stored as JSON in a private folder, no database
- Vietnamese and English UI, recolour with 4 CSS variables
Set up in 3 steps
- Copy qr-tai-ngay.php and qr-tai-ngay.css to your site
- Edit 3 lines in vi-du.php: bank account, PayPal email, admin password
- Open vi-du.php and place a test order, or call the qtn_* functions from your own page
Good to know before buying
- Needs PHP 8.0+ with GD; on Nginx block the du-lieu-qtn folder yourself
- By default buyers can download after tapping the button without proof; turn on anh_bat_buoc for higher-priced items
- Keep sale files outside direct web access
- Lighter sibling of the PayPal + Vietnam bank QR module: no SQLite, no PayPal IPN