Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to SubscriptionBillingCycleErrorCode

SubscriptionBillingCycleErrorCode

enum

Possible error codes that can be returned by SubscriptionBillingCycleUserError.

Anchor to BILLING_DATE_SET_ON_SKIPPEDBILLING_DATE_SET_ON_SKIPPED
•

Billing date cannot be set on skipped billing cycle.

Anchor to CYCLE_INDEX_OUT_OF_RANGECYCLE_INDEX_OUT_OF_RANGE
•

Billing cycle selector cannot select billing cycle outside of index range.

•

Can't find the billing cycle.

Anchor to CYCLE_START_DATE_OUT_OF_RANGECYCLE_START_DATE_OUT_OF_RANGE
•

Billing cycle selector cannot select billing cycle outside of start date range.

Anchor to EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUTEMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT
•

Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule.

Anchor to INCOMPLETE_BILLING_ATTEMPTSINCOMPLETE_BILLING_ATTEMPTS
•

Billing cycle has incomplete billing attempts in progress.

•

The input value is invalid.

•

The index selector is invalid.

•

The date selector is invalid.

•

There's no contract or schedule edit associated with the targeted billing cycle(s).

•

Billing date of a cycle cannot be set to a value outside of its billing date range.

Anchor to UPCOMING_CYCLE_LIMIT_EXCEEDEDUPCOMING_CYCLE_LIMIT_EXCEEDED
•

Billing cycle selector cannot select upcoming billing cycle past limit.


Was this section helpful?