Skip to content

Commit

Permalink
Return ok from service
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese authored Mar 11, 2024
1 parent e439e64 commit 26834be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/checkout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def adyen_webhooks(notifications)
puts notification["eventCode"]
puts notification["merchantReference"]
# Send a 202 response with an empty body
return [202, {}, ['']]
"Ok"
else
# In case of invalid hmac
raise "Invalid HMAC Signature"
Expand Down

0 comments on commit 26834be

Please sign in to comment.