We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Call Paypal.sandbox! at first.
Paypal.sandbox!
Since all request/response is via SSL, you can’t use usual TCP tracking tools like tcpflow. If you need to do so, this code will help you.
In this code,
method
params
METHOD
response
module Paypal module NVP class Request def post_with_debugger(method, params = {}) response = post_without_debugger(method, params) puts <<-DEBUG #{method} ========== #{params.to_query} ---------- #{response} ========== DEBUG response end alias_method_chain :post, :debugger end end end