> For the complete documentation index, see [llms.txt](https://docs.galaxypay.vn/upc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.galaxypay.vn/upc/payment-gateway/payment-solution/pay-with-qr.md).

# Pay with QR

A payment method where users utilize a banking app or e-wallet app that supported VietQR to scan the merchant's QR code (Quick Response code) to process the payment.

## Workflow

<figure><img src="/files/B4Lqiw0BcpbO27XrOZLt" alt=""><figcaption></figcaption></figure>

## Customer journey

{% file src="/files/4CszaHheVNX3BIyMQYd9" %}

### Description

{% hint style="info" %}
View information about terms/definitions in [Glossary](/upc/payment-gateway/appendix/glossary.md)
{% endhint %}

1. Customer completes order information and initiates a transaction with Payment method = QR PAYMENT.
2. Customer clicks "Submit" to proceeds to complete  the payment.

<figure><img src="/files/ezHb6tpq3Cwzp1Mibo6i" alt=""><figcaption></figcaption></figure>

3. The payment flow is launched, the user is navigated through a secured Galaxy Pay environment that reflects the transaction ID.

<figure><img src="/files/sbdgXpPPPeszKv28TLDm" alt=""><figcaption></figcaption></figure>

4. Galaxy Pay Payment's page show QR code and Transaction information.

<figure><img src="/files/bJ5u306Lp6klrSLfTsaN" alt=""><figcaption></figcaption></figure>

5. Customer scans the QR code and make payments with  a VietQR supported banking app or e-wallet.
6. The customer is shown (failed/successful) on merchant website based on the transaction status from Galaxy Pay.

<figure><img src="/files/3UReTUkiCBqnCgXV5qch" alt=""><figcaption></figcaption></figure>

## Benefits of Pay with QR

1. **Adaptable to All Business Sizes**: Whether it’s a large enterprise or a small business, QR payments can be tailored to meet diverse operational needs without requiring significant investment.
2. **High Security**: Transactions are encrypted and authenticated, ensuring customer data remains protected without requiring manual input or sensitive information disclosure.
3. **Faster Processing**: Enables quick payments by simply scanning a QR code, reducing checkout times and improving efficiency.
4. **Flexible Integration**: Can be seamlessly integrated into websites, mobile apps, in-store systems, and even billing platforms for a unified payment solution.

## Integration

See integration detail in [General integration steps](/upc/payment-gateway/payment-solution/general-integration-steps.md) and API fields in [Pay with QR](/upc/payment-gateway/api-specification/payment/pay-with-qr.md)

## Test Integration

*<mark style="color:orange;">**If you test QR Pay Payment in the UAT environment of Galaxy Pay,**</mark>* *you can test on* [QR Pay Test page](https://uat-demo.galaxypay.vn/VietQr-Test). *This page simulates scanning the QR code using a banking app or e-wallet app supported VietQR.*

1. Get the transaction ID and transaction amount.

<figure><img src="/files/RvVeGElZmuAUm7UdWSul" alt=""><figcaption></figcaption></figure>

2. Open [QR Pay Test page](https://uat-demo.galaxypay.vn/VietQr-Test) and enter the Transaction ID and transaction amount. Then click "Submit".

<figure><img src="/files/PHHdCvts92VCa3rJ1xe2" alt=""><figcaption></figcaption></figure>

3. Back to merchant website, the customer is shown (failed/successful) on merchant website based on the transaction status from Galaxy Pay.
