woocommerce/woocommerce-gateway-stripe

Webhooks - Improve handling webhook events

a-danae opened this issue ยท 1 comments

This epic is intended to group all the issues around processing webhook events.

Why having an epic?

  • We have many reports around duplicated order notes, emails, and inventory reductions.
  • We haven't been able to replicate the problem. We've tried multiple times, and we've dived deeply into the processing flow.
    We have multiple issues and scattered information related to processing webhook events. Grouping all we know about this problem in a single place facilitates a better understanding of it.

Duplicated notes / emails / inventory reduction

Tasks

  1. a-danae
  2. component: UPE type: bug
    Mayisha a-danae
  3. component: webhooks priority: high
    Mayisha a-danae
  4. component: UPE component: webhooks priority: high type: bug
    Mayisha a-danae

What we know

  • A merchant that experienced the issue confirmed they can't replicate it when using a test account. This could explain why we haven't been able to replicate. Ref: #
  • A merchant that experiences the issue confirmed they have a single webhook endpoint configured for the site URL. Ref: #, #
  • The behavior is only present when the Legacy checkout experience is disabled. Ref: #, #, #, #, #

Results from previous efforts diving into this

  • From Hector Lovo - WC_Stripe_Payment_Gateway->process_response() is being called twice. Ref

Other improvements

Tasks

  1. component: webhooks
    a-danae
  2. component: webhooks
    a-danae

The fix was released in 8.6.1 ๐ŸŽ‰ Marking this Epic as closed.