The payment went through but that's not the end, the account needs updating, a receipt needs to be sent, the user needs a notification and analytics need to record it.
One simple payment just triggered an entire chain of events. So how do we design a...