stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PaymentCustomizationErrorCode

AdminTypes.PaymentCustomizationErrorCode enum

Possible error codes that can be returned by PaymentCustomizationError.

Signature:

export declare enum PaymentCustomizationErrorCode 

Enumeration Members

Member Value Description
CustomAppFunctionNotEligible "CUSTOM_APP_FUNCTION_NOT_ELIGIBLE" Shop plan not eligible to use Functions from a custom app.
FunctionDoesNotImplement "FUNCTION_DOES_NOT_IMPLEMENT" Function does not implement the required interface.
FunctionIdCannotBeChanged "FUNCTION_ID_CANNOT_BE_CHANGED" Function ID cannot be changed.
FunctionNotFound "FUNCTION_NOT_FOUND" Function not found.
FunctionPendingDeletion "FUNCTION_PENDING_DELETION" Function is pending deletion.
Invalid "INVALID" The input value is invalid.
InvalidMetafields "INVALID_METAFIELDS" Could not create or update metafields.
MaximumActivePaymentCustomizations "MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS" Maximum payment customizations are already enabled.
PaymentCustomizationFunctionNotEligible "PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE" Shop must be on a Shopify Plus plan to activate payment customizations from a custom app.
PaymentCustomizationNotFound "PAYMENT_CUSTOMIZATION_NOT_FOUND" Payment customization not found.
RequiredInputField "REQUIRED_INPUT_FIELD" Required input field must be present.