spritlesoftware / chargebee-rails-subscriptions

This gem provides developers with the ability to easily integrate chargebee's subscription management into their application backed by active record models.
https://rubygems.org/gems/chargebee_rails
Other
29 stars 25 forks source link

Pull/fix auto collection #19

Open ConfusedVorlon opened 5 years ago

ConfusedVorlon commented 5 years ago

auto_collection is sent through the webhook as 'on' or 'off' currently that triggers a 500 error in /webhook_handler.rb (this fixes that issue)

I am assuming the same issue exists in /hosted_page_subscription_manager.rb and /subscription_builder.rb but it is a while since I have been in that part of the code, so you should verify that