You can accept PayPal payments through Messenger. You need to connect an existing PayPal business account to access the “Buy” button in the process. To set up PayPal integration, you need to create a PayPal application to receive payments using the “Buy” button from ManyChat. Let's see how to do this and what needs to be set up within ManyChat and PayPal.
1️⃣ Openhttps://www.paypal.comand log in to your business account. If you do not have a business account yet, you can create a new account on this website.

2️⃣ When logging into your PayPal business account, open the websitehttps://developer.paypal.com. Click to log in using your business accountto the dashboard:

3️⃣ Click on the “Dashboard” tab and then click on “ My Apps & Credentials ”, then click on “ Create App”.

This application has 2 modes - Sandbox mode (for testing) and Live mode (for real transactions). In the created app, you will need to set up Webhooks and transmit information to ManyChat Client_ID for preview mode and actual payments.
Please note:If you want to test the “PayPal” button, you need to create a separate app in “Sandbox” mode
4️⃣ How to set up Webhooks.In the created application, click onAdd to Webhook button.
❗️ If you do not do this, you will not be able to in ManyChatSee Order history.

You need to create a Webhook using the following information:
Webhook URL = https://manychat.com/paypalwh/webhook/*%PAGE_ID%*
Event type = All event types
- How to find your PAGE_ID:
Open ManyChat with the page you want to connect to PayPal. View the URL link in the browser. The URL is infb after,/ before the part is your PAGE_ID:

page_id contains only numbers (without fb and /)
This Webhook is created for sandbox mode. Therefore, you need to switch the App status to “Live” and create the Webhook again to repeat this action.
To change the app status, simply click the “Live” tab and create the same Webhook:

Watch the video to learn how to set up webhooks in PayPal:
5️⃣ Last step.Transfer the information to ManyChat Client_IDfor preview mode and actual payments. Open your app and then click the “Sandbox” tab. Paste the PayPal Client_ID into the corresponding field in ManyChat:


1. Then click the “Live” tab. Paste the PayPal copy-paste Client_ID into another field in ManyChat:


2. 7️⃣ After entering the required customer ID, simply click “Connect PayPal Account,” that's it. You can add the “Purchase” button to the flow!

3. You can also view articles on how to create a "Purchase Button" in the flow.4. How to create a “Purchase Button”:5. May 21, 2023“