Discounts on pay later lines do not result in the discount code being tracked
Created by: eileenmcnaughton
When a discount code is in use in paylater for a membership-by-price set the use of the code is not tracked.
Probably the discount code should in fact be consumed when payment is made rather than when it is entered - but in the absence of a status field - perhaps it makes sense to record it when first applying