Closed scr4bble closed 2 years ago
I just found out that using 'planId' instead of 'itemId' works. So this is a problem in documentation for chargebee PHP library.
@scr4bble - could you please tell us which PHP and chargebee-php version are you using? The latest chargebee-php stable version till date is v3.1.0 which supports PHP > 5.6.0.
Try upgrading our chargebee-php to latest version and let us know if you are still facing the same issue.
Please note as per this, if you are using PHP < 5.6.0, you can download chargebee-php v2.8.3 which will not support recently added features/fixes and recommend to upgrade PHP.
I am using latest version of chargebee-php but I just found out that I was checking wrong documentation. We are using Product catalog 1.0 and the documentation mentioned in the issue is from PC 2.0. We can close this issue. Sorry for confusion.
Code that triggers the error from API:
From Documentation
Traceback: