# i'mport payment flow

## 1. Direct PG integration payment flow

![Direct PG integration payment flow](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2F4pynjLhzXftIAtbVHYpe%2Fdirect_pg_integration.png?alt=media\&token=f46322a2-73f8-4c9d-8371-69a07ec25b83)

> For direct PG integration, payment request processing generally involves **2 transactions**.
>
> 1. **Get authentication key** for payment request.
> 2. **Request payment**.
>
> This requires covering several backend development points, and facing a <mark style="color:red;">**triple challenge**</mark> of complex integration modules and sample pages and comprehending complex and inconvenient integration manuals.

## 2. i'mport payment flow

![i'mport payment flow](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2F6fBizsVgRxpNyQdZACuR%2Fiamport_flow.png?alt=media\&token=ce8b7ae9-72ff-4a41-8d41-6daaded770dd)

> For i'mport payment integration, the complex PG integration module part is handled by i'mport so that you can easily process payment without additional effort.
