NAME

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

VERSION

version 0.000028

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.

SUPPORT

Bugs may be submitted through https://github.com/maxmind/webservice-paypal-paymentsadvanced/issues.

AUTHOR

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by MaxMind, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.