Open
Description
Describe the bug
When using the hook useCheckoutPricing
with a single-use coupon applied to a free trial plan, the price.next.discount
value is 0.
To Reproduce
Use a plan with a free trial and a single-use coupon.
Expected behavior
price.next.discount
to be equal to the discounted value
Your Environment
- @recurly/react-recurly: 1.2.2
- react: 17.0.1
- Google Chrome Version 91.0.4472.114 (Official Build) (x86_64)