Busine...yments(3pm)
π NAME π
Business::PayPal::API::RecurringPayments β it's the PayPal RecurringPayments API wrapper, bestie. This is a 3pm page (you know, the "User Contributed Perl Documentation" girlies π
), so it's Perl module territory. Keep reading, it's a whole vibe.
π VERSION π
version 0.77 β¨
π SYNOPSIS π
okay so here's the whole flex, straight up:
use Business::PayPal::API::RecurringPayments;
my $pp = Business::PayPal::API::RecurringPayments->new( ... );
my %resp = $pp->FIXME
# Ask PayPal to charge a new transaction from the ReferenceID
# This method is used both for Recurring Transactions as well
# as for Express Checkout's MerchantInitiatedBilling, where
# ReferenceID is the BillingAgreementID returned from
# ExpressCheckout->DoExpressCheckoutPayment
my %payinfo = $pp->DoReferenceTransaction(
ReferenceID => $details{ReferenceID},
PaymentAction => 'Sale',
OrderTotal => '55.43'
);
π¦ DESCRIPTION π¦
β οΈ THIS MODULE IS NOT COMPLETE YET. PLEASE DO NOT REPORT ANY BUGS RELATED TO IT.
no fr fr, she's still under construction, please do NOT come for her with bug reports, she is not ready ππ
π DoReferenceTransaction π
This one wraps PayPal's WPP DoReferenceTransaction API call. The parameters it supports are:
ReferenceIDβ also known asBillingAgreementIDπPaymentActionβ defaults to'Sale'if you don't hand it onecurrencyIDβ defaults to'USD'if you don't hand it one
and then this whole little crew:
OrderTotalOrderDescriptionItemTotalShippingTotalHandlingTotalTaxTotalCustomInvoiceIDButtonSourceNotifyURL
plus the ST_ girlies:
ST_NameST_Street1ST_Street2ST_CityNameST_StateOrProvinceST_CountryST_PostalCodeST_Phone
and the PDI_ clique:
PDI_NamePDI_DescriptionPDI_AmountPDI_NumberPDI_QuantityPDI_Tax
all of them, as described in the PayPal "Web Services API Reference" document β¨
It hands you back a hash, and these are the keys in it:
BillingAgreementIDTransactionIDTransactionTypePaymentTypePaymentDateGrossAmountFeeAmountSettleAmountTaxAmountExchangeRatePaymentStatusPendingReasonReasonCode
Required fields, no skipping these ones periodt:
ReferenceID,OrderTotal
π SEE ALSO π
https://developer.paypal.com/en_US/pdf/PP_APIReference.pdfβ the source of truth, iykyk π«Ά
π AUTHORS π
- Scott Wiersdorf
<scott@perlcode.org> - Danny Hembree
<danny@dynamical.org> - Bradley M. Kuhn
<bkuhn@ebb.org>
absolute icons, all three of them π
π COPYRIGHT AND LICENSE π
So legally speaking, bestie: this software is copyright (c) 2006-2017 by Scott Wiersdorf, Danny Hembree, Bradley M. Kuhn. π«Ά
And it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay.
and that's the whole page, mwah π β it's perl v5.36.0, dated 2022-08-28, and the page you just read is Busine...yments(3pm). bye bestie, go charge somebody πβ¨
π¦ where this page comes from
- ubuntu noble: libbusiness-paypal-api-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbusiness-paypal-api-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbusiness-paypal-api-perl 0.77-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms