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

NAME

6       Business::PayPal::API::RecurringPayments - PayPal RecurringPayments API
7

VERSION

9       version 0.77
10

SYNOPSIS

12           use Business::PayPal::API::RecurringPayments;
13
14           my $pp = Business::PayPal::API::RecurringPayments->new( ... );
15
16           my %resp = $pp->FIXME
17
18           # Ask PayPal to charge a new transaction from the ReferenceID
19           # This method is used both for Recurring Transactions as well
20           # as for Express Checkout's MerchantInitiatedBilling, where
21           # ReferenceID is the BillingAgreementID returned from
22           # ExpressCheckout->DoExpressCheckoutPayment
23
24           my %payinfo = $pp->DoReferenceTransaction(
25               ReferenceID   => $details{ReferenceID},
26               PaymentAction => 'Sale',
27               OrderTotal    => '55.43'
28           );
29

DESCRIPTION

31       THIS MODULE IS NOT COMPLETE YET. PLEASE DO NOT REPORT ANY BUGS RELATED
32       TO IT.
33
34   DoReferenceTransaction
35       Implements PayPal's WPP DoReferenceTransaction API call. Supported
36       parameters include:
37
38         ReferenceID (aka BillingAgreementID)
39         PaymentAction (defaults to 'Sale' if not supplied)
40         currencyID (defaults to 'USD' if not supplied)
41
42         OrderTotal
43         OrderDescription
44         ItemTotal
45         ShippingTotal
46         HandlingTotal
47         TaxTotal
48         Custom
49         InvoiceID
50         ButtonSource
51         NotifyURL
52
53         ST_Name
54         ST_Street1
55         ST_Street2
56         ST_CityName
57         ST_StateOrProvince
58         ST_Country
59         ST_PostalCode
60         ST_Phone
61
62         PDI_Name
63         PDI_Description
64         PDI_Amount
65         PDI_Number
66         PDI_Quantity
67         PDI_Tax
68
69       as described in the PayPal "Web Services API Reference" document.
70
71       Returns a hash with the following keys:
72
73         BillingAgreementID
74         TransactionID
75         TransactionType
76         PaymentType
77         PaymentDate
78         GrossAmount
79         FeeAmount
80         SettleAmount
81         TaxAmount
82         ExchangeRate
83         PaymentStatus
84         PendingReason
85         ReasonCode
86
87       Required fields:
88
89         ReferenceID, OrderTotal
90

SEE ALSO

92       <https://developer.paypal.com/en_US/pdf/PP_APIReference.pdf>
93

AUTHORS

95       •   Scott Wiersdorf <scott@perlcode.org>
96
97       •   Danny Hembree <danny@dynamical.org>
98
99       •   Bradley M. Kuhn <bkuhn@ebb.org>
100
102       This software is copyright (c) 2006-2017 by Scott Wiersdorf, Danny
103       Hembree, Bradley M. Kuhn.
104
105       This is free software; you can redistribute it and/or modify it under
106       the same terms as the Perl 5 programming language system itself.
107
108
109
110perl v5.36.0                      20B2u3s-i0n1e-s2s0::PayPal::API::RecurringPayments(3)
Impressum