Skip to content

Commit

Permalink
treatment to isUnderBillingCycle() to check pass with is active also
Browse files Browse the repository at this point in the history
  • Loading branch information
msonowal committed Dec 30, 2017
1 parent 0a9c361 commit f106e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function hasValidStatus() : bool

public function isUnderBillingCycle() : bool
{
return !$this->onTrial() && in_array($this->status, self::UNDER_BILLING_STATUSES);
return !$this->onTrial() && $this->active() && in_array($this->status, self::UNDER_BILLING_STATUSES);
}

/**
Expand Down

0 comments on commit f106e5c

Please sign in to comment.