Foxy / foxy-elements

Elements and resources for use in other front-end code, like the admin and customer portal.
https://elements.foxy.dev
MIT License
7 stars 8 forks source link

transactions: Add visual distinction for `source` and `type` #89

Closed brettflorio closed 2 years ago

brettflorio commented 2 years ago

The source and type values on transactions are important enough to visually display, if possible. The type is most helpful for recurring billing, and indicates whether the transaction represents a sub cancel, a sub modification, or a sub renewal. The source indicates whether the transaction is CIT (Customer Initiated Transaction) or MIT (Merchant Initiated).

Possible values are at https://api.foxycart.com/rels/transaction

The type is the more important of the two, and should ideally be visually displayed on the left column transaction list. The source should be displayed on the detail, perhaps above custom fields and attributes. Or combine source and type (and potentially a few other things we're currently missing like user agent, customer IP) into a new box like "Details".