Transaction Options
This class can be used to specify miscellaneous options related to the transaction.
Properties
Your unique callback scheme to be used by the external web process (for example PayPal) to return to the merchant app.
An App Link to be used by other apps (e.g. card issuer app) to return to the merchant app. Important: The URL must start with https://, custom schemes are not supported for this type of callback.
Option to automatically perform authorization in the background after a user has authenticated and confirmed a transaction. This is useful when a transaction is confirmed in a third-party app but the user fails to return to your app to finish the process. The transaction is then automatically authorized by the backend and a webhook is sent. Important: If you use this option, you must implement webhooks. Since transactions are potentially finalized when your app is not visible, you must make sure that users are notified through other means about successful payments. Also, if your app is killed while in the background, it cannot be notified by the SDK about the transaction status. Please make sure to check whether a previously started transaction has been completed while your app was in the background and update your UI accordingly.
Use this setting to choose which label to display for the card option in the payment method selection: "Credit card", "Debit card", or "Credit or debit card". The latter is used by default.
Sometimes, apps display a loading animation before starting the SDK. You can set the customInitialLoader option if you want to keep showing this animation instead of the SDK’s loader during initial SDK network requests. IMPORTANT: Your loader must be visible before starting the SDK. Be aware that the SDK blocks user input. Your loading screen can not have a cancel button or give the impression that users can still interact with the UI.
Specify the GooglePayConfig object here. This is mandatory for Google Pay transactions.
Specify this option to control when the DCC (Dynamic Currency Conversion) screen is presented for payments with saved cards (alias/tokenized payments). The default is DCCShowMode.ALWAYS, meaning DCC is always shown when available. See DCCShowMode for additional information.
Use this setting to display or hide critical errors.