From 08456789744ae90fadbfcc94112dd4754bfc855c Mon Sep 17 00:00:00 2001 From: Kristopher Chun Date: Thu, 21 Mar 2019 15:41:41 -0700 Subject: [PATCH] Added subscription status constants for "incomplete" and "incomplete_expired". --- lib/Subscription.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/Subscription.php b/lib/Subscription.php index 82aac8e1e..4357e932f 100644 --- a/lib/Subscription.php +++ b/lib/Subscription.php @@ -54,11 +54,13 @@ class Subscription extends ApiResource * * @link https://stripe.com/docs/api#subscription_object-status */ - const STATUS_ACTIVE = 'active'; - const STATUS_CANCELED = 'canceled'; - const STATUS_PAST_DUE = 'past_due'; - const STATUS_TRIALING = 'trialing'; - const STATUS_UNPAID = 'unpaid'; + const STATUS_ACTIVE = 'active'; + const STATUS_CANCELED = 'canceled'; + const STATUS_PAST_DUE = 'past_due'; + const STATUS_TRIALING = 'trialing'; + const STATUS_UNPAID = 'unpaid'; + const STATUS_INCOMPLETE = 'incomplete'; + const STATUS_INCOMPLETE_EXPIRED = 'incomplete_expired'; public static function getSavedNestedResources() {