SecureFieldsErrors
const SecureFieldsErrors: object;
Error codes and messages for the Secure Fields SDK.
Type Declaration
CONTAINER_NOT_FOUND
readonly CONTAINER_NOT_FOUND: object;
CONTAINER_NOT_FOUND.code
readonly code: "CONTAINER_NOT_FOUND" = 'CONTAINER_NOT_FOUND';
CONTAINER_NOT_FOUND.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsFieldConfig#target" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsFieldConfig#target';
CONTAINER_NOT_FOUND.message
readonly message: "Container element not found in the DOM" = 'Container element not found in the DOM';
FIELD_CONFIG_REQUIRED
readonly FIELD_CONFIG_REQUIRED: object;
FIELD_CONFIG_REQUIRED.code
readonly code: "FIELD_CONFIG_REQUIRED" = 'FIELD_CONFIG_REQUIRED';
FIELD_CONFIG_REQUIRED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#fields" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#fields';
FIELD_CONFIG_REQUIRED.message
readonly message: "Fields configuration is mandatory for SDK initialization" = 'Fields configuration is mandatory for SDK initialization';
FIELD_RENDER_FAILED
readonly FIELD_RENDER_FAILED: object;
FIELD_RENDER_FAILED.code
readonly code: "FIELD_RENDER_FAILED" = 'FIELD_RENDER_FAILED';
FIELD_RENDER_FAILED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/';
FIELD_RENDER_FAILED.message
readonly message: "Failed to render one or more fields" = 'Failed to render one or more fields';
FIELD_TARGET_INVALID
readonly FIELD_TARGET_INVALID: object;
FIELD_TARGET_INVALID.code
readonly code: "FIELD_TARGET_INVALID" = 'FIELD_TARGET_INVALID';
FIELD_TARGET_INVALID.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsFieldConfig#target" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsFieldConfig#target';
FIELD_TARGET_INVALID.message
readonly message: "Fields target must be valid DOM element IDs" = 'Fields target must be valid DOM element IDs';
FIELDS_NOT_RENDERED
readonly FIELDS_NOT_RENDERED: object;
FIELDS_NOT_RENDERED.code
readonly code: "FIELDS_NOT_RENDERED" = 'FIELDS_NOT_RENDERED';
FIELDS_NOT_RENDERED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit';
FIELDS_NOT_RENDERED.message
readonly message: "Fields must be rendered before performing this action" = 'Fields must be rendered before performing this action';
INIT_FAILED
readonly INIT_FAILED: object;
INIT_FAILED.code
readonly code: "INIT_FAILED" = 'INIT_FAILED';
INIT_FAILED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/';
INIT_FAILED.message
readonly message: "SDK initialization failed" = 'SDK initialization failed';
INSTANCE_DESTROYED
readonly INSTANCE_DESTROYED: object;
INSTANCE_DESTROYED.code
readonly code: "INSTANCE_DESTROYED" = 'INSTANCE_DESTROYED';
INSTANCE_DESTROYED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/';
INSTANCE_DESTROYED.message
readonly message: "Instance has been destroyed and cannot be used" = 'Instance has been destroyed and cannot be used';
INVALID_BRANDS
readonly INVALID_BRANDS: object;
INVALID_BRANDS.code
readonly code: "INVALID_BRANDS" = 'INVALID_BRANDS';
INVALID_BRANDS.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#brands" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#brands';
INVALID_BRANDS.message
readonly message: "One or more specified card brands are not supported" = 'One or more specified card brands are not supported';
INVALID_FORM
readonly INVALID_FORM: object;
INVALID_FORM.code
readonly code: "INVALID_FORM" = 'INVALID_FORM';
INVALID_FORM.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit';
INVALID_FORM.message
readonly message: "Form validation failed - check field values" = 'Form validation failed - check field values';
NETWORK_ERROR
readonly NETWORK_ERROR: object;
NETWORK_ERROR.code
readonly code: "NETWORK_ERROR" = 'NETWORK_ERROR';
NETWORK_ERROR.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/';
NETWORK_ERROR.message
readonly message: "Network request failed - check your connection" = 'Network request failed - check your connection';
NOT_SUPPORTED_FIELD
readonly NOT_SUPPORTED_FIELD: object;
NOT_SUPPORTED_FIELD.code
readonly code: "NOT_SUPPORTED_FIELD" = 'NOT_SUPPORTED_FIELD';
NOT_SUPPORTED_FIELD.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#fields" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Configuration/SecureFieldsConfig#fields';
NOT_SUPPORTED_FIELD.message
readonly message: "The specified field type is not supported" = 'The specified field type is not supported';
TENANT_ID_FORMAT_MISMATCH_VENDOR
readonly TENANT_ID_FORMAT_MISMATCH_VENDOR: object;
TENANT_ID_FORMAT_MISMATCH_VENDOR.code
readonly code: "TENANT_ID_FORMAT_MISMATCH_VENDOR" = 'TENANT_ID_FORMAT_MISMATCH_VENDOR';
TENANT_ID_FORMAT_MISMATCH_VENDOR.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/#prerequisites" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/#prerequisites';
TENANT_ID_FORMAT_MISMATCH_VENDOR.message
readonly message: "Tenant ID format mismatch the one implied by vendor" = 'Tenant ID format mismatch the one implied by vendor';
TENANT_ID_REQUIRED
readonly TENANT_ID_REQUIRED: object;
This is a custom doc
TENANT_ID_REQUIRED.code
readonly code: "TENANT_ID_REQUIRED" = 'TENANT_ID_REQUIRED';
TENANT_ID_REQUIRED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/#prerequisites" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/#prerequisites';
TENANT_ID_REQUIRED.message
readonly message: "Tenant ID is required for Secure Fields initialization" = 'Tenant ID is required for Secure Fields initialization';
TOKENIZATION_FAILED
readonly TOKENIZATION_FAILED: object;
TOKENIZATION_FAILED.code
readonly code: "TOKENIZATION_FAILED" = 'TOKENIZATION_FAILED';
TOKENIZATION_FAILED.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/sdk-references/Core/SecureFieldsClient#submit';
TOKENIZATION_FAILED.message
readonly message: "Failed to tokenize payment information" = 'Failed to tokenize payment information';
UNEXPECTED_ERROR
readonly UNEXPECTED_ERROR: object;
UNEXPECTED_ERROR.code
readonly code: "UNEXPECTED_ERROR" = 'UNEXPECTED_ERROR';
UNEXPECTED_ERROR.documentationLink
readonly documentationLink: "https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/" = 'https://docs.purse.tech/docs/integrate/purse-checkout/advanced-flow/';
UNEXPECTED_ERROR.message
readonly message: "An unexpected error occurred" = 'An unexpected error occurred';