# NICE Payments

## Authenticated payment

{% tabs %}
{% tab title="Test" %}

### **Test environment setup**

1. [i'mport Admin console](https://admin.iamport.kr)→ **Payment integration** → **Test settings** → Select PG (**NICE Payments**) → **NICE Payments** -> **Add**&#x20;
2. Check the auto-generated test MID value and click **Save**

> A payment is made on the i'mport test MID account.

![Payment integration → Test settings → Select PG (NICE Payments) → NICE Payments -> Add](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FTooyRYE150141milI84M%2Fimage.png?alt=media\&token=410d01c1-9cae-4ebf-bf4d-371df199e47d)

![Check the auto-generated MID value and click Save](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FpKWtoAHrbbfCkTVxn5Cr%2Fimage.png?alt=media\&token=b8373567-67c9-40cb-bc05-0b9deb91a702)

In NICE Payments test mode, the following payment methods are **not supported**.&#x20;

* &#x20;Credit card: NH card, KB Kookmin card&#x20;
* &#x20;Mobile micropayments: KT

{% hint style="info" %}
**Payments made in NICE Payments test mode are cancelled daily between 23:00\~23:50.**

Since cancelled transactions are not automatically reflected in i'mport, it is recommended that you submit a cancellation request after testing.
{% endhint %}
{% endtab %}

{% tab title="Live" %}

### Live environment setup

1. **Payment integration -> Live settings**
2. Select PG (**NICE Payments**) → **NICE Payments** -> **Add**
3. Enter merchant info issued by NICE Payments upon approval by the credit card company.

![ Payment integration -> Live settings](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FogdZzvLEYpjQpX2Igov8%2Fimage.png?alt=media\&token=0b07a386-72ec-47fa-a89b-a4d924ca6dc6)

![Select PG (NICE Payments) → NICE Payments -> Add](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FQPJh68KTnKlq9YMz8kFX%2Fimage.png?alt=media\&token=fa70e872-fa23-4b5a-b8e1-f28ad18cc5ac)

![Enter merchant info issued by NICE Payments upon approval by the credit card company](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FbfIh3NG7nOICjB7952hx%2Fimage.png?alt=media\&token=d05313a6-3f1b-4778-b9f4-4082a90e1b6a)

{% hint style="info" %}
**Precautions when using virtual accounts**

You must log in to the NICE Payments Admin page and set the **virtual account deposit notification URL**. (If omitted,  deposit will not be applied.)
{% endhint %}
{% endtab %}
{% endtabs %}

## Non-authenticated payment

i'mport currently **only supports API method** for NICE Payments non-authenticated payments.

{% tabs %}
{% tab title="API" %}

### **Test environment setup**

1. [i'mport Admin console](https://admin.iamport.kr)→ **Payment integration** → **Test settings** → Select PG (**NICE Payments**) → <mark style="color:red;">**NICE Payments API**</mark> -> **Add**&#x20;
2. Check the auto-generated test MID value and click **Save**

![Payment integration → Test settings → Select PG (NICE Payments) → NICE Payments API -> Add](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FvPeppsxmPA791tXZPPvx%2Fimage.png?alt=media\&token=b5f814e0-1251-475d-8cc5-c203f953503b)

![Check the auto-generated test MID value and click Save](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FMuTPlWuJXFYQAH8QHXcs%2Fimage.png?alt=media\&token=2a34b6a9-5b70-4244-88f2-e677f11ec0b5)

###

### Live environment setup

* **Payment integration -> Live settings**
* Select PG (**NICE Payments**) → <mark style="color:red;">**NICE Payments API**</mark> -> **Add**
* Enter merchant info issued by NICE Payments upon approval by the credit card company

![Payment integration -> Live settings](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2F863WRNV50EDgriHwJWn6%2Fimage.png?alt=media\&token=4ed1a2bf-d1a2-46c4-bc32-8b0b6a7ad3b2)

![Select PG (NICE Payments) → NICE Payments API -> Add ](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FojF6NDP1sajBfpabRaNe%2Fimage.png?alt=media\&token=588bd063-7386-447c-8cec-2d165559428f)

![Enter merchant info issued by NICE Payments upon approval by the credit card company](https://2814812280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTv8JEzyM5h4cYcL5StH%2Fuploads%2FQeY0a2LXtuXm4KGiGt8N%2Fimage.png?alt=media\&token=474d42e9-28ed-4119-92cc-2607fd521190)
{% endtab %}
{% endtabs %}
