`plan` isn't a guaranteed object in stripe `customer.subscription.updated` events. It can be null for cases like `send_invoice` for `past_due` event as seen in the payload shown in sentry error. fixes: https://linear.app/chatwoot/issue/CW-2925/nomethoderror-undefined-method-[]-for-nilnilclass-nomethoderror |
||
|---|---|---|
| .. | ||
| controllers | ||
| dashboards | ||
| helpers/super_admin | ||
| jobs | ||
| models | ||
| policies | ||
| services | ||
| views/api/v1 | ||