Olaf Alders 🐫
and 2 contributors

NAME

WebService::PayPal::PaymentsAdvanced::Response::FromSilentPOST - Response object generated via Silent POST params

VERSION

version 0.000008

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 "get_response_from_silent_post" in PayPal::PaymentsAdvanced.

This module inherits from WebService::PayPal::PaymentsAdvanced::Response and includes the methods provided by WebService::PayPal::PaymentsAdvanced::Role::HasTender, WebService::PayPal::PaymentsAdvanced::Role::HasTokens and WebService::PayPal::PaymentsAdvanced::Role::HasTransactionTime.

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.

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)