Abstract interface for preparing orders and processing payments
Prepare orders and receive payments. Concept and exploration. We'll see where it will lead us.
Order lifecycle events:
- Partially refunded,
- Fully refunded.
Subscription lifecycle events:
- Successful rebill,
- Failed rebill,
When gateway listens to notifications from the gateway service, it should use
to dispatch events so application can react to these order and/or subscription changes.
- Subscription change should have the new total and new items.