โ‰๏ธFAQ

Frequently asked questions from merchants.

chevron-rightWebhook call ruleshashtag
  • Webhook is only sent once by default.

  • You can set to resend (retry) the webhook up to 5 times in 1 minute increments. i'mport will stop sending the webhook once the merchant responds with HTTP STATUS 200.

  • You can also manually resend the webhook from the Admin console. (Payment approvals -> Webhook log -> Resend)

  • If you change the webhook address, webhooks for past transactions are sent to the previous webhook URL.

chevron-rightProvision of comprehensive response code listhashtag

The error code and message in the payment response are the same as those sent by the source (PG). There is no comprehensive error code list because the response codes and messages differ by each PG linked with i'mport.

chevron-rightHow to distinguish between production account and developer accounthashtag

Single account for both production and test modes

Enter the merchant information for testing by clicking 'Add PG' from existing settings.

  • Pros: Can use the same Merchant ID and API key/secret for testing.

  • Cons: Care needs to be taken in setting/saving PGs because the settings are shared with the production account.

[Checklist]

To request payment with a specific Merchant ID for the same PG, you must specify the pg parameter as PG. Merchant ID.

Create a separate test-only account

You can create a developer account by signing up in the i'mport Admin page (https://admin.iamport.kr/arrow-up-right).

  • Pros: Enables stable testing by using separate accounts for production and development.

  • Cons: Requires source code branching due to having different Merchant ID and API key/secret for each account.

circle-info

For additional FAQs, refer to:

https://faq.iamport.kr/arrow-up-right

Last updated