Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sdk fails with Trial only pricing plan #714

Closed
truechernyshov opened this issue Sep 5, 2024 · 1 comment · Fixed by #717
Closed

Sdk fails with Trial only pricing plan #714

truechernyshov opened this issue Sep 5, 2024 · 1 comment · Fixed by #717
Assignees

Comments

@truechernyshov
Copy link

Error

Rebilly\Sdk\Model\TrialOnlyPlan::setPricing(): Argument 1 ($pricing) must be of type Rebilly\Sdk\Model\PlanPriceFormula|array, null given, called in /var/www/html/vendor/rebilly/client-php/src/Model/TrialOnlyPlan.php on line 50

Stepts to reproduce:

  • Create Trial only pricing plan in dashboard
  • Call $client->plans()->get($planId);
@justnero
Copy link
Contributor

justnero commented Sep 20, 2024

Hi @truechernyshov! Thank you for the report.
The issue is addressed with #717.
It's available in version 3.1.3 of the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants