I partially refunded a bundle and the non-refunded products still use the bundle discount.

Our app doesn't actually handle any payments or refunds. They are calculated by Shopify, which means we unfortunately have no control over how your store handles refunds/payments. In this case, you would need to manually issue refunds for the discounted products. (Subtract the discount amount from the refund amount).