Files
leadchat/spec/factories
Muhsin Keloth 7e4d93f649 fix: Setup webhooks for manual WhatsApp Cloud channel creation (#13278)
Fixes https://github.com/chatwoot/chatwoot/issues/13097

### Problem
The PR #12176 removed the `before_save :setup_webhooks` callback to fix
a race condition where Meta's webhook verification request arrived
before the channel was saved to the database. This change broke manual
WhatsApp Cloud channel setup. While embedded signup explicitly calls
`channel.setup_webhooks` in `EmbeddedSignupService`, manual setup had no
equivalent call - meaning the `subscribed_apps` endpoint was never
invoked and Meta never sent webhook events to Chatwoot.


### Solution
Added an `after_commit` callback that triggers webhook setup for manual
WhatsApp Cloud channels
2026-01-19 14:12:36 +04:00
..
2025-07-16 09:04:02 +05:30
2022-05-16 13:59:59 +05:30
2022-07-19 17:37:00 +05:30
2022-06-22 11:04:42 +05:30
2021-06-21 15:16:26 +05:30
2022-05-16 13:59:59 +05:30
2021-01-17 23:56:56 +05:30
2020-11-01 00:14:33 +05:30