PayPal Integrator V5 - Online Help
PayPal Integrator V5
Questions / Feedback?

CreatePreApproval Method

Sets up a preapproval transaction with PayPal.

Syntax

public void createPreApproval();

Remarks

Use this method to set up a preapprovals for a specific maximum amount over a specific period of time and, optionally, by any of the following constraints: the number of payments, a maximum per-payment amount, a specific day of the week or the month, and whether or not a PIN is required for each payment request.

To set up a preapproval request, you must specify values for the following required properties (in addition to your PayPal credentials):

StartingDateFirst date for which the preapproval is valid. It cannot be before today's date or after the EndingDate.
EndingDateLast date for which the preapproval is valid. It cannot be later than one year from the StartingDate.
MaxTotalPaymentAmountThe preapproved maximum total amount of all payments. It cannot exceed $2,000 USD or its equivalent in other currencies.
CurrencyCode The code for the currency in which the payment is made. You can specify only one currency, regardless of the number of recipients.
CancelURL URL to redirect the sender's browser to in the event he cancels the preapproval.
ReturnURL URL to redirect the sender's browser to after the sender has logged into PayPal and confirmed the preapproval.
ClientDetailsInformation about the sender to whom the preapproval will be sent.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0