Skip to content

Using Line Massaging API

Setting up to send transfer notifications via Line Massaging API for the Plant3 theme involves the following steps:

Scroll to the Sales Page Setting and click the Payment Form button to enable Line Massaging.

The two main values required from Line are Group ID and Access Token.

Line Massaging API step 1 Line Massaging API step 1-2

Go to LINE Developers or visit the URL: https://developers.line.biz/en/

Log in and go to the Console section.

Line Massaging API step 2

Click the Create a new provider button to create a provider.

Line Massaging API step 3

Enter the desired Provider name and click the Create button.

Line Massaging API step 4

Create a Messaging API channel.

Line Massaging API step 5

Create a LINE Official Account.

Line Massaging API step 6

Verify your account via SMS.

Line Massaging API step 7

Select Thailand and enter your phone number, then click the Send text message button.

Line Massaging API step 8

Enter the code received via phone and click the Verify button.

Line Massaging API step 9

Once verified, click the Go back button.

Line Massaging API step 10

Fill in the registration information as per the steps.

Line Massaging API step 11

Select the Setting option as shown in the image.

Line Massaging API step 12

Select Messaging API and click the Enable Messaging API button.

Line Massaging API step 13

Select the provider you created and click the Agree button.

Line Massaging API step 14

Check the Account name and Provider name, then click the OK button.

Line Massaging API step 15

The Messaging API system has been successfully enabled.

Line Massaging API step 16

Select Channels and go to Messaging API as shown in the image.

Line Massaging API step 17

Go to Messaging API settings.

Line Massaging API step 18

Scroll down to the Channel access token section and click the Issue button.

At this step, you will obtain the Access Token to use as mentioned in step 1.

Line Massaging API step 19

Scroll down to the Webhook setting section and click the Edit button.

Line Massaging API step 20

Enable the feature using the green button as shown in the image, and obtain the Webhook URL.

Line Massaging API step 21

Go to Allow bot to join group chats and click the Edit button.

Line Massaging API step 22

Select Allow as shown in the image.

Line Massaging API step 23

Enter the Line Group where you want notifications to be sent. If there isn’t one, you can create a new Group and invite the Line Official account you created into the group.

Line Massaging API step 24

Once you have invited the Line Official account into the Line Group, go to the Webhook URL from step 21.

At this step, you will obtain the Group ID as shown in the image to use as mentioned in step 1.

Line Massaging API step 25

Ref: How to get group ID