SubscriptionStatus
The status of the subscription.
PENDING- Created and not activated yet. The customer activates it from the activation link, or you callactivateSubscription.EXPIRED- Ended. No more payments are made, andactivateSubscriptionrejects it.TRIALING- In the trial period. WithtrialAmount, each trial billing period is charged at that amount. Without it, the first payment is made when the trial ends.ACTIVE- Active. A payment is made at the end of each billing period.PAST_DUE- The most recent payment failed and a retry is scheduled (seeretrySchedule). A successful retry makes the subscriptionACTIVEagain. When the last retry fails, the subscription becomesCANCELED.PAUSED- Payments are suspended. The subscription becomesACTIVEagain afterpauseIntervalCountbilling periods, or when you callresumeSubscription.CANCELED- Ended. No more payments are made. A cancellation, a failed last retry or a suspended account sets it. In test mode, a subscription is also canceled at its 12th scheduled payment.
enum SubscriptionStatus {
PENDING
EXPIRED
TRIALING
ACTIVE
PAST_DUE
PAUSED
CANCELED
}
Values
SubscriptionStatus.PENDING
SubscriptionStatus.EXPIRED
SubscriptionStatus.TRIALING
SubscriptionStatus.ACTIVE
SubscriptionStatus.PAST_DUE
SubscriptionStatus.PAUSED
SubscriptionStatus.CANCELED
Member Of
Subscription object ● SubscriptionEventObject object
¿Te ha resultado útil esta página?