NAME
WebService::PayPal::PaymentsAdvanced::Response::FromSilentPOST - Response object generated via Silent POST params
VERSION
version 0.000005
DESCRIPTION
This module provides an interface for extracting returned params from an HTTP::Response object. You won't need to this module directly if you are using "create_secure_token" in PayPal::PaymentsAdvanced.
Throws a WebService::PayPal::PaymentsAdvanced::Error::HTTP exception if the HTTP request was not successful.
OBJECT INSTANTIATION
The following parameters can be supplied to new()
when creating a new object.
Required Parameters
params
Returns a HashRef
of parameters which have been returned from PayPal via a redirect or a silent POST.
Optional Parameters
ip_address
This is the IP address from which the PayPal params have been returned. If you provide an IP address, it will be validated against a list of known valid IP addresses which have been provided by PayPal. You are encouraged to provide an IP in order to prevent spoofing.
This module will throw a WebService::PayPal::PaymentsAdvanced::Error::IPVerification exception if the provided IP address cannot be validated.
Methods
params
Returns the same HashRef
of parameters which was initially provided to the new
method.
AUTHOR
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by MaxMind, Inc..
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)