Stripe webhooks safe deleting #4116
Labels
needs repro
This issue needs to be reproduced / verified.
priority: medium
The issue/PR is medium priority—it affects lots of customers substantially, but not critically.
type: bug
The issue is a confirmed bug.
Describe the bug
The problem is in deleting of webhooks on Stripe side by your plugin. We have different webhooks on Stripe side and they are for our business processes. During updating of your plugin we have lost our webhooks several times. By logs on Stripe side the deleting processes were initiated by your plugin. Your plugin has deleted your webhook and other webhooks (our) too.
The problem has been detected with following versions:
V 9.1.0 – 2025-01-09
V 9.3.0 – 2025-03-13
V 9.3.1 – 2025-03-14
To Reproduce
Steps to reproduce the behavior:
Expected behavior
By default the plugin has its own webhook like https://yourstore.url/?wc-api=wc_stripe, it should be updated (delete and recreate) this webhook only. Other webhooks should be saved without any changes
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: