{"playbook":"E-commerce and fulfilment","url":"https://agentwranglers.se/playbook/ecommerce","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"ECM-1","revision":"1d64208d12f6","updated":"2026-10-22","name":"Give every variant its own SKU","level":"Recommended","rule":"Model each product as a parent with one variant per sellable combination of options, such as size and colour. Give each variant its own SKU, stable internal ID, price per currency and stock count.","check":"A schema test finds a foreign key from every cart line, order line and stock row to the variant table. A query finds no variant without a SKU, a price in each sold currency and a stock row.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/variant-skus","related":["/playbook/payments/amounts-and-orders/money-in-minor-units","/playbook/payments/currencies-and-settlement/price-per-currency"],"sources":[]},{"id":"ECM-2","revision":"0b8e49f332d0","updated":"2026-10-27","name":"Reusing a SKU for a different item","level":"Avoid","rule":"Never give a retired SKU or variant ID to a new item, and never change the SKU of a variant that has orders. Archive the old variant and create a new one.","check":"The variant table has a unique constraint on SKU that includes archived rows. A test that archives a variant and creates a new one with the same SKU fails. An update to the SKU of a variant with order lines is rejected.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/never-reuse-skus","related":["/playbook/agents-as-users/ready-for-ai-agents/resolve-retired-ids"],"sources":[]},{"id":"ECM-3","revision":"551328e541e2","updated":"2026-10-27","name":"Show the unit price beside the selling price","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"For goods sold to EU consumers by weight, volume, length or area, show the price per kilogram, litre, metre or square metre. Put it next to the selling price on product pages, lists and adverts.","check":"A test lists every variant sold by weight, volume, length or area. Each has a net quantity, and its product page, list tile and feed entry show a unit price that equals price divided by quantity.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/unit-price","related":["/playbook/payments/price-display-and-consumer-law/total-price-upfront"],"sources":["https://eur-lex.europa.eu/eli/dir/1998/6/oj"]},{"id":"ECM-4","revision":"f57140f42eaf","updated":"2026-10-22","name":"Describe each product for machines from the same data","level":"Recommended","rule":"Give every product page schema.org `Product` markup with one `Offer` per variant. Build its price, currency and availability from the same server data that renders the visible page.","check":"A test renders every product page and compares each `Offer` price, currency and availability with the visible price and stock state. They match for every variant.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/product-markup","related":["/playbook/seo/search-spam-and-penalties/misleading-structured-data","/playbook/seo/search-result-appearance/structured-data"],"sources":["https://schema.org/Product","https://developers.google.com/search/docs/appearance/structured-data/product"]},{"id":"ECM-5","revision":"001f00afed45","updated":"2026-10-22","name":"List the countries where each product may be sold","level":"Recommended","rule":"Store, per product, the countries it may be sold and shipped to and any age limit. Block checkout for any other destination on the server.","check":"A test puts a product limited to two countries in a cart with an address in a third country. The order is refused on the server with a message that names the product.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/sale-countries","related":["/playbook/localization/language-laws/product-safety-language","/playbook/ecommerce/carts-and-checkout/delivery-restrictions-upfront","/playbook/ecommerce/catalog-and-prices/product-offer-safety-details"],"sources":[]},{"id":"ECM-45","revision":"289b30ddb6ef","updated":"2026-10-27","name":"Show the maker and safety details on every product offer","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Every online offer of a consumer product in the EU shows the manufacturer's name, postal address and email address. It also shows a picture, the type, an identifier and every warning from the label. A maker outside the EU adds the EU responsible person.","check":"A query over products offered in an EU country finds none with an empty manufacturer name, postal address, email address, picture or identifier. A query finds no product whose maker is outside the EU without an EU responsible person. A browser test opens one product page and finds each field in the page text.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/product-offer-safety-details","related":["/playbook/localization/language-laws/product-safety-language","/playbook/ecommerce/catalog-and-prices/sale-countries"],"sources":["https://eur-lex.europa.eu/eli/reg/2023/988/oj"]},{"id":"ECM-46","revision":"04cff987c248","updated":"2026-10-27","name":"Tell customers when a price is personalised for them","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"When software sets a price for one customer from their profile or behaviour, say so on the product page and before the order. Store on each order line whether its price was personalised.","check":"A test applies a personalised price rule to a cart. The product page and the order summary show the notice, and the order line stores personalised as true. A query finds no price rule without a value for the personalised flag.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/catalog-and-prices/personalised-price-notice","related":["/playbook/pricing/plans-and-prices/price-catalogue","/playbook/compliance/records-and-data-map/records-of-processing","/playbook/analytics/experiments/no-price-or-vulnerable-tests"],"sources":["https://eur-lex.europa.eu/eli/dir/2019/2161/oj"]},{"id":"ECM-6","revision":"539917f30d74","updated":"2026-10-27","name":"Keep one writer for each stock count","level":"Recommended","rule":"Let one service or module change each stock count, and record every change as a stock movement with a reason. Every other part of the system asks it or listens to it.","check":"A search of the code finds writes to the stock table only inside the stock module. A nightly job sums the movements per variant and location, and the sum equals the stored count for every row.","check_type":"static","url":"https://agentwranglers.se/playbook/ecommerce/stock-and-reservations/one-stock-writer","related":["/playbook/payments/payment-events-and-reconciliation/payment-ledger","/playbook/events/publishing-events/outbox","/playbook/ecommerce/stock-and-reservations/channel-stock-sync","/playbook/ecommerce/shipping-and-delivery/failed-delivery","/playbook/ecommerce/returns-and-refunds/returns-by-line","/playbook/ux-design/deceptive-design/fake-urgency"],"sources":[]},{"id":"ECM-7","revision":"79cca3a7dc6e","updated":"2026-10-27","name":"Decrement stock in one conditional update","level":"Recommended","rule":"Take stock with one database statement that checks and changes the count together, such as an update with `available >= quantity` in its condition. Never read the count, decide in code and write it back.","check":"A test sets a variant's stock to 1 and sends 20 checkout requests for it at once. Exactly one order holds the item, the other 19 get an out-of-stock answer, and the count is 0, never -1.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/stock-and-reservations/atomic-stock-decrement","related":["/playbook/data/transactions-and-concurrency/conditional-writes","/playbook/application-security/limits-and-business-logic/race-conditions","/playbook/ecommerce/stock-and-reservations/checkout-reservations"],"sources":[]},{"id":"ECM-8","revision":"009a500face9","updated":"2026-10-22","name":"Reserve stock at checkout and release it on timeout","level":"Recommended","rule":"Reserve the items when checkout starts payment, with an expiry such as 15 minutes. Turn the reservation into an allocation when payment succeeds, and release it when it expires or payment fails.","check":"A test reserves the last item, waits past the expiry and runs the release job. The item is available again. A second test confirms payment after release with no stock left, and the order is refunded and cancelled automatically.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/stock-and-reservations/checkout-reservations","related":["/playbook/ecommerce/stock-and-reservations/atomic-stock-decrement","/playbook/ecommerce/fraud-and-delivery-proof/order-fraud-signals"],"sources":[]},{"id":"ECM-9","revision":"6ef7df98953b","updated":"2026-10-22","name":"Feed every sales channel from one stock count","level":"Recommended","rule":"When you sell on several channels, such as your shop, marketplaces and a till, push each channel its available quantity from the one stock count. Hold back a buffer per channel that updates more slowly than five minutes.","check":"A test changes a variant's count and reads every channel's listing API within five minutes. Each shows the count minus its buffer. A test drops one update message, and the next push still sets the correct absolute quantity.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/stock-and-reservations/channel-stock-sync","related":["/playbook/ecommerce/stock-and-reservations/one-stock-writer"],"sources":[]},{"id":"ECM-10","revision":"c280860d27b7","updated":"2026-10-22","name":"Sell preorders and backorders only with a shipping date","level":"Recommended","rule":"Sell an item that is not in stock only when the product page and the cart show the date you expect to ship it. Count preorders against the incoming quantity, never against unlimited stock.","check":"A test puts a variant with zero stock and no incoming quantity in the cart, and checkout refuses it. A variant with incoming stock shows the same shipping date on the product page, the cart and the confirmation email. Its sales stop at the incoming quantity.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/stock-and-reservations/preorders-and-backorders","related":["/playbook/ecommerce/orders-and-fulfilment/shipping-time-promise","/playbook/ecommerce/orders-and-fulfilment/capture-on-shipment"],"sources":["https://www.ftc.gov/business-guidance/resources/business-guide-ftcs-mail-internet-or-telephone-order-merchandise-rule","https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-11","revision":"19a72f6978a9","updated":"2026-10-27","name":"Let guests check out without an account","level":"Recommended","rule":"Let people buy without creating an account. Keep a guest cart under a random token in a cookie, and let guests find their order with the order number and the email address.","check":"A browser test buys a product with no account and gets a confirmation email. A lookup with that order number and another email address shows nothing and sends nothing. The cart cookie has `HttpOnly`, `Secure` and `SameSite` set.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/guest-checkout","related":["/playbook/application-security/authentication-and-sessions/secure-random-tokens","/playbook/accounts/sign-up/identifier-normalisation"],"sources":[]},{"id":"ECM-12","revision":"3c813ffcb00f","updated":"2026-10-27","name":"Merge the guest cart into the account cart on sign-in","level":"Recommended","rule":"When a guest signs in, merge their guest cart into the account's saved cart in one transaction, then delete the guest cart. For a variant in both, keep the larger quantity, capped at the per-product limit.","check":"A guest cart holds 2 of variant A. The account cart holds 1 of A and 1 of B. Then the guest signs in. The cart holds 2 of A and 1 of B, the guest cart is gone, and the old cart token opens nothing.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/cart-merge","related":["/playbook/application-security/authentication-and-sessions/session-cookies"],"sources":[]},{"id":"ECM-13","revision":"fe141ecb927e","updated":"2026-10-27","name":"Recheck prices and stock when the order is placed","level":"Recommended","rule":"When the buyer places the order, recompute every price, discount, shipping cost and tax on the server and check stock again. If the total differs from what the buyer saw, show the new total and ask again before charging.","check":"A test raises a price after the cart was shown and then places the order. No payment is created, and the answer carries the new total. A second request with the new total succeeds.","check_type":"http","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/recheck-at-checkout","related":["/playbook/application-security/limits-and-business-logic/server-side-business-rules","/playbook/payments/amounts-and-orders/order-snapshot"],"sources":[]},{"id":"ECM-14","revision":"b72a6bc26f76","updated":"2026-10-27","name":"Show delivery limits and payment methods when checkout starts","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Show the countries you deliver to, any other delivery limits and every accepted payment method. Show them on the shop pages, at the latest on the first checkout page. Never reveal them only after the buyer enters an address.","check":"A browser test opens the cart and the first checkout page. Both show the delivery countries and the accepted payment methods, and the lists equal the ones the checkout server accepts.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/delivery-restrictions-upfront","related":["/playbook/ecommerce/catalog-and-prices/sale-countries","/playbook/payments/price-display-and-consumer-law/no-card-surcharge"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-52","revision":"341cf7bb881e","updated":"2026-10-27","name":"Never add paid extras through a pre-ticked box","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Add a paid extra, such as insurance, gift wrap or a donation, to an EU consumer's order only after they ticked or chose it themselves. Every option that costs money starts unticked.","check":"A browser test opens every checkout step as an EU consumer and reads each checkbox and toggle that adds a cost. None is checked when the page loads. A server test places an order with no extras chosen, and its total equals the main lines plus mandatory fees and shipping.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/no-pre-ticked-extras","related":["/playbook/payments/price-display-and-consumer-law/total-price-upfront","/playbook/ux-design/deceptive-design/equal-choices"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-15","revision":"39fd33b83537","updated":"2026-10-27","name":"Sell to customers from every EU country on the same terms","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Accept any EU customer's order on your normal terms when the goods go to a country or collection point you serve. Never refuse or reprice them because of their nationality, residence, card country or billing address.","check":"A test orders as a customer with a billing address and card from another EU country and a delivery address in a country you serve. The order succeeds at the same price as a local customer's order.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/geo-blocking-access","related":["/playbook/localization/locales-and-preferences/avoid-auto-geo-redirects"],"sources":["https://eur-lex.europa.eu/eli/reg/2018/302/oj"]},{"id":"ECM-17","revision":"e44e6ef9332a","updated":"2026-10-27","name":"Collect import VAT and duty before the parcel crosses a border","level":"Recommended","rule":"When you ship from outside the buyer's customs area, show and collect import VAT and duty at checkout, and ship with them paid. Never leave the buyer to pay unknown fees at the door.","check":"A test checks out one cross-border order into the EU and one into the US. Each shows the duty and import tax before payment, and the shipment goes out with duties paid.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/carts-and-checkout/import-duties-at-checkout","related":["/playbook/payments/price-display-and-consumer-law/total-price-upfront","/playbook/ecommerce/shipping-and-delivery/failed-delivery"],"sources":["https://taxation-customs.ec.europa.eu/news/guidance-and-legal-text-temporary-flat-fee-low-value-imports-which-will-apply-until-1-july-2028-2026-06-08_en","https://www.cbp.gov/newsroom/national-media-release/cbp-ready-enforce-end-de-minimis-loophole-securing-borders-and"]},{"id":"ECM-18","revision":"d31ad4fb269c","updated":"2026-10-22","name":"Move each order line through a fixed set of fulfilment states","level":"Recommended","rule":"Give each order line a fulfilment state from a fixed list, with the allowed transitions written as data in one place. Log every transition with its time, its actor and its cause.","check":"A test tries every pair of line states. Only the listed transitions succeed, and each success writes one transition row with an actor and a cause. A query finds no line whose current state differs from its last transition row.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/fulfilment-states","related":["/playbook/payments/amounts-and-orders/payment-state-machine","/playbook/ecommerce/orders-and-fulfilment/product-recall-notices"],"sources":[]},{"id":"ECM-19","revision":"249db3f1e124","updated":"2026-10-22","name":"Group order lines into shipments","level":"Recommended","rule":"Model each parcel as a shipment that holds one or more order lines, with its own carrier, tracking number and delivery state. An order can have many shipments, and a line belongs to one shipment at a time.","check":"A test ships one order in two parcels and marks only the first delivered. The order shows \"partly delivered\", one line is delivered and the other is shipped. Each parcel has its own tracking link in the customer's order page.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/shipments","related":["/playbook/ecommerce/returns-and-refunds/withdrawal-period-per-shipment"],"sources":[]},{"id":"ECM-20","revision":"a99658b853fb","updated":"2026-10-22","name":"Authorise at checkout and capture when the goods ship","level":"Recommended","rule":"For physical goods paid by card, authorise the payment at checkout and capture it when the shipment leaves. Capture only the lines you ship, and release the rest.","check":"A test places an order for two items, ships one and cancels the other. The provider shows one capture for the shipped line and the remaining amount released. A daily query finds no uncaptured authorisation older than its expiry.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/capture-on-shipment","related":["/playbook/ecommerce/stock-and-reservations/preorders-and-backorders","/playbook/payments/payment-events-and-reconciliation/events-drive-fulfilment"],"sources":["https://docs.stripe.com/payments/place-a-hold-on-a-payment-method"]},{"id":"ECM-21","revision":"71bc1be4171b","updated":"2026-10-22","name":"Ship within the promised time or offer to cancel","level":"Required","risk":"law","rule":"Show a shipping or delivery time on every product you sell, and ship within it. When an order will be late, tell the buyer before the date. Give a new date and a free way to cancel for a full refund.","check":"A daily query lists unshipped lines within two days of their promised date. Each has a delay notice sent with a cancel link. A test cancels a late order through that link, and the refund is issued the same day.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/shipping-time-promise","related":["/playbook/ecommerce/stock-and-reservations/preorders-and-backorders"],"sources":["https://www.ftc.gov/business-guidance/resources/business-guide-ftcs-mail-internet-or-telephone-order-merchandise-rule","https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-22","revision":"1b35665b8848","updated":"2026-10-27","name":"Deliver downloads through short-lived links tied to the order","level":"Recommended","rule":"Deliver digital goods only after the payment is confirmed, through signed links that expire, such as after 24 hours. Let the buyer make a new link from their order page at any time.","check":"A test buys a download and fetches it through the link. The same link fails after its expiry, a link with another order's ID fails, and a fresh link from the order page works.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/digital-downloads","related":["/playbook/payments/payment-events-and-reconciliation/events-drive-fulfilment","/playbook/payments/price-display-and-consumer-law/early-start-consent","/playbook/files-and-media/uploads/presigned-uploads","/playbook/ecommerce/fraud-and-delivery-proof/delivery-proof"],"sources":[]},{"id":"ECM-23","revision":"445fa7c3b6a2","updated":"2026-10-27","name":"Hand out each licence key once","level":"Recommended","rule":"Assign licence keys, gift card codes and other single-use codes to an order line with one conditional update. Revoke the key when the line is refunded.","check":"A test sends 50 orders at once against a pool of 50 keys. Every order gets one key and no key goes to two orders. Refunding one order marks its key revoked.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/licence-keys-once","related":["/playbook/application-security/limits-and-business-logic/race-conditions"],"sources":[]},{"id":"ECM-47","revision":"ba299524c3da","updated":"2026-10-27","name":"Tell every buyer of a recalled product directly","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"When a product you sold in the EU is recalled or gets a safety warning, notify every buyer you can identify directly, without undue delay. Offer at least two remedies from repair, replacement and refund, free of charge.","check":"A test recalls one SKU and batch. Every buyer of that batch gets a notice whose subject starts with \"Product safety recall\", and buyers of other batches get none. The notice offers at least two remedies. A lint on the notice template fails on \"voluntary\", \"precautionary\" or \"discretionary\".","check_type":"static","url":"https://agentwranglers.se/playbook/ecommerce/orders-and-fulfilment/product-recall-notices","related":["/playbook/ecommerce/orders-and-fulfilment/fulfilment-states","/playbook/email/deliverability/mandated-notices"],"sources":["https://eur-lex.europa.eu/eli/reg/2023/988/oj"]},{"id":"ECM-24","revision":"3494234dff78","updated":"2026-10-27","name":"Quote the shipping cost before payment from the packed parcel","level":"Recommended","rule":"Compute each shipping option's price on the server from the destination, the weight and the parcel size of the cart's variants. Show every option with its price and delivery estimate before the buyer pays.","check":"A test prices a light cart and a heavy cart to the same address, and the heavy one costs more. With the carrier's rate API blocked, checkout still offers the fallback rates. The order's shipping line equals the option the buyer chose.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/shipping-rates","related":["/playbook/payments/tax/tax-service","/playbook/payments/price-display-and-consumer-law/total-price-upfront"],"sources":[]},{"id":"ECM-25","revision":"d4a441b8dca3","updated":"2026-10-27","name":"Check the delivery address before you buy the label","level":"Recommended","rule":"Check every delivery address against the country's postal format at checkout, and offer the corrected address when a lookup service suggests one. Let the buyer keep their own version.","check":"A test enters a Swedish address with a four-digit postcode, and checkout asks for a fix before payment. A test enters an address the lookup does not know, and the buyer can still confirm and order.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/delivery-address-check","related":["/playbook/localization/text-handling/international-names-and-addresses"],"sources":[]},{"id":"ECM-26","revision":"fa95004d17ba","updated":"2026-10-27","name":"Buy each shipping label once","level":"Recommended","rule":"Buy a label with an idempotency key made from the shipment ID, and store the label and tracking number before printing. Void every label that is not used within the carrier's void window.","check":"A test buys a label, makes the carrier answer time out, and retries 3 times. The carrier's test account shows one label. A weekly query finds no billed label without a shipped or voided shipment.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/idempotent-labels","related":["/playbook/api-design/reliability/idempotency-keys","/playbook/events/consuming-events/idempotent-consumers"],"sources":[]},{"id":"ECM-27","revision":"4bd69ba5f5d0","updated":"2026-10-27","name":"Update delivery status from carrier events","level":"Recommended","rule":"Take delivery status from the carrier's signed webhooks or tracking API, mapped from each carrier's codes into one list of your own. Tell the buyer at shipped, out for delivery, delivered and every exception.","check":"A test replays one carrier's delivered event twice and an older in-transit event after it. The shipment ends delivered, and the buyer gets one delivered email. A query finds no shipment without an event in more than 3 days that the daily poll skipped.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/carrier-tracking-events","related":["/playbook/events/webhooks/signed-webhooks","/playbook/events/consuming-events/idempotent-consumers","/playbook/notifications/channels-and-preferences/one-message-per-event","/playbook/ecommerce/returns-and-refunds/withdrawal-period-per-shipment"],"sources":[]},{"id":"ECM-28","revision":"10c477c7b1a4","updated":"2026-10-22","name":"Handle failed deliveries and parcels sent back","level":"Recommended","rule":"When a carrier reports a failed delivery or a parcel returning to you, contact the buyer the same day with their choices. Refund or reship within a set time, such as 3 working days after the parcel is back.","check":"A test sends a delivery-failed event, and the buyer gets a message with choices within one hour. A daily query finds no returned parcel older than 3 working days without a reship or a refund.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/failed-delivery","related":["/playbook/ecommerce/stock-and-reservations/one-stock-writer","/playbook/ecommerce/carts-and-checkout/import-duties-at-checkout"],"sources":[]},{"id":"ECM-29","revision":"aa8ea66995a3","updated":"2026-10-27","name":"Replace or refund parcels lost before delivery","level":"Required","risk":"money","applies":["eu-users"],"region":["EU"],"rule":"Treat a parcel lost or damaged before the buyer receives it as your loss. Reship or refund within a set time, such as 5 working days after the carrier confirms the loss. Claim from the carrier yourself.","check":"A daily query lists shipments marked lost or damaged more than 5 working days ago without a reship or a refund. It returns no rows.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/shipping-and-delivery/lost-parcels","related":["/playbook/ecommerce/fraud-and-delivery-proof/delivery-proof","/playbook/payments/refunds-disputes-and-fraud/provider-refunds"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-30","revision":"2956ed0d9747","updated":"2026-10-27","name":"Give the withdrawal information before the order and in the confirmation","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Before an EU consumer orders, show the conditions, time limit and steps for withdrawal, the model withdrawal form and who pays for the return. Say where the withdrawal button is. Repeat them in the order confirmation email, sent at the latest on delivery.","check":"A browser test reaches the order button as an EU consumer. The page links the withdrawal conditions, the model form and the return cost rule, and says where the withdrawal button is. The confirmation email for that order contains the same text and the form, and the email is sent before the shipment is marked delivered.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/withdrawal-information","related":["/playbook/ecommerce/returns-and-refunds/withdrawal-exceptions","/playbook/payments/price-display-and-consumer-law/eu-withdrawal-button"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj","https://eur-lex.europa.eu/eli/dir/2023/2673/oj"]},{"id":"ECM-31","revision":"c5fc8ae0f623","updated":"2026-10-27","name":"Start the withdrawal period when the last item arrives","level":"Recommended","region":["EU"],"rule":"Compute each EU order's withdrawal deadline from the delivery of its last item when one order arrives in several parcels. Use the first delivery for subscriptions to regular goods.","check":"A unit test delivers an order in two parcels on 1 March and 6 March. The deadline is 20 March for both items. A subscription delivered first on 1 March has a deadline of 15 March.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/withdrawal-period-per-shipment","related":["/playbook/ecommerce/orders-and-fulfilment/shipments","/playbook/ecommerce/shipping-and-delivery/carrier-tracking-events","/playbook/payments/price-display-and-consumer-law/eu-withdrawal-button"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-32","revision":"89e84cdd978e","updated":"2026-10-27","name":"Mark the products that have no right of withdrawal","level":"Recommended","region":["EU"],"rule":"Store on each product whether an exception to the EU right of withdrawal applies, and which one. Show it on the product page and before the order button, and accept returns for every other product.","check":"A query finds no product with an exception value outside the Article 16 list. A browser test views a personalised product and sees the notice on the product page and the order page. A return request for a sale item without an exception is accepted.","check_type":"http","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/withdrawal-exceptions","related":["/playbook/ecommerce/returns-and-refunds/withdrawal-information","/playbook/payments/price-display-and-consumer-law/early-start-consent"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-33","revision":"523f7924f054","updated":"2026-10-22","name":"Accept returns per order line","level":"Recommended","rule":"Let buyers return any line or quantity of a line through a return request on their order page. Track each returned unit from request to received, inspected and restocked or written off.","check":"A test returns 1 of 3 units on one line of a two-line order. Only that unit moves to returned, the stock rises by 1 after inspection, and the other lines keep their state.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/returns-by-line","related":["/playbook/ecommerce/stock-and-reservations/one-stock-writer","/playbook/ecommerce/returns-and-refunds/legal-guarantee"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-34","revision":"17cb3c449bfa","updated":"2026-10-22","name":"Refund exactly what each returned line cost","level":"Recommended","rule":"Compute each refund from the stored order lines, with order discounts spread across the lines and tax taken from the line. Refund the standard delivery cost when the whole order is withdrawn.","check":"A test orders two lines of 60 and 40 euros with a 10 euro order discount and returns the 40 euro line. The refund is 36 euros plus its tax share. Returning both lines also refunds the standard delivery, but not the express surcharge.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/refunds-by-line","related":["/playbook/payments/amounts-and-orders/allocate-remainders","/playbook/payments/amounts-and-orders/order-snapshot","/playbook/payments/refunds-disputes-and-fraud/withdrawal-refund-deadline","/playbook/ecommerce/promotions-and-claims/discount-order"],"sources":["https://eur-lex.europa.eu/eli/dir/2011/83/oj"]},{"id":"ECM-35","revision":"5d46a1695dc3","updated":"2026-10-27","name":"Handle guarantee claims apart from returns","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Accept claims for faulty goods from EU consumers for at least two years after delivery, as a separate flow from withdrawal. Offer repair or replacement free of charge, and extend the period by 12 months after a repair.","check":"A test files a fault claim on an order delivered 20 months ago, and it is accepted as a guarantee case. A test repairs an item and checks that its guarantee end date moved 12 months later.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/legal-guarantee","related":["/playbook/ecommerce/returns-and-refunds/returns-by-line","/playbook/ecommerce/returns-and-refunds/guarantee-notice"],"sources":["https://eur-lex.europa.eu/eli/dir/2019/771/oj","https://eur-lex.europa.eu/eli/dir/2024/1799/oj"]},{"id":"ECM-48","revision":"e82590feb202","updated":"2026-10-27","name":"Show the EU legal guarantee notice before the order","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Show the EU harmonised notice on the legal guarantee, in colour, on the shop and before the consumer orders. Show the harmonised label beside each product whose producer gives a free durability guarantee of more than two years.","check":"A browser test for an EU consumer finds the harmonised notice image on the shop and on the checkout page before the order button. A product with a three-year durability guarantee from its producer shows the label, and a product without one does not.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/returns-and-refunds/guarantee-notice","related":["/playbook/ecommerce/returns-and-refunds/legal-guarantee"],"sources":["https://eur-lex.europa.eu/eli/dir/2024/825/oj","https://eur-lex.europa.eu/eli/reg_impl/2025/1960/oj"]},{"id":"ECM-36","revision":"17581eb2ff17","updated":"2026-10-27","name":"Apply discounts on the server in one fixed order","level":"Recommended","rule":"Apply promotions in one documented order, such as line discounts, then order discounts, then shipping discounts, then tax. Write which promotions combine as data, and never let a line go below zero.","check":"A property test applies random sets of promotions to random carts. The total never falls below zero, no line is negative, and the same promotions in any input order give the same total.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/promotions-and-claims/discount-order","related":["/playbook/application-security/limits-and-business-logic/server-side-business-rules","/playbook/ecommerce/returns-and-refunds/refunds-by-line","/playbook/payments/price-display-and-consumer-law/price-reduction-prior-price"],"sources":[]},{"id":"ECM-37","revision":"5881f9511e00","updated":"2026-10-27","name":"Limit each coupon per customer instead of per account","level":"Recommended","rule":"Enforce each coupon's limits on the server, with a unique constraint on its use per customer. Count a customer by normalised email, payment card fingerprint and delivery address, not by account alone.","check":"A test uses a one-per-customer coupon from two new accounts with the same card and delivery address. The second order is refused the coupon. Ten parallel requests with one single-use code produce one discounted order.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/promotions-and-claims/coupon-limits","related":["/playbook/application-security/limits-and-business-logic/race-conditions","/playbook/accounts/sign-up/identifier-normalisation","/playbook/trust-and-safety/sign-up-fraud-and-abuse/ban-evasion"],"sources":[]},{"id":"ECM-49","revision":"28af619179ed","updated":"2026-10-27","name":"Never make green claims you cannot prove","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Never call a product or the business green, eco-friendly, climate neutral or similar without proof of recognised excellent environmental performance. Never show a sustainability label that no certification scheme or public authority gave.","check":"A lint runs over product text, badges and marketing pages with a list of claim words, such as eco-friendly, green and climate neutral. It finds none, unless the product has an evidence record. A query finds no label image without a certification scheme ID.","check_type":"static","url":"https://agentwranglers.se/playbook/ecommerce/promotions-and-claims/unproven-green-claims","related":["/playbook/ux-design/deceptive-design/fake-urgency"],"sources":["https://eur-lex.europa.eu/eli/dir/2024/825/oj"]},{"id":"ECM-50","revision":"7d45b977f361","updated":"2026-10-27","name":"Say how you check that reviews come from buyers","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"Wherever you show customer reviews to EU consumers, say beside them whether and how you check them. The check shows that each review comes from someone who bought or used the product. Mark a review \"verified purchase\" only when it is tied to an order.","check":"A browser test opens a product page with reviews as an EU visitor. The reviews section contains the text on how reviews are checked. A query finds no review with a verified badge and no order line ID.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/promotions-and-claims/review-verification-notice","related":["/playbook/seo/local-search/honest-reviews"],"sources":["https://eur-lex.europa.eu/eli/dir/2005/29/oj","https://eur-lex.europa.eu/eli/dir/2019/2161/oj"]},{"id":"ECM-51","revision":"6adb5c46c43d","updated":"2026-10-27","name":"Never fake, buy or hide reviews","level":"Required","risk":"law","region":["EU","US"],"rule":"Never write, generate, buy or commission reviews, and never pay or reward a review on condition that it is positive. Publish every genuine review, good or bad, under the same rules, and never threaten a reviewer.","check":"A query finds no review without a customer or an order behind it, and none written from a staff account without a disclosure. Every removed review has a logged reason from the published list. The count of 1- and 2-star reviews published matches the count received minus the logged removals.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/promotions-and-claims/no-fake-reviews","related":["/playbook/analytics/experiments/no-price-or-vulnerable-tests","/playbook/ux-design/deceptive-design/fake-urgency"],"sources":["https://www.ecfr.gov/current/title-16/chapter-I/subchapter-D/part-465","https://eur-lex.europa.eu/eli/dir/2005/29/oj"]},{"id":"ECM-39","revision":"72552f84e805","updated":"2026-10-22","name":"Hold risky orders before the label is bought","level":"Recommended","rule":"Score each order on shipping signals as well as the payment risk score, and hold orders above a set score before a label is bought. Review each held order within one business day.","check":"A test order with a forwarder address and a card from another country is held, and no label is bought for it. A daily query finds no held order older than one business day without a decision.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/fraud-and-delivery-proof/order-fraud-signals","related":["/playbook/payments/refunds-disputes-and-fraud/fraud-screening","/playbook/trust-and-safety/sign-up-fraud-and-abuse/sign-up-risk-score","/playbook/ecommerce/stock-and-reservations/checkout-reservations","/playbook/payments/refunds-disputes-and-fraud/card-testing"],"sources":[]},{"id":"ECM-40","revision":"261ae18a47e8","updated":"2026-10-22","name":"Keep tracking proof for every shipment and a signature above a set value","level":"Recommended","rule":"Store the carrier's tracking history, delivery scan and address for every shipment. Ask for a signature or photo on delivery for orders over a set value, such as 300 euros.","check":"A query finds no delivered shipment without stored carrier events and a delivery time. Every shipment over the set value has a signature or photo stored.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/fraud-and-delivery-proof/delivery-proof","related":["/playbook/ecommerce/shipping-and-delivery/lost-parcels","/playbook/payments/refunds-disputes-and-fraud/dispute-evidence","/playbook/ecommerce/orders-and-fulfilment/digital-downloads"],"sources":[]},{"id":"ECM-41","revision":"0996d8a20c45","updated":"2026-10-27","name":"Split each order into one part per seller","level":"Recommended","rule":"When a cart holds items from several sellers, create one order for the buyer and one seller order per seller. Give each seller order its own fulfilment states, shipments, returns and payout lines.","check":"A test buys from two sellers in one checkout. The buyer has one order with two parts, and each seller sees one seller order. Cancelling one part leaves the other part's state and payment unchanged.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/marketplace-sellers/seller-sub-orders","related":["/playbook/payments/marketplaces-and-payouts/marketplace-funds","/playbook/payments/marketplaces-and-payouts/seller-payout-statements","/playbook/payments/marketplaces-and-payouts/marketplace-refund-liability"],"sources":[]},{"id":"ECM-42","revision":"992de4ce956e","updated":"2026-10-27","name":"Let each seller reach only their own orders and customers","level":"Recommended","rule":"Scope every seller screen, export and API call to the seller's own listings, seller orders and the buyer details needed to ship them. Remove a buyer's address from the seller's view a set time after delivery, such as 30 days.","check":"A test signs in as seller A and requests seller B's order by ID through the screen, the export and the API. All three answer 404. A test 31 days after delivery finds no address in seller A's view of their own delivered order.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/marketplace-sellers/seller-scoped-access","related":["/playbook/accounts/roles-and-permissions/object-access","/playbook/data/personal-data/retention-jobs"],"sources":["https://eur-lex.europa.eu/eli/reg/2016/679/oj"]},{"id":"ECM-43","revision":"55d237c2cbd3","updated":"2026-10-27","name":"Tell buyers who sells and how results are ranked","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"On a marketplace for EU consumers, show on each offer whether the seller is a trader. When they are not, say that EU consumer rights do not apply. Say who handles delivery, withdrawal and guarantee, and label paid placements.","check":"A browser test opens an offer from a trader and one from a private seller. Each shows its status, and the private seller's offer shows that EU consumer rights do not apply. Every search results page links to the ranking page, and every sponsored result carries a label.","check_type":"static","url":"https://agentwranglers.se/playbook/ecommerce/marketplace-sellers/marketplace-disclosures","related":["/playbook/compliance/online-platforms/trader-traceability"],"sources":["https://eur-lex.europa.eu/eli/dir/2019/2161/oj","https://eur-lex.europa.eu/eli/dir/2019/2161/oj"]},{"id":"ECM-44","revision":"4453b774d208","updated":"2026-10-27","name":"Collect tax as the marketplace where the law makes you the seller","level":"Required","risk":"law","applies":["payments"],"region":["EU","US"],"rule":"Record for each country and US state where the marketplace must collect tax for its sellers, and collect it there yourself. Never leave it to a seller there.","check":"A test sells goods from a seller outside the EU, stored in an EU warehouse, to an EU consumer. The marketplace charges the VAT and shows it in its own tax ledger. A test sale into California by a third-party seller has the tax collected by the platform.","check_type":"manual","url":"https://agentwranglers.se/playbook/ecommerce/marketplace-sellers/marketplace-tax-collection","related":["/playbook/payments/tax/tax-service","/playbook/payments/marketplaces-and-payouts/seller-income-reporting"],"sources":["https://vat-one-stop-shop.ec.europa.eu/one-stop-shop_en","https://cdtfa.ca.gov/formspubs/pub109/online-marketplaces-and-fulfillment-centers.htm","https://comptroller.texas.gov/taxes/sales/marketplace-providers-sellers.php"]},{"id":"ECM-53","revision":"f76ec3d1cf27","updated":"2026-10-27","name":"Check each seller's packaging registration before they sell","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"review_by":"2027-08-12","rule":"Before a seller sells packaged goods to consumers in an EU country through your marketplace, store their packaging registration number for that country. Store their written confirmation that they comply too, and block offers for countries without both.","check":"A query finds no live offer to consumers in an EU country from a seller without a stored registration number and self-certification for that country. A test seller without one cannot publish an offer for Germany.","check_type":"command","url":"https://agentwranglers.se/playbook/ecommerce/marketplace-sellers/seller-packaging-registration","related":["/playbook/payments/marketplaces-and-payouts/seller-verification"],"sources":["https://eur-lex.europa.eu/eli/reg/2025/40/oj"]}]}