Question about webhooks
-
Hi there! Wanted to reach out as I use your stripe plugin for one of my Sub-Brands, However I also use the same stripe account with another sub-brand just to keep all income for my entire company all in one place. However the issue I notice is that webhook triggers will be sent to the plugin from orders from my other site that is not using WooCommerce and has custom stripe integration.
I wanted to know if there is some kind of action or filter I can set in code to set a condition where if the metadata “brand_id” equals a specific value then it would process that webhook request?
I did find you can set custom metadata but wanted to see if you can set a condition so that we don’t get a lot of logs saying can’t find order for example when it receives a webhook request from a charge or payment intent from my other site that has its own custom stripe setup.
Really love your plugin it is really one of the best stripe plugins for WooCommerce and thanks for the great support 🙂
You must be logged in to reply to this topic.