Advanced Cart Implementations
Building custom cart flows on top of the standard checkout — pre-cart webhooks, hosted vs. self-managed carts, and other setups beyond basic add-to-cart links.
Integrate your own cart with Foxy
How to keep your existing cart experience and hand off to Foxy only for checkout — a good fit if you've already built cart functionality and just need secure, PCI-compliant payment processing.
Interact with the cart server-side
How to create and modify carts via server-side requests instead of browser-initiated links and forms.
Pass session variables through the cart
How to attach cart-wide custom data — like a referral source or affiliate ID — to a customer's session using the h: prefix, so it carries through checkout and shows up in transaction data.
Use the cart JSON output
How to use the Foxy cart JSON output to interact with the cart programmatically from your own code.