chargebee-ruby icon indicating copy to clipboard operation
chargebee-ruby copied to clipboard

Ruby library for the Chargebee API.

Results 19 chargebee-ruby issues
Sort by recently updated
recently updated
newest added

Allow rest-client dependency 2.1.0. Closes #55 Related to #43 and #50

It looks like the `rest-client` gem no longer has any active maintainers and has not had a commit since 2019. A different http lib should be used that has active...

feature

When executing `ChargeBee::Subscription.retrieve(subscription_id).subscription.as_json` The following error occurs ```ChargeBee::Error: Response not in JSON format. Probably not a ChargeBee response "\u001F\x8B\b\u0000\u0000\u0000\u0000\u0000 ```

Hello, **Why is there a downgrade of the rest-client gem?** Your commit message is empty... Please clarify the motivation and **fix this in order to use the latest version**. It...

feature

Many (all?) Chargebee models respond to the "object" method. E.g. ```ruby session = ChargeBee::PortalSession.create(...).portal_session session.object # => 'portal_session' ``` however, they say that they don't: ```ruby session.respond_to?(:object) # => false...

That will fix an issue when calling `flatten` to an array of `ChargeBee::Model`: ```ruby resources.map(&:class).tally #=> {ChargeBee::Transaction=>890, ChargeBee::Invoice=>712, ChargeBee::Customer=>17088, ChargeBee::Subscription=>14774, ChargeBee::PaymentSource=>534, ChargeBee::Card=>6942, ChargeBee::CreditNote=>178} resources.flatten #=> There's no method called to_ary...

I'm encountering the following error. Not sure whether it's an API or client issue. ``` IO Exception when trying to connect to chargebee with url https://imazen.chargebee.com/api/v2/subscriptions/[redacted] . Reason cookie store...

Currently all errors coming from the depths of rest-client are rescued and translated to `IOError`. I suggest to change it: 1. It's a bad practice to rescue `Exception`. If you...

This switches out json_pure for multi_json. json_pure stops some rubyists from utilizing your service because it is incompatible with other json libraries they might be using. This is a drop...

At least some timeout errors do not have valid JSON, and although their body contains the reason they end up here https://github.com/chargebee/chargebee-ruby/blob/master/lib/chargebee/rest.rb#L82 resulting with a generic error. Also, `rest.rb` has...