Claim your freedom to choose the perfect partner for your multi-vendor journey.

FREEDOM25

Celebrate the festive season by giving your marketplace a powerful lift!

FESTIVE20

5.0.0
Something big is coming for marketplace admins… MultiVendorX 5.0 is almost here. Are you ready?
Be the first to explore all the game-changing features!
Power your marketplace dreams with unbeatable Black Friday deals!

MVXBLACK30

Supercharge your marketplace vision with unstoppable Cyber Monday deals!

MVXCYBER30

Holiday cheer, bigger savings
Take 25% off-because your marketplace deserves a gift too.

happyholiday

Update Stripe Marketplace – Multiple Status Updates and Stock Reductions

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #239177
      Justin Harrison
      Participant

      As a helpful note for you and your clients that could potentially run into this previously unsolved problem, I found the problem finally and it was due to multiple webhooks existing in Stripe. Because of the multiple webhooks, I believe the site was getting multiple API responses and MultivendorX’s code did not understand, expect, or know how to deal with multiple responses so it ended up processing things twice almost simultaneously. Depending on how many webhooks were enabled, it increased or decreased the likelihood that the multiple stock reductions and updates occurred. Once the duplicates were disabled, the issue resolved itself and we no longer have any problems. If I re-enabled multiple webhooks to 3 or more, I could replicate the problem every time. If there were only 2 webhooks enabled, it was more random as to whether the multiple updates and reductions happened when placing an order.

      A note on this though…. we did not create the multiple webhooks that existed on the live and sandbox sites. It seemed to be that any time we made a major change to the Stripe settings in MultivendorX, a new webhook was created in Stripe. We didn’t actually create the webhooks manually except for the first one. I’m not saying that MultivendorX code creates the webhook, but Stripe seems to generate one for some reason when changing major settings (like going from Destination to Separate Charges and Transfers).

      So if you have problems with multiple stock reductions and multiple status updates in the future, check the Stripe webhooks and make sure that only one webhook is enabled. It is not a WooCommerce issue. It is an issue with the Stripe payment method built into MultivendorX not understanding how to handle multiple webhooks being fired and sending back multiple responses (which understandably wouldn’t be expected as that’s a faulty configuration).

    • #239184

      Hi Justin, Thank you for getting back and for sharing your findings in detail. We appreciate the insights, as this will be helpful for us and other users who may encounter a similar issue.
      Regarding the multiple webhooks, our plugin only requires two manually added webhooks, specifically for the Marketplace Membership module. For the Stripe Marketplace, no additional webhooks are generated by MultiVendorX.
      Now could you please share the exact steps to replicate the behavior of multiple webhooks creation when major Stripe settings are changed.? If we can reproduce the issue on our end, we can investigate further and explore a resolution.
      Looking forward to your response.

    • #249773

      It’s been a while since we last heard from you, so we’ll assume your queries have been resolved and will close this thread for now. If you face any issues or need assistance in the future, please feel free to open a new support thread—we’ll be more than happy to help.

Viewing 2 reply threads
  • The topic ‘Update Stripe Marketplace – Multiple Status Updates and Stock Reductions’ is closed to new replies.
Shopping Cart
Scroll to Top