StartSdk
This function initializes the Khipu SDK with the configuration set on the input .json.
Parameter Configuration
This function requires you to run the Khipu Customization JSON with the initialization configuration for the SDK. Read Input Registers to learn more.
Function ID
Register | Value |
---|---|
110 | 1 |
Input Registers
Register | Description | Mandatory | Value |
---|---|---|---|
390 | Khipu Customization JSON. JSON used to configure the SDK's initialization parameters. | Yes | { "mainButtonStyle": 0, "credentialsSaving": true, "hideWebAddress":false, "includeSkipExitPage":true, "includeProgressDialog":true, "progressDialogResource": "", "decimalSeparator": ".", "groupingSeparator": ",", "clearCookiesBeforeStart":true, "autoSubmitWhenCompleted":true, "fontResource": "" } |
Initialization Parameters
You can configure a set of parameters to define how to initialize the SDK. See the table below to learn how to configure them.
MainButtonStyle | This parameter defines the style of the "Continue" button on every screen. Insert "0" to add the button inside the form, or insert "1" to add the button to the toolbar. |
CredentialsSaving | Boolean parameter to choose whether the user's credentials are stored or not. |
hideWebAddress | Boolean parameter used to show or hide the navigation bar. |
includeSkipExitPage | This parameter allows you to add or delete a button to cancel payments. |
includeProgressDialog | This option is unavailable. |
progressDialogResource | This option is unavailable. |
decimalSeparator | This parameter allows you to choose the decimal separator. |
groupingSeparator | This parameter allows you to choose the thousands separator. |
autoSubmitWhenCompleted | With this parameter, you can choose to move forward on a form automatically once every field is completed. |
fontResource | This option is unavailable. |
Output Registers
Register | Description | Value | ||||||
---|---|---|---|---|---|---|---|---|
112 | Call Result |
|