1Business::PayPal::API::UTsrearnsCaocnttiroinbSuetBaeurdscihPn(ee3rs)ls:D:oPcauymPeanlt:a:tAiPoIn::TransactionSearch(3)
2
3
4

NAME

6       Business::PayPal::API::TransactionSearch - PayPal TransactionSearch API
7

VERSION

9       version 0.77
10

SYNOPSIS

12           use Business::PayPal::API::TransactionSearch;
13
14           # see Business::PayPal::API documentation for parameters
15           my $pp = Business::PayPal::API::TransactionSearch->new( ... );
16
17           my $transactions = $pp->TransactionSearch(
18               StartDate     => '1998-01-01T00:00:00Z',
19               TransactionID => $transid,
20           );
21
22           my $received = $pp->TransactionSearch(
23               StartDate        => '2015-11-13T00:00:00Z',
24               EndDate          => '2015-11-13T00:00:00Z',
25               Status           => 'Success',
26               TransactionClass => 'Received',
27           );
28

DESCRIPTION

30       Business::PayPal::API::TransactionSearch implements PayPal's
31       TransactionSearch API using SOAP::Lite to make direct API calls to
32       PayPal's SOAP API server. It also implements support for testing via
33       PayPal's sandbox. Please see Business::PayPal::API for details on using
34       the PayPal sandbox.
35
36   TransactionSearch
37       Implements PayPal's TransactionSearch API call. Supported parameters
38       include:
39
40         StartDate (required)
41         EndDate
42         Payer
43         Receiver
44         TransactionID
45         PayerName
46         AuctionItemNumber
47         InvoiceID
48         TransactionClass
49         Amount
50         CurrencyCode
51         Status
52
53       as described in the PayPal "Web Services API Reference" document. The
54       syntax for StartDate is:
55
56         YYYY-MM-DDTHH:MM:SSZ
57
58       'T' and 'Z' are literal characters 'T' and 'Z' respectively, e.g.:
59
60         2005-12-22T08:51:28Z
61
62       Returns a list reference containing up to 100 matching records (as per
63       the PayPal Web Services API). Each record is a hash reference with the
64       following fields:
65
66         Timestamp
67         Timezone
68         Type
69         Payer
70         PayerDisplayName
71         TransactionID
72         Status
73         GrossAmount
74         FeeAmount
75         NetAmount
76
77       Example:
78
79           my $records = $pp->TransactionSearch(
80               StartDate => '2006-03-21T22:29:55Z',
81               InvoiceID => '599294993',
82           );
83
84           for my $rec ( @$records ) {
85               print "Record:\n";
86               print "TransactionID: " . $rec->{TransactionID} . "\n";
87               print "Payer Email: " . $rec->{Payer} . "\n";
88               print "Amount: " . $rec->{GrossAmount} . "\n\n";
89           }
90
91   ERROR HANDLING
92       See the ERROR HANDLING section of Business::PayPal::API for information
93       on handling errors.
94
95   EXPORT
96       None by default.
97

SEE ALSO

99       <https://developer.paypal.com/en_US/pdf/PP_APIReference.pdf>
100

AUTHORS

102       •   Scott Wiersdorf <scott@perlcode.org>
103
104       •   Danny Hembree <danny@dynamical.org>
105
106       •   Bradley M. Kuhn <bkuhn@ebb.org>
107
109       This software is copyright (c) 2006-2017 by Scott Wiersdorf, Danny
110       Hembree, Bradley M. Kuhn.
111
112       This is free software; you can redistribute it and/or modify it under
113       the same terms as the Perl 5 programming language system itself.
114
115
116
117perl v5.34.0                      20B2u1s-i0n7e-s2s2::PayPal::API::TransactionSearch(3)
Impressum