> For the complete documentation index, see [llms.txt](https://dev.payon.com.kh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.payon.com.kh/how-to-implement/how-to-implement-qr-payment/web-base-implementation/step-1-prepare-to-read-khqr.md).

# Step 1: Prepare to read KHQR

* Developers shall check and test if the acquirer system can generate QR Code compliant with KHQR Speciﬁcation, or parse KHQR Code from PAYON's aggregator.

### How to generate/read KHQR?

This QR code can be generated via Bakong Mobile/Desktop app with Receive Function or by using Bakong page: [www.bakong.nbc.org.kh](https://bakong.nbc.org.kh/) . FIs can also use the API as presented detail in this link: KHQR API speciﬁcation

![Figure 01: PG Display QR Screen](https://3248127681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfVqIgxK8Sk7FYmeRNmqq%2Fuploads%2FE2akaaTn5kF7XchLgw5W%2FScreenshot%20from%202021-12-02%2010-02-20.png?alt=media\&token=31664b6d-1499-4251-b375-7ecf1904b643)

### Requirements&#x20;

#### Step 01 : Merchant create an order

* Create order at merchant side (eCommerce etc)&#x20;
* Send order information to  PAYON's PG.

#### Step 02: PAYON's create 3rd party payment invoice.

* 3rd party need to provide API for initialize transaction for QR payment
  * Register Payment Invoice at 3rd party system.
  * Return KHQR String from 3rd party system.

#### Step 03: Generate QR code

* Get QR  code string from 3rd party, then generate to QR code image display as [Figure 01](#how-to-generate-read-khqr).&#x20;

###

#### &#x20;
