Generate a Cambodian Bakong KHQR code, render it as a scannable image, and poll for payment.
ជំពូកនេះមិនទាន់ត្រូវបានបកប្រែជាភាសាខ្មែរនៅឡើយទេ — សូមអានជាភាសាអង់គ្លេសខាងក្រោម។
Cambodia's Bakong KHQR is a very different animal from a typical payment gateway integration: generating a KHQR code is an entirely offline operation, with no API call, no merchant account, and no signed request involved. The only network call in this whole flow is checking whether a generated code has actually been paid.
This series walks through the Individual-KHQR flow end to end — generating the code, displaying it as something a banking app can scan, and polling for payment — using the same honesty-over-completeness approach as this site's other tutorial series: what's confirmed against official docs is taught as confirmed, and what genuinely isn't written up yet (Merchant KHQR, going live, callbacks) is named as a gap rather than guessed at.