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

No yearly billing option available for subscription products #35

Open
seanheartmath opened this issue May 25, 2023 · 1 comment
Open

Comments

@seanheartmath
Copy link

Yearly billing should be an option but I can only set up to 6 month intervals max. I'm also unable to set anything other than 1, 3, 6 for days, weeks, months.

As per the comment in shared/payloads/stripe/StripePriceRecurringPayload.ts

@param interval_count number Optional. The number of intervals between subscription billings. For example, interval=month and interval_count=3 bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).

Screen Shot 2023-05-25 at 9 24 51 AM

@becomevocal
Copy link
Collaborator

@seanheartmath those values are currently hardcoded here: https://github.com/bigcommerce/subscription-foundation/blob/main/src/components/Subscription/Option/RuleCondition.tsx#L15

So you should be able to change those values by altering that array. Maybe we could move that into a constant so it's easier to find?

Let me know if this helps you out.

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

No branches or pull requests

2 participants