	{"id":824,"date":"2023-05-21T19:18:21","date_gmt":"2023-05-21T11:18:21","guid":{"rendered":"https:\/\/manychat.com.hk\/?post_type=docs&#038;p=824"},"modified":"2023-05-21T19:18:21","modified_gmt":"2023-05-21T11:18:21","password":"","slug":"%e3%80%90%e8%a8%ad%e7%bd%ae%e6%a9%9f%e6%a2%b0%e4%ba%ba%e3%80%91%e5%a6%82%e4%bd%95%e9%80%a3%e6%8e%a5%e6%82%a8%e7%9a%84paypal%e8%b3%ac%e6%88%b6","status":"publish","type":"docs","link":"https:\/\/manychat.com.hk\/en\/docs\/%E8%A8%AD%E7%BD%AE%E6%A9%9F%E6%A2%B0%E4%BA%BA%E5%A6%82%E4%BD%95%E9%80%A3%E6%8E%A5%E6%82%A8%E7%9A%84paypal%E8%B3%AC%E6%88%B6\/","title":{"rendered":"[Setting Up Bots] How to Connect Your PayPal Account"},"content":{"rendered":"<p data-identifyelement=\"438\"><span>You can accept PayPal payments through Messenger. You need to connect an existing PayPal business account to access the \u201cBuy\u201d button in the process. To set up PayPal integration, you need to create a PayPal application to receive payments using the \u201cBuy\u201d button from ManyChat. Let's see how to do this and what needs to be set up within ManyChat and PayPal.<\/span><\/p>\n<p data-identifyelement=\"441\"><span>1\ufe0f\u20e3 Open<\/span><a href=\"https:\/\/www.paypal.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span>https:\/\/www.paypal.com<\/span><\/a><span>and log in to your business account. If you do not have a business account yet, you can create a new account on this website.<\/span><\/p>\n<p data-identifyelement=\"443\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039717649\/original\/Dwi1w7jNOpxeOHKXuOzpbTFQNNxpvkDtHA.png?1562318935\"><\/p>\n<p data-identifyelement=\"448\"><span>2\ufe0f\u20e3 When logging into your PayPal business account, open the website<\/span><a href=\"https:\/\/developer.paypal.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span>https:\/\/developer.paypal.com<\/span><\/a><span>. Click to log in using your business account<\/span><strong><span>to the dashboard<\/span><\/strong><span>:<\/span><\/p>\n<p data-identifyelement=\"452\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039717746\/original\/Pd-9MHTt7q1OsECFME9nQ1WNl4_QzqI6rw.png?1562318987\"><\/p>\n<p data-identifyelement=\"457\"><span>3\ufe0f\u20e3 Click on the \u201cDashboard\u201d tab and then click on \u201c&nbsp;<\/span><strong><span>My Apps &amp; Credentials<\/span><\/strong><span>&nbsp;\u201d, then click on \u201c&nbsp;<\/span><strong><span>Create App\u201d<\/span><\/strong><span>.<\/span><\/p>\n<p data-identifyelement=\"462\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039717827\/original\/MEXT6CJGobWV6l9C0PzWHvR2n-M4yn_L8A.png?1562319042\"><\/p>\n<p data-identifyelement=\"467\"><span>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.<\/span><\/p>\n<p data-identifyelement=\"467\"><em><span>Please note:<\/span><\/em><span>If you want to test the \u201cPayPal\u201d button, you need to create a separate app in \u201cSandbox\u201d mode<\/span><\/p>\n<p data-identifyelement=\"470\"><span>4\ufe0f\u20e3&nbsp;<\/span><strong><span>How to set up Webhooks.<\/span><\/strong><span>In the created application, click on<\/span><strong><span>Add to<\/span><\/strong>&nbsp;<strong><span>Webhook&nbsp;<\/span><\/strong><span>button.<\/span><\/p>\n<p data-identifyelement=\"474\"><span>\u2757\ufe0f&nbsp;<\/span><strong><span>If you do not do this, you will not be able to<\/span><\/strong><span><strong>&nbsp;in ManyChat<\/strong><strong>See&nbsp;&nbsp;<\/strong><\/span><strong><span>Order history<\/span><\/strong><strong><span>.<\/span><\/strong><\/p>\n<p data-identifyelement=\"484\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039717911\/original\/IgBTbLZLvE-fsqIK0kGHpKub97kwEA441A.png?1562319108\"><\/p>\n<p data-identifyelement=\"490\"><span>You need to create a Webhook using the following information:<\/span><\/p>\n<p data-identifyelement=\"491\"><strong><span>Webhook URL<\/span><\/strong><span>&nbsp;=&nbsp;<\/span><a href=\"https:\/\/manychat.com\/paypalwh\/webhook\/*%25PAGE_ID%25*\"><span>https:\/\/manychat.com\/paypalwh\/webhook\/*%PAGE_ID%*<\/span><\/a><\/p>\n<p data-identifyelement=\"494\"><strong><span>Event type<\/span><\/strong><span>&nbsp;= All event types<\/span><\/p>\n<ul data-identifyelement=\"496\">\n<li><strong><em><span>How to find your PAGE_ID:<\/span><\/em><\/strong><\/li>\n<\/ul>\n<p data-identifyelement=\"500\"><em><span>Open ManyChat with the page you want to connect to PayPal. View the URL link in the browser. The URL is in<\/span><\/em><em><span>fb&nbsp;<\/span><span>&nbsp;after,<\/span><span>\/&nbsp;<\/span><\/em><span><em>before&nbsp;&nbsp;<\/em><em>the part&nbsp;&nbsp;<\/em><\/span><em><span>&nbsp;is your PAGE_ID:<\/span><\/em><\/p>\n<p data-identifyelement=\"509\"><em><img decoding=\"async\" class=\"fr-fic fr-dii\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36045486311\/original\/EkxT22okQhx4NdvGy_JJ4mTunVCuE0BtCQ.png?1568491204\"><\/em><\/p>\n<p data-identifyelement=\"514\"><em><span>page_id contains only numbers (without fb and \/)<\/span><\/em><\/p>\n<p data-identifyelement=\"518\"><span>This Webhook is created for sandbox mode. Therefore, you need to switch the App status to \u201cLive\u201d and create the Webhook again to repeat this action.<\/span><\/p>\n<p data-identifyelement=\"519\"><span>To change the app status, simply click the \u201cLive\u201d tab and create the same Webhook:<\/span><\/p>\n<p data-identifyelement=\"520\"><img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039718020\/original\/40z-oTduWt9bxEc4rgf8-sHZJkRku-dslg.png?1562319187\"><\/p>\n<p data-identifyelement=\"522\"><strong><span>Watch the video to learn how to set up webhooks in PayPal:<\/span><\/strong><\/p>\n<p data-identifyelement=\"525\">\n<span class=\"fr-video fr-fvc fr-dvb fr-draggable\"><iframe loading=\"lazy\" class=\"fr-draggable\" src=\"https:\/\/www.youtube.com\/embed\/G2hsN_qrl6A?wmode=opaque\" width=\"640\" height=\"360\" frameborder=\"0\" sandbox=\"allow-scripts allow-forms allow-same-origin allow-presentation\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/span><\/p>\n<p data-identifyelement=\"531\"><span>5\ufe0f\u20e3 Last step.<\/span><span>Transfer the information to ManyChat Client_ID<\/span><span>for preview mode and actual payments. Open your app and then click the \u201cSandbox\u201d tab. Paste the PayPal Client_ID into the corresponding field in ManyChat:<\/span><\/p>\n<p data-identifyelement=\"533\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039719287\/original\/M6MPs4Bbzcvf4jvfiyvmLybW2aT39JN9yQ.png?1562319986\"><\/p>\n<p data-identifyelement=\"536\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039719304\/original\/EFs4DsSre6Aw9ORjyT1tiHR3zovfLOufaA.png?1562320013\"><\/p>\n<p data-identifyelement=\"540\"><span>1. Then click the \u201cLive\u201d tab. Paste the PayPal copy-paste Client_ID into another field in ManyChat:<\/span><\/p>\n<p data-identifyelement=\"541\">\n<img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039719394\/original\/Bn9JbK_YA1n0OyGR-XoV10rapsH7wyAi8Q.png?1562320064\"><\/p>\n<p data-identifyelement=\"546\"><img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039719422\/original\/dA2t6s3AqMzy7vU1ZW35DxrJ3xAcjelEnw.png?1562320083\"><\/p>\n<p data-identifyelement=\"550\"><span>2. 7\ufe0f\u20e3 After entering the required customer ID, simply click \u201cConnect PayPal Account,\u201d that's it. You can add the \u201cPurchase\u201d button to the flow!<\/span><\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib\" src=\"https:\/\/s3.amazonaws.com\/cdn.freshdesk.com\/data\/helpdesk\/attachments\/production\/36039721271\/original\/SOW-Q2cBtt_2DXryXVQ8rfr_MAzQgwnvfg.png?1562321412\"><\/p>\n<p data-identifyelement=\"554\">\n<span>3. You can also view articles on how to create a \"Purchase Button\" in the flow.<a href=\"https:\/\/support.manychat.com\/a\/solutions\/articles\/36000183951-how-to-create-buy-button\" target=\"_top\" rel=\"noreferrer noopener\">4. How to create a \u201cPurchase Button\u201d<\/a>:<\/span><a href=\"https:\/\/support.manychat.com\/a\/solutions\/articles\/36000183951-how-to-create-buy-button\" target=\"_top\" rel=\"noreferrer noopener\"><span>5. May 21, 2023\u201c<\/span><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u60a8\u53ef\u4ee5\u901a\u904eMessenger\u63a5\u53d7PayPal\u4ed8\u6b3e\u3002\u60a8\u9700\u8981\u9023\u63a5\u73fe\u6709\u7684PayPal\u5546\u696d\u5e33\u6236\u624d\u80fd\u8a2a\u554f\u6d41\u7a0b\u4e2d\u7684\u201c\u8cfc\u8cb7\u201d [&hellip;]<\/p>","protected":false},"author":20,"featured_media":0,"template":"","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"%%post_title%%","_seopress_titles_desc":"","_seopress_robots_index":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_eb_attr":"","_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true,"footnotes":""},"doc_category":[46],"doc_tag":[],"class_list":["post-824","docs","type-docs","status-publish","hentry","doc_category-manychat-basics"],"year_month":"2026-04","word_count":85,"total_views":"2092","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Michelle","author_nicename":"michelle","author_url":"https:\/\/manychat.com.hk\/en\/author\/michelle\/"},"doc_category_info":[{"term_name":"ManyChat Basics","term_url":"https:\/\/manychat.com.hk\/en\/docs-category\/manychat-basics\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/docs\/824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/users\/20"}],"version-history":[{"count":2,"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/docs\/824\/revisions"}],"predecessor-version":[{"id":4899,"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/docs\/824\/revisions\/4899"}],"wp:attachment":[{"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/media?parent=824"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/doc_category?post=824"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/manychat.com.hk\/en\/wp-json\/wp\/v2\/doc_tag?post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}