Skip to main content
Log inSign up
Anchor to PaymentCustomizationErrorCode

PaymentCustomizationErrorCode

enum

Possible error codes that can be returned by PaymentCustomizationError.

Anchor to CUSTOM_APP_FUNCTION_NOT_ELIGIBLECUSTOM_APP_FUNCTION_NOT_ELIGIBLE
•

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

Anchor to FUNCTION_DOES_NOT_IMPLEMENTFUNCTION_DOES_NOT_IMPLEMENT
•

Function does not implement the required interface.

Anchor to FUNCTION_ID_CANNOT_BE_CHANGEDFUNCTION_ID_CANNOT_BE_CHANGED
•

Function ID cannot be changed.

•

Function not found.

Anchor to FUNCTION_PENDING_DELETIONFUNCTION_PENDING_DELETION
•

Function is pending deletion.

•

The input value is invalid.

•

Could not create or update metafields.

Anchor to MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONSMAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS
•

Maximum payment customizations are already enabled.

Anchor to PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLEPAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE
•

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

Anchor to PAYMENT_CUSTOMIZATION_NOT_FOUNDPAYMENT_CUSTOMIZATION_NOT_FOUND
•

Payment customization not found.

Anchor to REQUIRED_INPUT_FIELDREQUIRED_INPUT_FIELD
•

Required input field must be present.


Was this section helpful?


Was this section helpful?