I have written a plugin that allows customers to redeem points for discounts on merchandise in WooCommerce. When the customer redeem the points it generates coupons and applies them to the cart for the discount.
Everything works as expected but I want the coupon amount to be applied to the full cart value including shipping costs. If I make the coupon value large enough to include the shipping costs it just leaves an unclaimed amount from the coupon and caps it at the cart subtotal.
Is there a way to change the way it generates the coupon, or change the way it does the discount so I can make it include the shipping costs?