TTMSFNCCustomCloudSumUp Class
Base class that runs a card payment checkout flow against the payment service: it obtains an access token, creates a checkout, processes the card payment, handles 3-D Secure authentication when required, and reports the outcome.
API unit family: TMSFNCCloudSumUp
Inherits from: TTMSFNCSimpleCloudOAuth
Syntax
TTMSFNCCustomCloudSumUp = class(TTMSFNCSimpleCloudOAuth)
Properties
| Name | Description |
|---|---|
| CheckoutError | Raw error text returned by the service when the last checkout failed. |
| CheckoutID | Identifier of the checkout created during the current flow. |
| TransactionID | Identifier of the completed transaction once the payment is accepted. |
Methods
| Name | Description |
|---|---|
| DoCheckout | Starts the full checkout flow: it clears the previous result, obtains an access token, creates the checkout, and processes the card payment using the configured Checkout and Card details. |
| VerifyCheckout | Requests the current status of an existing checkout and reports acceptance or pending state through the corresponding events. |