Using a referral code isn't applying a discount

I have a friend's referral code and Bank of America discount. Neither is changing my amount due for the product.