ajc113 / currents

Currents Fishing Network Application
3 stars 3 forks source link

#<StripeController:0xXXXXXX>#events (NoMethodError) "undefined method `subscription_id=' for nil:NilClass" #184

Closed ajc113 closed 6 years ago

ajc113 commented 6 years ago
Exceptionundefined method `subscription_id=' for nil:NilClass
Last OccurrenceApril 03, 2018 18:14:21 +0000
Count5

Stack Trace

[app].../app/controllers/stripe_controller.rb:42:in `event_process'
[app].../app/controllers/stripe_controller.rb:23:in `block in events'

Fingerprint: 01285599748f57df377d1033463fc8ac9c4f7cf6

ajc113 commented 6 years ago
Occurred AtFebruary 07, 2018 17:34:23 +0000
Paramsnil
tannakartikey commented 6 years ago

Not sure if Stripe customer ID is being created because of this issue.

tannakartikey commented 6 years ago

@ajc113 the Stripe customer is being created successfully.

The error is related to a cancellation of the subscription. I canceled one subscription and seems to be working fine. I am closing the issue for now.

ajc113 commented 6 years ago
Occurred AtFebruary 10, 2018 17:04:06 +0000
Paramsnil
ajc113 commented 6 years ago
Occurred AtFebruary 21, 2018 02:42:28 +0000
Paramsnil
ajc113 commented 6 years ago
Occurred AtMarch 06, 2018 01:36:47 +0000
Paramsnil
ajc113 commented 6 years ago
Occurred AtApril 03, 2018 18:14:21 +0000
Params
usernil
event_typecustomer.subscription.deleted
event_idevt_1CCte7DyDCrOMJ6Ppiy1zwgb