-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove all code and references for ChurnBuster #234
Remove all code and references for ChurnBuster #234
Conversation
401853b
to
25c164d
Compare
if previous_changes.key?('payment_source_id') || previous_changes.key?('payment_source_type') || previous_changes.key?('payment_method_id') | ||
::Spree::Event.fire( | ||
'solidus_subscriptions.subscription_payment_method_changed', | ||
subscription: self, | ||
) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep all the Spree::Event.fire
calls in place. Users of the extension can listen to those events to fire their own logic — they are not specific to the ChurnBuster integration, even though the integration did make use of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
25c164d
to
012199e
Compare
Changesapp/models/solidus_subscriptions/subscription.rb:
Thanks for taking the time to review my changes 😄 Btw I squashed both commits as I heard it is better to have everything into one commit for overview. |
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions. |
Closing for now, we can reopen if we want to move this forward. |
fix #209
Remove ChurnBuster Integration
Removed Files:
solidus_subscriptions/lib/solidus_subscriptions/churn_buster Folder
solidus_subscriptions/spec/fixtures/cassettes Folder
Changed Files:
README.md:
solidus_subscriptions.gemspec:
app/models/solidus_subscriptions/subscription.rb:
config/initializers/subscribers.rb:
lib/solidus_subscriptions.rb:
lib/solidus_subscriptions/configuration.rb:
dispatcher/payment_failed_dispatcher.rb:
dispatcher/success_dispatcher.rb:
spec/lib/solidus_subscriptions/dispatcher/payment_failed_dispatcher_spec.rb:
spec/lib/solidus_subscriptions/dispatcher/success_dispatcher_spec.rb:
spec/models/solidus_subscriptions/subscription_spec.rb: