0

According to Cashier docs, you should be able to swap Paddle plans while being on trial, moreover trial itself should be maintained:

To update the subscription plan for a user, you should pass the Paddle plan's identifier to the subscription's swap method (...) If the user is on a trial, the trial period will be maintained.

However, when I'm using swap method:

$user->subscription('default')->swap($planId);

I'm getting an error: LogicException: Cannot swap plans while on trial. (\vendor\laravel\cashier-paddle\src\Subscription.php:767)

Thanks in advance

Norbert Jurga
  • 204
  • 4
  • 14

1 Answers1

0

This turned out to be an error in documentation itself because Paddle API does not offer swapping subscription during trial.

Subscribers cannot be moved to a different plan while on a trialing state.

GutHub issue's closed.

Norbert Jurga
  • 204
  • 4
  • 14