Table of Contents

TTMSFNCCloudPayPal Class

Drop-in component for processing payments through PayPal.

API unit family: TMSFNCCloudPayPal Inherits from: TTMSFNCCustomCloudPayPal

Syntax

TTMSFNCCloudPayPal = class(TTMSFNCCustomCloudPayPal)

Remarks

Configure APIEnvironment and credentials, set up the payment, then call DoPayment; outcomes are reported through the payment events.

Properties

Name Description
APIEnvironment Target PayPal environment used for requests. (inherited from TTMSFNCCustomCloudPayPal)
Payment Payment details for the current operation. (inherited from TTMSFNCCustomCloudPayPal)
PaymentError Error information for the most recent failed operation. (inherited from TTMSFNCCustomCloudPayPal)
Transaction Transaction details for the completed payment. (inherited from TTMSFNCCustomCloudPayPal)

Methods

Name Description
DoPayment Starts the payment flow for the configured payment. (inherited from TTMSFNCCustomCloudPayPal)

Events

Name Description
OnCreatePayment Occurs when a payment has been created. (inherited from TTMSFNCCustomCloudPayPal)
OnExecutePayment Occurs when a payment has been executed. (inherited from TTMSFNCCustomCloudPayPal)
OnGetPaymentAccess Occurs when payment access has been obtained. (inherited from TTMSFNCCustomCloudPayPal)
OnPaymentAccepted Occurs when the payment is accepted. (inherited from TTMSFNCCustomCloudPayPal)
OnPaymentCancelled Occurs when the buyer cancels the payment. (inherited from TTMSFNCCustomCloudPayPal)
OnPaymentFailed Occurs when the payment fails. (inherited from TTMSFNCCustomCloudPayPal)