integrallis / stripe_event

Stripe webhook integration for Rails applications.
https://rubygems.org/gems/stripe_event
MIT License
840 stars 107 forks source link

Return 422 if event processing failes #132

Closed maltesa closed 1 year ago

maltesa commented 4 years ago

I introduced a StripeEvent::ProcessError. If catched in the WebhookController a 422 StatusCode is returned. I think it breaks the processing of the event by other subscribers, so it is not a good solution to the issue it tries to solve: https://github.com/integrallis/stripe_event/issues/131

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.9%) to 99.107% when pulling 93f3a314a2cd5b639ee2313ec7743053370a1423 on maltesa:failure-response-codes into 4e15c7f81edf38e25d4198147c817b7eb586684d on integrallis:master.