<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Webhooks Always Returning 403 Forbidden – No Incoming Requests Reaching My Handler in Foro de la Comunidad Square</title>
    <link>https://community.squareup.com/t5/Foro-de-la-Comunidad-Square/Webhooks-Always-Returning-403-Forbidden-No-Incoming-Requests/m-p/790563#M49</link>
    <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’m running into an issue where every test event I send from the Square Developer Dashboard (e.g.&amp;nbsp;&lt;SPAN class=""&gt;payment.created&lt;/SPAN&gt;, &lt;SPAN class=""&gt;payment.updated&lt;/SPAN&gt;) returns &lt;SPAN class=""&gt;&lt;STRONG&gt;403 Forbidden&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN class=""&gt;&lt;STRONG&gt;no&lt;/STRONG&gt;&lt;/SPAN&gt; request ever shows up in my server logs. Here’s what I’ve done so far:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Endpoint setup&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Django REST Framework action with &lt;SPAN class=""&gt;methods=['post']&lt;/SPAN&gt;, no authentication or CSRF.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Immediately returns &lt;SPAN class=""&gt;200 OK&lt;/SPAN&gt; at the top of the handler to isolate delivery.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Manual testing&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Exposed my local dev server via a Cloudflare Tunnel.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;curl -X POST -d '{}'&lt;/SPAN&gt; to the same path returns &lt;SPAN class=""&gt;200 OK&lt;/SPAN&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Signature verification&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I extract &lt;/SPAN&gt;x-square-hmacsha256-signature&lt;SPAN class=""&gt; from headers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I use &lt;/SPAN&gt;is_valid_webhook_event_signature(body, signature, signature_key, notification_url)&lt;SPAN class=""&gt; with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The &lt;SPAN class=""&gt;&lt;STRONG&gt;signature key&lt;/STRONG&gt;&lt;/SPAN&gt; from my webhook subscription.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The exact notification URL I registered (including trailing slash).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Even if I skip verification and log the very first line of the handler, nothing ever appears.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cloudflare / Firewall&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;No WAF or firewall events blocking that specific path.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;SSL/TLS in “Full (strict)” mode.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;I’m at a loss why Square can’t deliver test events to my webhook. Has anyone else encountered this in a dev environment using tunnels? Are there any hidden Dashboard settings, signature pitfalls, or additional headers I need to configure?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks in advance for any pointers or troubleshooting tips!&lt;/P&gt;</description>
    <pubDate>Sun, 21 Sep 2025 12:02:17 GMT</pubDate>
    <dc:creator>webiscleaning</dc:creator>
    <dc:date>2025-09-21T12:02:17Z</dc:date>
    <item>
      <title>Webhooks Always Returning 403 Forbidden – No Incoming Requests Reaching My Handler</title>
      <link>https://community.squareup.com/t5/Foro-de-la-Comunidad-Square/Webhooks-Always-Returning-403-Forbidden-No-Incoming-Requests/m-p/790563#M49</link>
      <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’m running into an issue where every test event I send from the Square Developer Dashboard (e.g.&amp;nbsp;&lt;SPAN class=""&gt;payment.created&lt;/SPAN&gt;, &lt;SPAN class=""&gt;payment.updated&lt;/SPAN&gt;) returns &lt;SPAN class=""&gt;&lt;STRONG&gt;403 Forbidden&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN class=""&gt;&lt;STRONG&gt;no&lt;/STRONG&gt;&lt;/SPAN&gt; request ever shows up in my server logs. Here’s what I’ve done so far:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Endpoint setup&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Django REST Framework action with &lt;SPAN class=""&gt;methods=['post']&lt;/SPAN&gt;, no authentication or CSRF.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Immediately returns &lt;SPAN class=""&gt;200 OK&lt;/SPAN&gt; at the top of the handler to isolate delivery.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Manual testing&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Exposed my local dev server via a Cloudflare Tunnel.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;curl -X POST -d '{}'&lt;/SPAN&gt; to the same path returns &lt;SPAN class=""&gt;200 OK&lt;/SPAN&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Signature verification&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I extract &lt;/SPAN&gt;x-square-hmacsha256-signature&lt;SPAN class=""&gt; from headers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I use &lt;/SPAN&gt;is_valid_webhook_event_signature(body, signature, signature_key, notification_url)&lt;SPAN class=""&gt; with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The &lt;SPAN class=""&gt;&lt;STRONG&gt;signature key&lt;/STRONG&gt;&lt;/SPAN&gt; from my webhook subscription.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The exact notification URL I registered (including trailing slash).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Even if I skip verification and log the very first line of the handler, nothing ever appears.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Cloudflare / Firewall&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;No WAF or firewall events blocking that specific path.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;SSL/TLS in “Full (strict)” mode.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;I’m at a loss why Square can’t deliver test events to my webhook. Has anyone else encountered this in a dev environment using tunnels? Are there any hidden Dashboard settings, signature pitfalls, or additional headers I need to configure?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks in advance for any pointers or troubleshooting tips!&lt;/P&gt;</description>
      <pubDate>Sun, 21 Sep 2025 12:02:17 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Foro-de-la-Comunidad-Square/Webhooks-Always-Returning-403-Forbidden-No-Incoming-Requests/m-p/790563#M49</guid>
      <dc:creator>webiscleaning</dc:creator>
      <dc:date>2025-09-21T12:02:17Z</dc:date>
    </item>
  </channel>
</rss>

