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/events can change #13

Closed ConfusedVorlon closed 6 years ago

ConfusedVorlon commented 6 years ago

this does two things: 1) handles unexpected api events gracefully 2) adds some missing events

note - I think the paramaw changes will disappear when/if you accept my pull request containing those commits

ConfusedVorlon commented 6 years ago

the original logic only sends the event if it isn't sync'd

I think it makes more sense to send it anyway and allow users to respond to the event post-sync in an over-ridden controller if they want to.