There was an error while loading. Please reload this page.
2 parents 94f020e + d8cd3da commit 6d785deCopy full SHA for 6d785de
app/models/stripe/event_dispatch.rb
@@ -8,7 +8,7 @@ def dispatch_stripe_event(request)
8
end
9
10
def retrieve_stripe_event(request)
11
- id = request['id']
+ id = request.params['id']
12
body = request.body.read
13
sig_header = request.headers['HTTP_STRIPE_SIGNATURE']
14
endpoint_secrets = ::Rails.application.config.stripe.signing_secrets
0 commit comments