Skip to content

Commit

Permalink
add logging for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelGomezMaxio committed Sep 30, 2024
1 parent cb55ce4 commit f6f33eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/active_merchant/billing/gateways/paypal_complete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ def commit(http_method, path, params, options = {})
raw_response = raw_ssl_request(http_method, url, body, headers(options))
http_code = raw_response.code.to_i
response = JSON.parse(handle_response(raw_response))
puts "*@" * 100
puts body
puts "*@" * 100
puts response.inspect
puts "*@" * 100
success = success_from(http_method, path, http_code, response)

Response.new(
Expand Down

0 comments on commit f6f33eb

Please sign in to comment.