🪧3. Request payment
Call a payment window with required parameter values.
Once IMP object initialization is complete, you can open the payment window.
You can pass the parameters required to call the payment window in the first argument of the request_pay function.
Note - Creating an order ID (merchant_uid)
The order number must always be assigned a unique value when the payment window is requested.
After the payment process is complete, the server uses the order ID to retrieve the order information for payment fraud check. Be sure to create a unique ID on the merchant server and store it in the DB.
The following is the above sample code with the Pay button added.
sample.html
Last updated