{"id":1276,"date":"2024-09-17T22:43:32","date_gmt":"2024-09-17T22:43:32","guid":{"rendered":"https:\/\/notificationsformercadopago.com\/?page_id=1276"},"modified":"2025-01-16T22:48:57","modified_gmt":"2025-01-16T22:48:57","slug":"how-to-set-up-subscriptions-notifications","status":"publish","type":"page","link":"https:\/\/notificationsformercadopago.com\/en\/guides\/how-to-set-up-subscriptions-notifications\/","title":{"rendered":"How to set up Subscriptions Notifications"},"content":{"rendered":"<p>To receive notifications about subscriptions and recurrent payments, in addition to creating the plans through our application, it is necessary to configure the webhook in the Mercado Pago app. This step is required because, at the moment, Mercado Pago does not allow us to set it up when creating the plan.<\/p>\n<p><strong>Prerequisites:<\/strong><\/p>\n<ul>\n<li>Create a Mercado Pago application<\/li>\n<li>Create a connection with the Mercado Pago application in the Connections section<\/li>\n<\/ul>\n<p>You can read how to make this connection in the <a href=\"https:\/\/notificationsformercadopago.com\/guias\/how-to-connect-mercado-pago-account\/\">Guide on how to connect Mercado Pago<\/a>.<\/p>\n<h3>Webhook Configuration<\/h3>\n<p>Once the connection with Mercado Pago is established, it will be listed in the Connections section. To configure the webhook, you need to copy the URL included in the connection under the name &#8220;Webhook URL for Mercado Pago&#8221;. This is shown in the following image within the red box:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1280 aligncenter\" src=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection.png\" alt=\"\" width=\"485\" height=\"607\" srcset=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection.png 858w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-768x961.png 768w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-96x120.png 96w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-192x240.png 192w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-288x360.png 288w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-383x480.png 383w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-655x820.png 655w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/09\/mp-conection-831x1040.png 831w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/p>\n<p>Next, you should access the Mercado Pago dashboard using the following url: <a href=\"https:\/\/www.mercadopago.com\/developers\">https:\/\/www.mercadopago.com\/developers<\/a><\/p>\n<p>Once you log in, open the settings of the created application, and find the &#8220;Webhooks&#8221; section as shown in the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1019 aligncenter\" src=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39.png\" alt=\"\" width=\"979\" height=\"542\" srcset=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39.png 2980w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-768x425.png 768w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-1536x850.png 1536w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-2048x1134.png 2048w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-120x66.png 120w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-240x133.png 240w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-360x199.png 360w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-480x266.png 480w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-820x454.png 820w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-21.00.39-1040x576.png 1040w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/p>\n<p>In this section, you must add the &#8220;Payments&#8221; and &#8220;Plans and Subscriptions&#8221; events, and then click &#8220;Save Settings&#8221;.<\/p>\n<blockquote><p>https:\/\/api.notificationsformercadopago.com\/mercadopago-webhook?connection_id=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX<\/p><\/blockquote>\n<p>Ensure the URL and events are configured under the &#8220;Production Mode&#8221; tab to receive real payment notifications.<\/p>\n<h3>Test the connection (optional)<\/h3>\n<p>You can test the connection using the &#8220;Simulate Notification&#8221; tool found in the same Webhook configuration section of Mercado Pago.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1021 aligncenter\" src=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29.png\" alt=\"\" width=\"924\" height=\"533\" srcset=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29.png 2156w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-768x443.png 768w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-1536x886.png 1536w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-2048x1182.png 2048w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-120x69.png 120w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-240x138.png 240w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-360x208.png 360w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-480x277.png 480w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-820x473.png 820w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.29-1040x600.png 1040w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/p>\n<p>In this tool, you can select the newly completed production URL, an event type, and an identifier.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1023 aligncenter\" src=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18.png\" alt=\"\" width=\"472\" height=\"537\" srcset=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18.png 804w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-768x873.png 768w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-106x120.png 106w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-211x240.png 211w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-317x360.png 317w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-422x480.png 422w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.00.18-721x820.png 721w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/p>\n<p>Fill in the details as shown in the previous image and click &#8220;Send Test.&#8221; This will send a test notification using the provided identifier. In the example, a non-existent identifier &#8220;123456&#8221; is used, so no notification will be created in the system, but it will help test the connection. If configured correctly, you should see a message like the following:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1025 aligncenter\" src=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48.png\" alt=\"\" width=\"488\" height=\"699\" srcset=\"https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48.png 824w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-768x1100.png 768w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-84x120.png 84w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-168x240.png 168w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-251x360.png 251w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-335x480.png 335w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-573x820.png 573w, https:\/\/notificationsformercadopago.com\/wp-content\/uploads\/2024\/08\/Captura-de-pantalla-2024-07-27-a-las-22.03.48-726x1040.png 726w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To receive notifications about subscriptions and recurrent payments, in addition to creating the plans through our application, it is necessary to configure the webhook in the Mercado Pago app. This step is required because, at the moment, Mercado Pago does not allow us to set it up when creating the plan. Prerequisites: Create a Mercado&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1010,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"class_list":["post-1276","page","type-page","status-publish","hentry"," c-blog-1-item  nt-post-class"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/pages\/1276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/comments?post=1276"}],"version-history":[{"count":5,"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/pages\/1276\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/pages\/1276\/revisions\/1365"}],"up":[{"embeddable":true,"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/pages\/1010"}],"wp:attachment":[{"href":"https:\/\/notificationsformercadopago.com\/en\/wp-json\/wp\/v2\/media?parent=1276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}