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:

1. Sales Page Setting

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

2. LINE Developers

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

3. Create a new provider

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

Line Massaging API step 3

4. Provider name

Enter the desired Provider name and click the Create button.

Line Massaging API step 4

5. Create a Messaging API channel

Create a Messaging API channel.

Line Massaging API step 5

6. Create a LINE Official Account

Create a LINE Official Account.

Line Massaging API step 6

7. SMS

Verify your account via SMS.

Line Massaging API step 7

8. LINE Business ID

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

Line Massaging API step 8

9. Verification code

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

Line Massaging API step 9

10. Go back

Once verified, click the Go back button.

Line Massaging API step 10

11. Register

Fill in the registration information as per the steps.

Line Massaging API step 11

12. Setting

Select the Setting option as shown in the image.

Line Massaging API step 12

13. Enable Messaging API

Select Messaging API and click the Enable Messaging API button.

Line Massaging API step 13

14. Select provider

Select the provider you created and click the Agree button.

Line Massaging API step 14

15. Enabling Messaging API

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

Line Massaging API step 15

16. Enabled Messaging API

The Messaging API system has been successfully enabled.

Line Massaging API step 16

17. Channels Messaging API

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

Line Massaging API step 17

18. Messaging API setting

Go to Messaging API settings.

Line Massaging API step 18

19. Access Token

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

20. Webhook setting

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

Line Massaging API step 20

21. Use Webhook

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

Line Massaging API step 21

22. Allow bot to join group chats

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

Line Massaging API step 22

23. Toggle Features

Select Allow as shown in the image.

Line Massaging API step 23

24. Line Group

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

25. Group ID

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