Closed cpapazoglou closed 1 year ago
Backlog grooming:
getSitePurchases
and filter by ownsershipId
, use the purchaseId
found and render the /purchases/:purchaseId
pageRelated function: https://github.com/Automattic/wp-calypso/blob/7655b6d1f326371990851da10ebb97f133fbdc17/client/state/purchases/selectors/get-by-purchase-id.js#L1-L13
In SaaS licensing, customers have the SaaS application from the vendor but the billing is happening in WP.com. In those cases, normally there is a billing section inside that SaaS application. Vendors will need to state that billing is managed by WordPress.com and ideally have a link which redirects to the specific purchase in Calypso.
Currently, we've got a route
https://wordpress.com/me/purchases/:domain/:purchaseId
that works withpurchase_id
since we share theownsership_id
with vendors it would make sense also have ahttps://wordpress.com/me/purchases-by-owner/:ownershipId
route.Related to pedbJv-h-p2#comment-14