LINE Pay integrations

Prev Next

Available in Classic and VPC

Before integrating with LINE Pay, complete the following steps:

  • Integrate with LINE Messenger
  • Check the information required for LINE Pay API integration
    • Channel ID
    • Channel Secret Key

Check the information required for LINE Pay API integration

  1. Access LINE Payand complete the LINE Pay merchant application.
  2. Once the merchant application is approved, a LINE Pay ID is issued.
    • LINE_Pay_ID@line.pay
  3. Log in to the Merchant Center with the issued ID. Click Payment Integrations Management > Integrations Key Management.
  4. Copy the Channel ID and Channel Secret Key.
    • Required values for LINE Pay integration
  5. Click Payment Integration Management > Payment Server IP Management.
  6. Register the payment server IP as a whitelist IP.
    chatbot-chatbot-6-3_01_ko

LINE Pay integration settings

To integrate LINE Pay with your chatbot in the Chatbot Builder:

  1. Complete the preliminary tasks.
    • Integrate with LINE Messenger
    • Check the information required for LINE Pay API integration
  2. In the NAVER Cloud Platform console, navigate to i_menu > Services > AI Services > CLOVA Chatbot > Domain.
  3. Click [Run builder] of the domain you want to run the Chatbot Builder.
  4. In the Chatbot Builder, click Chatbot Setting > [Service Integration] tab.
  5. Click [Integrate] of LINE PAY.
  6. In the service integration window, enter the Channel ID and Channel Secret.
  7. In Step 3, enter the URL to which the payment completion result will be sent.
  8. Enter the response messages for payment success, failure, and rejection.
    • If the LINE Pay action method is called from another messenger, the integration failure message is displayed.
  9. Click [Integrate].

Create a LINE Pay action method

To connect LINE Pay in the chatbot service, you must create an action method. We offer two payment methods: Input-based, which allows payment by entering a set amount, and 'API-linked,' which retrieves and confirms the price via an integrated API for payment. If you use the API integration type, the APIs you specify must return the request body in the format described below.
See LINE PAY in the Action Method Guide for instructions on how to create a LINE Pay action method.

{
  "productName": "product name",
  "amount": 0,
  "currency": "JPY"
}

Create a LINE Pay–linked conversation

  • In the response of the conversation where you want to connect LINE Pay, enter the action method to complete the payment service setup.
    chatbot-chatbot-6-3_02_ko

  • When registering a LINE Pay action method in the form, you must select Service integration > Payment service only to ensure accurate aggregation results in the integrated metrics. (TODO: Edit images)
    chatbot-chatbot-6-3_03_ko