NAME
WebService::PayPal::PaymentsAdvanced::Response::SecureToken - Response class for creating secure tokens
VERSION
version 0.000009
SYNOPSIS
my $ppa = WebService::PayPal::PaymentsAdvanced->new( ... );
my $response = $ppa->create_secure_token( ... );
DESCRIPTION
You should not create this response object directly. It will be provided to you via "<create_secure_token" in WebService::PayPal::PaymentsAdvanced.
OPTIONS
payflow_link_uri
The URL for the PayflowLink web service. Can be a mocked URL.
validate_hosted_form_uri
Bool
which indicates whether we should pre-fetch the hosted form and do some error checking (recommended).
METHODS
This module inherits from WebService::PayPal::PaymentsAdvanced::Response, please see its documentation for a list of the methods which it provides..
hosted_form_uri
Returns a URI object which you can use either to insert an iframe into your pages or redirect the user to PayPal directly in order to make a payment.
use WebService::PayPal::PaymentsAdvanced;
my $payments = WebService::PayPal::PaymentsAdvanced->new(
validate_hosted_form_uri => 1, ... );
my $response = $payments->create_secure_token(...);
my $uri = $response->hosted_form_uri;
params
A HashRef
of parameters which have been returned by PayPal.
secure_token
Returns the PayPal SECURETOKEN param.
secure_token_id
Returns the PayPal SECURETOKENID param.
AUTHOR
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.