Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useCheckoutPricing with single-use coupon and free trial plan #141

Open
andreisocaciu opened this issue Jun 22, 2021 · 3 comments
Open

useCheckoutPricing with single-use coupon and free trial plan #141

andreisocaciu opened this issue Jun 22, 2021 · 3 comments
Labels

Comments

@andreisocaciu
Copy link
Contributor

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)
@saamipop
Copy link

Up

@saamipop
Copy link

saamipop commented Dec 6, 2022

Hi. We still encounter this bug. Does anybody have a solution for this ?
We are using useCheckoutPricing hook and for cupons that are single-use the discount value comes as 0.

@ctrble
Copy link

ctrble commented Jun 20, 2024

Is there an update on this? We'd like to use useCheckoutPricing but this issue is blocking us. We're on react-recurly v2.0.1 and were able to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants