Learn how to use the helpers module to access system paths and constants in EverShop.
Wrap a function to make it hookable, allowing hooks to run before or after execution.
Get values from the registry asynchronously with optional processing and validation.
Get values from the registry synchronously with optional processing and validation.
Register a final processor that always executes last in the processor pipeline.
Wrap a function to make it hookable, allowing hooks to run before or after execution.
Learn how to use the Event Emitter to emit and subscribe to events asynchronously in EverShop.
Register a new payment method, with optional capture, void and refund handlers, in the EverShop checkout system.
Adds an item to the cart, merging quantities when the same SKU is already there. A hookable checkout service.
Get base query for products with descriptions, inventory, and images joined.
Get base query for products filtered by category with optional subcategories.
Provide the selectable regions (states, cities, wards) of a country.
Resolve the address form of a country: fields, labels, requiredness, patterns.
Map a stored address to the consumer-neutral shape payment and carrier integrations build their payloads from.
Read shipments, compute the order shipment rollup, and integrate carriers.
Capture the authorized payment of an order through its payment method's capture handler.
Refund a captured payment, in full or in part, through the order's payment method's refund handler.
Record a refund that already happened at the payment provider, set the payment status and emit order_refunded.
Retrieve a delegate value set by an earlier middleware in the request pipeline.
Read merchant-configured store settings, synchronously or asynchronously.