Method: PayPal::SDK::Core::API::IPN::Message#request

Defined in:
lib/paypal-sdk/core/api/ipn.rb

#requestObject

Request IPN service for validating the content

Return

return http response object



39
40
41
42
43
# File 'lib/paypal-sdk/core/api/ipn.rb', line 39

def request
  uri  = URI(ipn_endpoint)
  query_string = "cmd=_notify-validate&#{message}"
  http_call(:method => :post, :uri => uri, :body => query_string)
end