Membership coupon discounts aren't applied

The discount from the coupon codes aren't applied to the Stripe payment modal. I applied coupon code to the coupon section of the Checkout. It displays at the top but the checkout button does not reflect the discount. Screenshot: