We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I cancel subscription I receive customer.subscription.deletedevent from Stripe which is OK.
customer.subscription.deleted
After that I immediately receive invoice.payment_succeeded which even triggers error in code:
invoice.payment_succeeded
NoMethodError (undefined method `payment_succeeded' for nil:NilClass): 2016-09-13T16:30:27.066412+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/koudoku-1.2.4/config/initializers/stripe_event.rb:13:in `block (2 levels) in <top (required)>'
Why am I even getting payment succeeded event on cancelation?
payment succeeded event
cancelation
The text was updated successfully, but these errors were encountered:
@knagode Thanks for reporting this. It looks like Stripe creates a final invoice to settle the remaining balance. That's what's causing this error.
Sorry, something went wrong.
No branches or pull requests
When I cancel subscription I receive
customer.subscription.deleted
event from Stripe which is OK.After that I immediately receive
invoice.payment_succeeded
which even triggers error in code:Why am I even getting
payment succeeded event
oncancelation
?The text was updated successfully, but these errors were encountered: