- Print
- PDF
Linking with LINE Pay
- Print
- PDF
Available in Classic and VPC
The following tasks need be performed before setting up linkage with LINE Pay.
- Link LINE messenger
- Check required information for linking LINE Pay API
- Channel ID
- Channel Secret Key
Check required information for linking LINE Pay API
- Access pay.line.me and proceed with the LINE Pay merchant application.
- The following LINE Pay ID is created when the merchant application is completed.
- LINE_Pay_ID@line.pay
- Log in to the merchant center with the ID, and then click the Manage payment linkage > Manage connection key menus.
- Copy the channel ID and channel secret key.
- Required value for linking LINE Pay
- Click the Manage payment linkage > Manage payment server IP menus.
- Register the payment server IP as a whitelisted IP.
LINE Pay linkage settings
The following describes how to set up linkage between the chatbot and LINE Pay in the chatbot builder.
- Complete the preliminary preparation.
- Link LINE messenger
- Check required information for linking LINE Pay API
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain menus, in that order.
- Click the [Run builder] button of the domain you want to run the chatbot builder.
- From the chatbot builder, click Chatbot settings > [Link service] tab.
- Click the [Link] button of LINE Pay.
- In the Link service window, enter the channel ID and channel secret value.
- For how to check the values to enter, refer to Check required information for linking with LINE Pay API.
- Enter the URL where the payment complete result will be sent in the Step 3 area.
- Enter the response messages for when the payment has been successful, unsuccessful, and rejected.
- A linkage failure message is displayed when the LINE Pay action method is called by another messenger.
- Click the [Link] button.
Create LINE Pay action method
An action method must be created for LINE Pay connection in the chatbot service. The price input type is where you enter the specified price for payment, and the "API linkage type" is where you check the price with the linked API for payment. You must send the form below to the input API when using the API linkage type.
For how to create the LINE Pay action method, refer to LINE Pay of the Action method guide.
{
"productName": "Product name",
"amount": 0,
"currency": "JPY"
}
Compose a LINE Pay connection conversation
Enter an action method in the answer of the conversation for which LINE Pay connection is desired to complete the payment service settings.
When the LINE Pay action method is registered to a form, Link service > Payment service only must be marked to allow you to check accurate aggregation results in the integrated indicators. (TODO: Change image)