BUYCheckoutError Constants Reference
| Declared in | BUYError.h |
|---|
BUYCheckoutError
A collection of enums for error codes specific to the SDK
Definition
typedef NS_ENUM(NSUInteger, BUYCheckoutError ) {
BUYShopifyError_CartFetchError,
BUYShopifyError_NoShippingMethodsToAddress,
BUYShopifyError_NoProductSpecified,
BUYShopifyError_InvalidProductID,
BUYShopifyError_NoCollectionIdSpecified,
BUYShopifyError_NoGiftCardSpecified,
BUYShopifyError_NoCreditCardSpecified,
BUYShopifyError_NoApplePayTokenSpecified,
BUYShopifyError_InvalidCheckoutObject,
};
Constants
BUYShopifyError_CartFetchError-
An error occurred retrieving the cart for an existing web checkout with BUYStoreViewController
Declared In
BUYError.h. BUYShopifyError_NoShippingMethodsToAddress-
No shipping rates are available for the selected address
Declared In
BUYError.h. BUYShopifyError_NoProductSpecified-
No product or product ID was provided when loading a product in BUYProductViewController
Declared In
BUYError.h. BUYShopifyError_InvalidProductID-
The product ID or IDs provided were invalid for the shop. Check that the product are made visible on the Mobile App channel on /admin.
Declared In
BUYError.h. BUYShopifyError_NoCollectionIdSpecified-
No collection ID was provided when loading a collection
Declared In
BUYError.h. BUYShopifyError_NoGiftCardSpecified-
No gift card code was provided when applying a gift card to a checkout
Declared In
BUYError.h. BUYShopifyError_NoCreditCardSpecified-
No credit card was provided when calling
storeCreditCard:completion:Declared In
BUYError.h. BUYShopifyError_NoApplePayTokenSpecified-
No Apple Pay token was provided when attempting to complete a checkout using Apple Pay
Declared In
BUYError.h. BUYShopifyError_InvalidCheckoutObject-
The checkout is invalid and does not have a checkout token. This generally means the BUYCheckout object has not been synced with Shopify via
createCheckout:completion:before making subsequent calls to update or complete the checkoutDeclared In
BUYError.h.
Declared In
BUYError.h