• I am having an issue with what appears to be webhooks not working properly.

    I have enabled webhooks in the BC4WP Product Sync settings for real-time product and inventory sync. However, I’ve tried changing the product sale price and the product inventory, but it is not reflected on the WordPress storefront.

    I have reached out to our hosting provider and they have ensured that webhooks are not blocked. I also had a chance to review my access logs, and I do see webhooks there when I make a change in bigcommerce:
    POST /bigcommerce/webhook/product_update
    POST /wp-cron.php?doing_wp_cron=

    Any insight is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Heather Barr

    (@hnbarr)

    Hi @mkctu! Myself and a teammate have tested this and are receiving expected behaviors on our WP storefronts, in relation to price & inventory. At the moment, we are not able to reproduce. If you provide your BC store url, I can request fir this to be looked at, on your store.

    As a side note — The store/product/inventory/order/updated webhook only runs when the inventory for the affected product is being tracked. If it is not, the webhook doesn’t run.

    Thank you for all the details here! Talk to you soon 🙂

    Hi,

    We are having a similar issue. There is an issue that does not to be solved as many sites need detailed control over product listings. We are due to go live in a few weeks and this is a major issue.

    Please see below as you can view full case notes from your side.

    Case # 04734059

    We have a product catalogue of over 8k products which is constantly being added to. These descriptions/data are being updated fairly frequently just now, however, when we update a product within the BigCommerce admin area the changes are not pulled through to WordPress.

    Support has suggested we either trash and permanently delete the products and re-sync everything or remove the App entirely and all its data and re-connect to BigCommerce. We have already done this once in the development store, but with a product catalogue this big it’s not really practical going forward. Do you have any suggestions on how we may be able to override the plugins default behaviour and make sure when products are updated within BigCommerce that these changes are also reflected on our WordPress site?

    I am a PHP developer and am happy to go in and make modifications (albeit on a temporary basis) to allow us to sync products more than once at least as a short term measure to allow us to pull all the recent changes over and go live with the site in the near future. I am aware no support will be offered for this, but currently not being able to update products and then have these changes reflected within WordPress is a big problem for us. Any help/guidance/feedback you could provide would be very much appreciated!

    BigCommerce Response:

    Hello,

    Christopher here again from the BigCommerce Product Support Engineering Team.

    I can definitely see a use case for these suggestions as it allows for more granular control over the product listings on the WordPress side. We generally do not recommend modifying the plugin itself, however this is coming from a support perspective as we are not able to provide assistance when doing so. The webhooks are only used to detect when a change on the BigCommerce catalog has been made. Once the plugin receives the webhook event, it determines how the catalog would be updated.

    As I had mentioned earlier, I do see a strong use case for your suggestions as it empowers our WordPress users to manage their catalog more carefully. I highly recommend submitting a post to our Ideas section of our Community forum. While I cannot guarantee if/when this would be implemented, I can guarantee that our engineers and project managers will take it into consideration when planning their next roadmap. With that being said, I would not rely on this for your particular case.

    While I am not able to provide assistance with modifying the plugin, please feel free to let us know if there are any additional questions as we are always happy to help.

    • This reply was modified 2 years, 11 months ago by jamesc91.

    Hey @mkctu and @jamesc91,

    I have faced a similar issue with a client that has around 6k products, which are frequently updated and also have a requirement to frequently add new products.

    From what I can tell, the webhook fires when a product is edited and, possibly, when a new product is added. The webhoook triggers a full catalogue re-sync rather than a targeted sync, which takes a substantial amount of time and can fail on sites with low resources available.

    Our temporary solution was to increase resources available on the WordPress server (Amazon AWS EC2 m5.large in this instance) to help prevent re-sync failures. It still takes some time though and does not show new products or edited products in real time – more like 15 minutes later.

    You can check the latest sync log in BigCommerce -> Settings -> Diagnostics -> Get Diagnostics, and I think the latest version of the plugin also gives a sync log.

    Hope that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Webhooks and Automatic Syncing’ is closed to new replies.