Fix issue with discount code being added but displaying the wrong message