Closed christianrolle closed 3 years ago
How did you solve this? I'm having the same issue once moving to Rails 7.0
solved my issues, due to Rails 7.0+ loading I had to make require statements of each Stripe module as they weren't automatically loaded like in Rails 5
@daapower I having the same issue on moving to Rails 7, how did you make require statement of each Stripe module ?
@DmzTheo assuming that your handler are in app/services/stripe_webhook
Dir[Rails.root.join('app/services/stripe_webhook/*.rb')].each do |file|
require file
end
Current Rails 6.0 implementation:
and
and then running the server with rails s:
Do I miss out on something?