1Business::PayPal::API::URseearutChoonrtBiruzisabituniteoesndsR:eP:qePuraelysPtDa(ol3c:)u:mAePnIt:a:tRieoanuthorizationRequest(3)
2
3
4

NAME

6       Business::PayPal::API::ReauthorizationRequest - PayPal
7       ReauthorizationRequest API
8

VERSION

10       version 0.77
11

SYNOPSIS

13           use Business::PayPal::API::ReauthorizationRequest;
14
15           ## see Business::PayPal::API documentation for parameters
16           my $pp = Business::PayPal::API::ReauthorizationRequest->new( ... );
17
18           my %response = $pp->DoReauthorizationRequest(
19               AuthorizationID => $transid,
20               Amount          => $amount,
21               CurrencyID      => $currencyID
22           );
23

DESCRIPTION

25       Business::PayPal::API::ReauthorizationRequest implements PayPal's
26       DoReauthorizationRequest API using SOAP::Lite to make direct API calls
27       to PayPal's SOAP API server. It also implements support for testing via
28       PayPal's sandbox. Please see Business::PayPal::API for details on using
29       the PayPal sandbox.
30
31   DoReauthorizationRequest
32       Implements PayPal's DoReauthorizationRequest API call. Supported
33       parameters include:
34
35         AuthorizationID
36         Amount
37         currencyID (defaults to 'USD' if not supplied)
38
39       as described in the PayPal "Web Services API Reference" document. The
40       default currencyID setting is 'USD' if not otherwise specified. The
41       DoReauthorization is not allowed before the three day grace period set
42       for the original AuthorizeRequest.
43
44       Returns a hash containing the results of the transaction.
45
46       Example:
47
48         my %resp = $pp->DoReauthorizationRequest (
49                                            AuthorizationID => $trans_id,
50                                            Amount          => '15.00',
51                                            CurrencyID      => 'USD'
52                                             );
53
54         unless( $resp{Ack} !~ /Success/ ) {
55             for my $error ( @{$response{Errors}} ) {
56                 warn "Error: " . $error->{LongMessage} . "\n";
57             }
58         }
59
60   ERROR HANDLING
61       See the ERROR HANDLING section of Business::PayPal::API for information
62       on handling errors.
63
64   EXPORT
65       None by default.
66

SEE ALSO

68       <https://developer.paypal.com/en_US/pdf/PP_APIReference.pdf>
69

AUTHORS

71       ·   Scott Wiersdorf <scott@perlcode.org>
72
73       ·   Danny Hembree <danny@dynamical.org>
74
75       ·   Bradley M. Kuhn <bkuhn@ebb.org>
76
78       This software is copyright (c) 2006-2017 by Scott Wiersdorf, Danny
79       Hembree, Bradley M. Kuhn.
80
81       This is free software; you can redistribute it and/or modify it under
82       the same terms as the Perl 5 programming language system itself.
83
84
85
86perl v5.30.0                  Busi2n0e1s9s-:0:7P-a2y6Pal::API::ReauthorizationRequest(3)
Impressum