Type Alias: ZynoSalesSharedOptions
ZynoSalesSharedOptions =
object
Common storefront configuration shared by environment and explicit-base setup.
Properties
fetch?
optionalfetch?: typeoffetch
Custom fetch implementation for tests or non-browser hosts. Defaults to global fetch.
hooks?
optionalhooks?:ZynoSalesHooks
Lifecycle callbacks for cart changes, payment policy, and completed orders.
publishableKey
publishableKey:
string
Storefront publishable key (zs_pk_...). Safe to embed in browser bundles.
sessionStorage?
optionalsessionStorage?:ZynoSalesStorage
Session storage for payment recovery markers. Defaults to sessionStorage in browsers.
storage?
optionalstorage?:ZynoSalesStorage
Persistent storage for cart/order capabilities. Defaults to localStorage in browsers.