Skip to content

Commit

Permalink
Fix display of moving plan name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jan 30, 2025
1 parent 1ea7019 commit b6942bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</p>

<?php if ($subscription->stripe->schedule && count($subscription->stripe->schedule->phases) > 1 && $subscription->stripe->schedule->phases[1]->items[0]->plan->nickname != $subscription->stripe->plan->nickname) { ?>
<p>You are switching to <strong><?php $subscription->stripe->schedule->phases[1]->items[0]->plan->nickname ?></strong> at the end of your current period.</p>
<p>You are switching to <strong><?= $subscription->stripe->schedule->phases[1]->items[0]->plan->nickname ?></strong> at the end of your current period.</p>
<?php } ?>

<?php if ($subscription->stripe->discount && $subscription->stripe->discount->end) { ?>
Expand Down

0 comments on commit b6942bd

Please sign in to comment.