Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Stripe webhooks safe deleting #4116

Open
almirantis opened this issue Mar 20, 2025 · 1 comment
Open

Stripe webhooks safe deleting #4116

almirantis opened this issue Mar 20, 2025 · 1 comment
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.

Comments

@almirantis
Copy link

almirantis commented Mar 20, 2025

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:

  1. Create any additional webhook on the Stripe side for your webstore, something like https://yourstore.url/?wc-api=hook-key
  2. Update the woocommerce-gateway-stripe plugin
  3. In a few minute the created webhook on the Stripe side will be deleted.

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

Image

Image

Environment (please complete the following information):

  • WordPress Version latest
  • WooCommerce Version latest
  • Stripe Plugin Version 9.3.1
@malithsen malithsen added type: bug The issue is a confirmed bug. priority: medium The issue/PR is medium priority—it affects lots of customers substantially, but not critically. needs repro This issue needs to be reproduced / verified. labels Mar 21, 2025
@unprintedch
Copy link

I have the same issue, my integration use a webhook in stripe. And it was deleted by WC twice in a month.
This is highly uncomfortable, and should be addressed.
Please.

# for free to join this conversation on GitHub. Already have an account? # to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants