TIPOFF / checkout

Laravel Package for Ecommerce Checkouts
MIT License
0 stars 1 forks source link

Creator & Updater #37

Closed drewroberts closed 3 years ago

drewroberts commented 3 years ago

All 4 Models in this package should be updated to include a Creator & Updater:

The creator should exist for those scenarios when a staff member is creating a cart for a customer or processing an order through the backend/admin (Nova) interface. It will be the authenticated user going through the checkout process and will be the customer (user) on the Cart & Order the majority of times.

There may be times when a Cart or Order is updated and as a result, we also need to save the authenticated user as the Updater.

We will use the Creator Trait (https://github.com/tipoff/support/issues/48) & Updater Trait (https://github.com/tipoff/support/issues/49) for both of these models in the tipoff/support package.

sl0wik commented 3 years ago

Creator and updater make perfect sense, but it would be good to store minimum logic (as not part of package).

pdbreen commented 3 years ago

This is done.