wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Marketplace: Product Licensing - Implement broadcasting subscription event using Webhook

Open gavande1 opened this issue 2 years ago • 3 comments

Summary

As part of Marketplace licensing, We need to notify vendors in realtime about status of each subscription so they can take appropriate action on their side. We need to build mechanism where we can create such broadcast system using webhooks where we can notify vendors when status of subscription changes. We should notify vendors to their given URL for subscription event like created, cancelled, refunded, renewed, domain changed etc.

As additional work (nice to have), we can allow vendors to select which event they are interested in so that we can trigger webhook for selected events.

Related to pdh6GB-1dL-p2#comment-1951

gavande1 avatar Jul 07 '22 12:07 gavande1

  • [ ] use as static webhook url in WPCOM . We will later store it in WPCOM (store_vendors table?)
  • [ ] trigger the relative webhooks on subscription events

cpapazoglou avatar Jul 20 '22 10:07 cpapazoglou

Diff created D85401-code

JulianBustamante avatar Aug 05 '22 05:08 JulianBustamante

Deployed r250484-wpcom

JulianBustamante avatar Aug 10 '22 19:08 JulianBustamante