Anchor to section titled 'undefined'

PaymentCustomizationErrorCode
enum

Possible error codes that can be returned by PaymentCustomizationError.


value-customappfunctionnoteligible
CUSTOM_APP_FUNCTION_NOT_ELIGIBLE

Shop plan not eligible to use Functions from a custom app.

value-functiondoesnotimplement
FUNCTION_DOES_NOT_IMPLEMENT

Function does not implement the required interface.

value-functionidcannotbechanged
FUNCTION_ID_CANNOT_BE_CHANGED

Function ID cannot be changed.

value-functionnotfound
FUNCTION_NOT_FOUND

Function not found.

value-functionpendingdeletion
FUNCTION_PENDING_DELETION

Function is pending deletion.

The input value is invalid.

value-invalidmetafields
INVALID_METAFIELDS

Could not create or update metafields.

value-maximumactivepaymentcustomizations
MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS

Maximum payment customizations are already enabled.

value-paymentcustomizationfunctionnoteligible
PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE

Shop must be on a Shopify Plus plan to activate payment customizations from a custom app.

value-paymentcustomizationnotfound
PAYMENT_CUSTOMIZATION_NOT_FOUND

Payment customization not found.

value-requiredinputfield
REQUIRED_INPUT_FIELD

Required input field must be present.


Was this section helpful?

The error code.


Was this section helpful?
Map
PaymentCustomizationErrorCode