Subscription Contract Calculation Diagnostic Code
Diagnostic codes for subscription contract calculation errors and warnings.
Anchor to Valid valuesValid values
- BUNDLE_REQUIRES_MERCHANDISE_CUSTOMIZATIONS
- CALCULATION_TIMEOUT
- CURRENCY_NOT_SUPPORTED
- CUSTOM_VALIDATION
- CUSTOMER_CONTACT_METHOD_REQUIRED
- DELIVERY_ADDRESS_INVALID
- DELIVERY_METHOD_REQUIRED
- DELIVERY_METHOD_UNUSED
- DELIVERY_NO_LOCATION_SHIPS_TO_ADDRESS
- DELIVERY_PICKUP_LOCATION_UNAVAILABLE
- DISCOUNT_CODE_NOT_APPLIED
- INVALID
- MERCHANDISE_GIFT_CARD_INVALID
- MERCHANDISE_NOT_FOUND
- PAYMENT_METHOD_NOT_FOUND
- PROCESSING_ERROR
- Anchor to BUNDLE_REQUIRES_MERCHANDISE_CUSTOMIZATIONSBUNDLE_
REQUIRES_ MERCHANDISE_ CUSTOMIZATIONS The contract contains a bundle that could not be expanded; bundles are only supported when merchandise customizations are enabled.
- Anchor to CALCULATION_TIMEOUTCALCULATION_
TIMEOUT The calculation did not resolve in time. The calculation can be safely retried.
- Anchor to CURRENCY_NOT_SUPPORTEDCURRENCY_
NOT_ SUPPORTED The subscription contract currency is not supported by the shop.
- Anchor to CUSTOM_VALIDATIONCUSTOM_
VALIDATION A cart validation function produced a message.
- Anchor to CUSTOMER_CONTACT_METHOD_REQUIREDCUSTOMER_
CONTACT_ METHOD_ REQUIRED The customer has no contact method (email or phone) but the shop requires one to bill the contract.
- Anchor to DELIVERY_ADDRESS_INVALIDDELIVERY_
ADDRESS_ INVALID The delivery address is not valid.
- Anchor to DELIVERY_METHOD_REQUIREDDELIVERY_
METHOD_ REQUIRED The contract has items that require shipping, so a delivery method is required.
- Anchor to DELIVERY_METHOD_UNUSEDDELIVERY_
METHOD_ UNUSED The contract has a delivery method but no items that require shipping.
- Anchor to DELIVERY_NO_LOCATION_SHIPS_TO_ADDRESSDELIVERY_
NO_ LOCATION_ SHIPS_ TO_ ADDRESS No location can ship the contract's merchandise to the delivery address. Delivery may still proceed at billing time by falling back to a default location.
- Anchor to DELIVERY_PICKUP_LOCATION_UNAVAILABLEDELIVERY_
PICKUP_ LOCATION_ UNAVAILABLE The contract's pickup location can no longer fulfil the order — it was removed, disabled, or does not support pickup for the merchandise.
- Anchor to DISCOUNT_CODE_NOT_APPLIEDDISCOUNT_
CODE_ NOT_ APPLIED A requested discount code was not applied: it doesn't exist, isn't active, or isn't applicable to this subscription contract.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to MERCHANDISE_GIFT_CARD_INVALIDMERCHANDISE_
GIFT_ CARD_ INVALID A gift card merchandise line is invalid because its price is not greater than zero.
- Anchor to MERCHANDISE_NOT_FOUNDMERCHANDISE_
NOT_ FOUND The merchandise product variant could not be found.
- Anchor to PAYMENT_METHOD_NOT_FOUNDPAYMENT_
METHOD_ NOT_ FOUND The payment method could not be found.
- Anchor to PROCESSING_ERRORPROCESSING_
ERROR The calculation could not be completed due to an unexpected error.
Anchor to FieldsFields
- Anchor to SubscriptionContractCalculationDiagnostic.codeSubscription•OBJECT
Contract Calculation Diagnostic.code A diagnostic (error or warning) emitted during a subscription contract calculation.