TTMSFNCCloudSumUp Class
Component that runs a card payment checkout flow and surfaces the checkout details, card details, and checkout events for design-time and run-time use.
API unit family: TMSFNCCloudSumUp
Inherits from: TTMSFNCCustomCloudSumUp
Syntax
TTMSFNCCloudSumUp = class(TTMSFNCCustomCloudSumUp)
Properties
Name
Description
Card
Card details submitted when the checkout is processed. (inherited from TTMSFNCCustomCloudSumUp)
Checkout
Checkout details (amount, currency, and description) used when creating a checkout. (inherited from TTMSFNCCustomCloudSumUp)
CheckoutError
Raw error text returned by the service when the last checkout failed. (inherited from TTMSFNCCustomCloudSumUp)
CheckoutID
Identifier of the checkout created during the current flow. (inherited from TTMSFNCCustomCloudSumUp)
MerchantID
Merchant code that identifies the account the checkout is created for. (inherited from TTMSFNCCustomCloudSumUp)
TransactionID
Identifier of the completed transaction once the payment is accepted. (inherited from TTMSFNCCustomCloudSumUp)
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. (inherited from TTMSFNCCustomCloudSumUp)
VerifyCheckout
Requests the current status of an existing checkout and reports acceptance or pending state through the corresponding events. (inherited from TTMSFNCCustomCloudSumUp)
Events
Name
Description
OnCheckoutAccepted
Occurs when the payment has been accepted and the checkout is paid. (inherited from TTMSFNCCustomCloudSumUp)
OnCheckoutFailed
Occurs when the checkout could not be completed. (inherited from TTMSFNCCustomCloudSumUp)
OnCheckoutPending
Occurs when the checkout has been submitted but its final status is still pending. (inherited from TTMSFNCCustomCloudSumUp)
OnCreateCheckout
Occurs after the create-checkout request completes, before further processing. (inherited from TTMSFNCCustomCloudSumUp)
OnGetCheckoutAccess
Occurs after the access-token request used to authorize the checkout completes. (inherited from TTMSFNCCustomCloudSumUp)
OnProcessCheckout
Occurs after the process-checkout request that submits the card payment completes. (inherited from TTMSFNCCustomCloudSumUp)