(WIP) Cdodge/shopping cart rewrite

Does a check for whether the purchaser is enrolled in the course make sense here, for the purchase code case?