chargebee-php
chargebee-php copied to clipboard
PHP library for the Chargebee API.
Following on from https://github.com/chargebee/chargebee-php/issues/40, I am experiencing a whole bunch of deprecation notices in my application originating from the `chargebee/chargebee-php` project. ``` User Deprecated: Method "Countable::count()" might add "int" as...
Hello, It would be nice if we can have documentation in our IDE when using your `\ChargeBee_Model` classes. The implementation of `\JsonSerializable` can be also useful. Namespace support is nice...
Hello, For Composer based usage specifying `ext-json` in composer.json require field would be better than the runtime validation used in AbstractChargeBee, allowing composer to check for the presence of the...
When a property of a Model is supposed to be a list of some subtype (for example `taxes` of the `InvoiceEstimate`), but the ChargeBee returns 0 items in the list,...
Sometimes you want to be able to send specific headers with every ChargeBee request. This allows you to define those in ChargeBee::Environment::configure().
### Description of the Bug Hi, I’ve encountered an issue with the `from()` method in the Subscription class `public static function from(array $resourceAttributes): self` Specifically, when setting the currency exchange...
### Description of the Bug In src/Resources/Customer/Relationship.php, it appears that the root_id property has been removed or is no longer exposed. When calling: `CB::init()->subscription()->retrieve($subscriptionId)->customer` the resulting `Relationship` object does not...
### What problem does your feature request address? Since v4 allows using a custom HttpClientFactory that is not Guzzle, and simply uses Guzzle as a default, it would be nice...
### Description of the Bug It seems with v4, property names of Model classes moved from camelCase to snake_case ? v3 : $subscription->currencyCode ---> v4 : $subscription->currency_code That is a...
### What problem does your feature request address? I use [PHPStan](https://phpstan.org/) to detect errors on static types. No types are currently present in Models. Usage example ```php private function logCustomer(Customer...