Skip to content
Industry · CBD + hemp + delta-8 / delta-9

Magento for CBD and hemp brands: payments, lab reports and state rules

With Magento for CBD and hemp stores, payments are the first thing I sort out, since many mainstream processors refuse the category or close the account after a review. It does not stop there. Each batch needs its lab report on the product page, delta-8 and other THC products are banned or restricted in some states, and the copy must not promise health benefits. I build the store to enforce all of that. Your lawyer supplies the rules.

  • Your high-risk gateway tested on staging before anything else is built
  • Lab results per batch, linked from the product page and the label QR code
  • Cart rules by state for delta-8, THC products and age limits
Adobe Certified Magento developer since 2021 One developer from the first call to launch
Why CBD is its own case

Payments, batches, states and claims: where a CBD store needs extra planning

None of these matter much for an ordinary shop. For a hemp brand, any one of them can stop sales, so I deal with them before the catalog goes in.

  • High-risk Payments come before design

    Hemp with no more than 0.3% delta-9 THC has been federally legal since the 2018 Farm Bill, yet many card processors still rate CBD as high-risk and some will not take it at all. Most brands end up on a specialist merchant account. So the first question on any build is which gateway you were approved by, and whether its Magento module actually works.

  • COA Every batch has its own lab report

    Buyers want the certificate of analysis for the batch in their hands, not a test from last year. Several states also require the label to link to it, usually with a QR code. Magento knows products and SKUs but has no idea what a batch is, so tying a lab report to a batch is something that has to be added.

  • By state Hemp law is many laws

    The Farm Bill set the federal THC limit and states built on it. Some ban or restrict delta-8 and other intoxicating hemp products, some set a minimum age, some want a registration before you sell to their residents. The federal definition of hemp is being tightened as well. A store that ships nationwide has to check each cart against the delivery address.

  • No claims Careful with what the page says

    The FDA has not approved CBD as a dietary supplement, and it has sent warning letters to sellers whose pages said a product treats or prevents a disease. Testimonials and blog posts on your own site have been cited too. The store cannot decide what is allowed, but it can put a human check between a draft and the live page.

Setup details

Six parts of a CBD store and how I build each one

Payments are first because nothing else matters if you cannot take money. The rest follow in the order I would normally tackle them, with a note wherever Open Source needs an extension.

  • A gateway that stays open

    I start from the processor that approved you and test its Magento module on a staging copy: authorize, capture, refund, and 3D Secure where it is offered. If the module is outdated or missing, I write one against the gateway’s API. Clear billing descriptors and quick refunds matter here, because a high-risk account is judged on its chargeback rate. Once sales are steady, a second approved gateway set up as a spare means a frozen account does not stop the shop.

  • Lab reports tied to batches

    Open Source has no lot tracking and no file attachments on products, so I add a small batch table: batch number, test date, lab name and the PDF. The product page shows the results for the batch currently on sale, and the QR code on your label points to a fixed address such as /coa/ followed by the batch number, which keeps working after the product page changes. When a new batch arrives, your team uploads one file in the admin.

  • Cart rules by state and cannabinoid

    Products get attributes for cannabinoid (isolate, broad or full spectrum CBD, delta-8, THCA and so on) and format (oil, gummy, topical, vape). A rules table lists, per state, which of those cannot ship and what age applies. At checkout the shipping address is checked and the customer is told which item is blocked and why, before payment. The rules come from your lawyer. I make them editable in the admin, so a change in the law does not need a developer.

  • Age verification by state

    Magento has no age check of its own. An “are you 21?” popup on entry is common, but for anything with THC I connect an age verification service at checkout that compares the buyer’s details with identity data and only asks for an ID photo when that fails. The required age is read from the same state rules table, so you can use 21 in one state and 18 in another, or simply 21 everywhere.

  • A review step for claims

    Your claims policy is for you and your advisor to write. What I add is a safety net: the FDA disclaimer printed from a product attribute wherever your advisor wants it, and a check that holds product text, reviews and questions containing words like “cure” or “treat” until someone approves them. Magento already holds new product reviews as pending until an admin approves them, which helps here.

  • Subscriptions and wholesale

    Open Source has no subscriptions, and many subscription extensions only charge through Stripe or Braintree. Before choosing one I confirm it can save a card token with your high-risk gateway and charge it later. If none can, I write the renewal as a scheduled job that creates a normal order and charges the stored token. Shops and clinics that buy wholesale go into a customer group with tier prices, and their resale details are checked once when the account is approved.

  • Questions before you start?Read the answers →

Your quote

Get a fixed quote for your project

Send your store URL and describe what you want to change. We can review the requirements and agree a written scope, quote and timeline before work starts.

  • Written scope, price and timeline
  • You approve every change
The build process

Five steps from compliance audit to live, defensible CBD store

Audit → plan → build → deploy → stabilise. Tuned for CBD’s compliance cadence: every quarter is a state-law refresh and an MID health check. Optional ongoing retainer.

  1. 01

    Audit

    Payment processor relationship review (who underwrites you, MID stability, reserve rate, chargeback ratio), age-gate vendor (or absence), state shipping policy (which states you currently block, which you should), COA workflow (who issues, where stored, recall plan), FDA disclaimer + DSHEA copy review (banned-phrase scan). 1 week.

    Compliance baseline + gaps
  2. 02

    Plan

    High-risk processor selection (NMI vs Authorize.net + Easy Pay Direct vs Square 1 vs Aeropay), ID-verify vendor pick (Veratad / Yoti / AgeChecker.net by cost-vs-defensibility trade-off), state shipping matrix per cannabinoid (CBD vs delta-8 vs delta-9 vs CBN vs CBG), COA per batch flow + recall workflow, subscription gateway routing. Written spec + Gantt.

    Locked scope
  3. 03

    Build

    Catalog + high-risk gateway + age-gate + state matrix + COA download module + Klaviyo (CBD-allowed ESP) + Hyvä storefront. Built in 6-10 weeks. Test fixtures for under-age block, state-blocked cart, lot-recall workflow. Smoke test the payment flow with a $1 live transaction on each MID before go-live.

    Build + UAT
  4. 04

    Deploy

    Deploy with payment smoke test (real $1 charge through each gateway), mock under-age block test (verify Veratad/Yoti rejects DOB < 21), state geo-block test (mock Idaho ZIP, verify delta-8 blocked + CBD allowed). DNS + cache plan. War-room in working hours for first 48 hours post-launch in case an MID flags transactions. The cutover time and the rollback plan are agreed with you in writing before launch.

    Live + verified
  5. 05

    Stabilise

    Monthly COA reconciliation (every batch shipped has a published COA), quarterly state-law update (state AGs change rules constantly, especially on delta-8), FDA warning-letter monitoring (we watch the FDA enforcement page for letters to similar brands), MID health check (reserve rate, chargeback ratio, freeze risk). Optional ongoing retainer (fixed written quote).

    Optimised + compliant
Client reviews

What clients say about working with me

Public reviews on Upwork. Same person and the same fixed written quote process for every client.

Magento work and feedback View Upwork profile

  • Illustration of Magento 2 development work for a sports footwear and hockey shop
    Sports footwear and hockey shop, Netherlands
  • Illustration of Magento 2 development work for a photo printing supplies wholesaler
    Photo printing supplies wholesaler, Netherlands
  • Illustration of Magento 2 development work for an educational toys and books shop
    Educational toys and books shop
  • Kishan has done an excellent job in a timely manner. He is very knowledgeable, has a very positive attitude, easy to communicate.

    Z. K.Magento 2 client
  • He is technically strong, approaches problems thoughtfully, and focuses on stable, long-term solutions.

    E. H.Magento 2 client
  • Kishan was a pleasure to work with! He is highly skilled, professional, and delivered outstanding results on time.

    M.Magento 2 client
FAQ

Twelve questions CBD + hemp founders actually ask

Why won’t Stripe / PayPal / Square process my CBD orders, and what do you use instead?

The honest answer: Stripe, PayPal, and Square all classify CBD as a restricted business. Stripe’s prohibited-products list explicitly names “CBD, hemp-derived cannabinoid products, and any product sold as legal cannabis.” PayPal is the same. Square has a narrow CBD program that requires preapproval and rejects ~70% of applicants. Even if you sneak in, their automated classifier flags “hemp” on your product page or invoice and freezes the account 30-90 days later, with 90 days of held funds.

The actual high-risk stack we wire:

  • NMI gateway with a high-risk MID via Easy Pay Direct, Square 1 Payments, or Tasker Payment Gateways. Underwriting is slower (2-6 weeks) and rates are higher (3.5-5.5% vs Stripe’s 2.9%) but the accounts don’t freeze.
  • Authorize.net with high-risk underwriting through the same MID providers.
  • Aeropay, ACH cash-network purpose-built for cannabis-adjacent. Customer links bank, pays via bank-debit, lower fees (~1.5%).
  • Plaid ACH for instant bank-debit fallback.
  • BitPay / NOWPayments for crypto resilience, ~3% of CBD revenue routes through crypto when an MID gets shut down mid-quarter.

Magento handles all of this through the standard payment-method abstraction. No core changes, just configure the right gateway modules.

State-by-state shipping, which states ban delta-8 specifically, and how does the auto-block work?

The legal landscape splits into three buckets:

  • Delta-8 banned outright (15 states as of 2026): Alaska, Colorado, Connecticut, Delaware, Idaho, Iowa, Mississippi, Montana, New York, Oregon, Rhode Island, South Dakota, Utah, Vermont, Washington. Some of these still allow CBD; some restrict CBD too.
  • CBD restricted: Idaho requires 0.0% THC (most CBD has trace amounts and is therefore illegal there). South Dakota has shifting rules.
  • CBD + delta-8 both legal: most other states, but with packaging / labeling / age-gate / per-package THC limits that vary.

How we build it: a state × cannabinoid matrix stored as Magento source restrictions. The customer enters their ZIP at the cart step → matrix looks up “Idaho + delta-8 = blocked” → blocked items get removed from cart with a state-specific message (“Delta-8 cannot ship to Idaho. Here’s our CBD line that’s also Idaho-compliant”). Borderline cases flag for manual review rather than hard-reject. The matrix is reviewed quarterly because state legislatures change rules constantly, Texas, Tennessee, and California have all flipped their delta-8 stance multiple times since 2022.

Hyvä storefront makes this clean because the cart re-renders on state-change without a full page reload, customers see the filtered cart immediately.

Age-gate + ID verification, Veratad vs Yoti vs AgeChecker.net, and when do you use 21+ vs 18+?

Three vendors, three trade-offs:

  • AgeChecker.net, CBD-industry default. Database-driven (matches name + DOB against credit-bureau and public records). ~$0.40 per check. Fastest checkout integration (one Magento extension). Lowest-friction but also lowest defensibility if an AG challenges you. Good fit for <$2M GMV.
  • Veratad, broader database coverage (credit-bureau + DMV + utility records). ~$0.85 per check. API-based integration. Better defensibility. Good fit for $2M to $20M GMV.
  • Yoti, photo-ID + selfie + liveness check. ~$1.50 per check. Most defensible (you have a photo of the ID and the buyer’s face). Higher friction at checkout (~30s extra) but the right call for delta-8 / delta-9 / high-THC products where an AG letter is a real risk. Magento integration via API.

Threshold by state: 21+ for any THC-containing product in CO, CA, WA, OR (matches adult-use cannabis rules in those states). 21+ for delta-8 / delta-9 / hemp-derived THC in most states regardless of CBD age limits. 18+ for CBD-only in most states. We wire the threshold into the matrix so it flips based on cart contents + ship-to state.

Every verification attempt logs to a compliance audit table (timestamp, customer ID, vendor used, result, IP, products in cart), defensible if challenged.

COA per batch, how does the QR-on-bottle → Magento URL flow work?

FDA and state AGs both require lot-level traceability for hemp products. The pattern we ship:

  • COA entity in Magento, one entry per lab batch. Stores lab name (typically InfiniteCAL, SC Labs, ProVerde, or ACS Laboratory), harvest date, batch ID, cannabinoid profile (CBD/THC/CBG/CBN ppm), pesticide screen, heavy-metal screen, microbial screen, residual-solvent screen, and the COA PDF itself.
  • Public Magento URL per COA, pattern /coa/lot-2026-04-12-a. The page renders the COA summary + downloadable PDF. SEO-indexed (transparency is a trust signal).
  • QR code printed on the bottle, encodes the COA URL. Customer scans → lands on the COA page → instant trust.
  • Product → batch mapping, each product variant ships from a specific lot; we store the lot ID as a custom attribute on the order line. Lets us pull “every order that received lot 2026-04-12-a” in <15 minutes if a recall is needed.

The recall workflow: a state AG sends a letter about a lot → we query orders by lot ID → Klaviyo flow sends recall emails to affected customers → optional store-credit auto-issue. It’s the kind of thing where if you don’t have it, you find out you needed it the day you need it.

USDA hemp registration, what must merchants maintain, and what sample test cadence?

Under the 2018 Farm Bill, hemp (cannabis sativa L. with ≤0.3% delta-9 THC by dry weight) is federally legal. Each hemp grower needs a USDA-approved license (either directly from USDA or via an approved state hemp program, most states run their own). As a merchant selling finished products, you don’t need a grower license, but you need to maintain documentation that:

  • Your hemp source has a current USDA-approved license (request a copy annually).
  • Each lot tests ≤0.3% delta-9 THC by dry weight at an ISO-17025-accredited lab (this is the COA workflow above).
  • You retain COAs for at least 3 years (some states want 5).

Sample test cadence: every batch. A “batch” is a single homogeneous production run, usually 1,000-10,000 units depending on product. Smaller brands often test once per quarter and pretend it covers everything; that’s the bet that loses if an AG audits. Real brands like Charlotte’s Web and Lazarus Naturals test every batch and publish the COA publicly.

Magento side: we capture USDA license number + state hemp program in store config, surface it in the footer, the privacy/terms page, and on every COA page. If a state inspector visits the site, the documentation trail is one click away.

FDA disclaimer + DSHEA, what copy is required and what gets you a warning letter?

The FDA hasn’t fully regulated CBD as a food / supplement / drug, which leaves merchants in a gray zone. Two rules to follow:

1. The FDA disclaimer. Required on every PDP and any health-related CMS page: “These statements have not been evaluated by the FDA. This product is not intended to diagnose, treat, cure, or prevent any disease.” We auto-inject this via a global block so a content editor can’t accidentally omit it.

2. DSHEA-compliant copy. The Dietary Supplement Health and Education Act lets you make structure-function claims (“supports calm”, “promotes restful sleep”, “may help with everyday stress”) but not disease claims (“treats anxiety”, “cures insomnia”, “heals chronic pain”). The FDA actively sends warning letters for disease claims, ~80-150 letters per year to CBD brands, publicly listed on the FDA enforcement page.

The banned-phrase list we scan for at content-publish time: cures, treats, heals, prevents, FDA-approved, anti-inflammatory, anti-anxiety, anti-cancer, opioid-replacement, addiction-treatment. Admin gets a soft block (“this looks like a disease claim, review before publishing”) rather than a hard block, because edge cases exist.

Real brands have lost millions in revenue and traffic to FDA letters, CBDistillery, Charlotte’s Web, and Curaleaf have all received letters for specific product pages. The guardrails are cheap insurance.

Subscription model without Stripe / PayPal, how do you run recurring billing?

Subscriptions still work for CBD, they just don’t run on Stripe Billing or PayPal Subscriptions. The recurring engine moves into the high-risk gateway’s tokenized vault:

  • NMI Customer Vault, tokenizes the card on first purchase, recurring charge fires on schedule. Same fee structure as one-time charges.
  • Authorize.net CIM (Customer Information Manager), same pattern, different gateway.
  • Aeropay tokenized ACH, customer links bank once, recurring bank-debit charges fire on schedule. Lower fees (~1.5%) but slightly higher failure rate than card-based.

Magento side, two extension options that handle the recurring-charge orchestration:

  • Aheadworks Subscriptions & Recurring Payments, the default for Magento + non-Stripe gateways. Supports prepaid plans, discount-on-renewal, skip-cycle, swap-product. ~$799 one-time + support.
  • Mirasvit Subscriptions, cheaper (~$499), simpler UX, fewer features. Fine for under-2,000-subscriber brands.

The pattern Charlotte’s Web and Medterra use: 15% subscribe-and-save discount, monthly cadence, swap-product / skip-month / cancel buttons in the customer portal. Subscription LTV tends to run well above one-time-purchase LTV in CBD because daily-use customers don’t want to re-buy every 30 days.

B2B wholesale to dispensaries, smoke shops, vape stores, Net-30 and tax-exempt workflow?

This is one of the most under-built parts of most CBD stacks. Three pieces:

  • Customer-segment-based catalog, wholesale buyers see trade pricing (typically 50-65% of MSRP), MOQs (case-pack quantities), and a hidden trade catalog with line-sheet PDF export. DTC visitors never see any of this. Built on Magento customer groups + hidden categories.
  • Net-30 invoicing, wholesale buyers don’t pay at checkout; they get a PO confirmation + invoice with 30-day terms. Routed through Apruve, Resolve, or TreviPay, they underwrite the buyer’s credit, pay you on day 1, and collect from the buyer on day 30. CBD-friendly underwriting is harder than mainstream B2B but all three of these have working CBD programs.
  • Tax-exempt resale certificate workflow, wholesale buyers upload a resale cert (per-state) at registration; we verify + store it + auto-suppress sales tax on their orders. Avalara or TaxJar for tax engine, both handle CBD multi-state nexus.

Real CBD wholesale buyers: dispensaries (medical or recreational, varies by state), smoke shops, vape stores, head shops, natural-health retailers, pet stores (CBD-for-pets is a real category), gym chains (CBD topicals for athletes). Each segment has slightly different MOQ + pricing tier + COA requirements (dispensaries want lot-level COAs with every shipment; smoke shops usually skip them).

Multi-state cannabis-license overlap, when should a CBD store NOT carry hemp-derived delta-9?

Here’s where it gets dangerous. Hemp-derived delta-9 (≤0.3% by dry weight, but a 100g brownie at 0.3% is 300mg of THC, very much intoxicating) is technically federally legal under the 2018 Farm Bill. Several states have decided to treat it as adult-use cannabis anyway: California, Colorado, Connecticut, Minnesota, New York, Oregon, Vermont, Virginia, and Washington all have laws on the books that either ban hemp-derived delta-9 entirely or require it to be sold through licensed dispensaries.

If you hold a cannabis-dispensary license in a state, the state cannabis regulator typically requires your online store to also be license-compliant, which means it can’t carry hemp-derived delta-9 sold under the Farm Bill exemption. Mixing them on one storefront triggers an audit fast.

The architectural answer: separate stores under one Magento instance. Multi-store Magento lets you run brand.com (CBD-only, ships everywhere legal) and brand-dispensary.com (licensed cannabis, in-state delivery only) from one admin, one catalog source-of-truth, completely separate checkout + customer base + payment gateway. License-compliant for the dispensary side, Farm Bill-compliant for the CBD side, never mixed.

If you don’t hold a dispensary license: the safer call is to not carry hemp-derived delta-9 at all until federal regs settle. Stick to CBD + delta-8 (where legal) + CBN + CBG. The marginal revenue from delta-9 isn’t worth losing the rest of the business.

Marketplace bans, Amazon blocks CBD, so what do you do for channel reach?

Amazon, Walmart, Target, and eBay all block CBD outright. Etsy allows topicals only, no ingestibles. The marketplace landscape for CBD is brutal, you’re mostly forced into DTC + a narrow set of CBD-friendly channels:

  • Shop App by Shopify, technically allows CBD merchants but Shopify itself often deplatforms CBD brands for payment violations, so the channel inherits that risk.
  • TikTok Shop, CBD topicals are case-by-case approved (mostly approved), ingestibles are mostly blocked. Apply, pray, accept the rejection ratio.
  • Faire, wholesale marketplace for indie retailers. CBD is allowed in their hemp category. Strong channel for selling into smoke shops + natural-health retailers.
  • Mantis Ad Network, cannabis-focused ad network. Not a marketplace but the main way to advertise CBD where Google / Meta restrictions apply.
  • Leafly, cannabis directory + marketplace. CBD listings allowed.
  • Direct-to-consumer email + SMS via Klaviyo, Klaviyo is the only mainstream ESP that reliably accepts CBD. We wire this as the default marketing engine. Some brands also use Postscript for SMS (CBD-friendly).

The pattern that works for CBD reach without marketplaces: Klaviyo email + SMS + organic SEO + affiliate (LTK doesn’t accept CBD but smaller networks do) + Faire for wholesale. Brands like Joy Organics built $50M+ DTC businesses this way without ever appearing on Amazon.

Cost, timeline, and your credentials for building a CBD store?

I quote every job in writing before any work starts. Message me on WhatsApp with a short brief and you get scope, price and timeline.

Typical scopes for a CBD/hemp brand at $500k to $5M GMV migrating to or rebuilding on Magento:

  • Compliance + payment audit (fixed-fee): Quoted per scope. Covers processor stability, age-gate vendor pick, state matrix gaps, COA workflow, FDA/DSHEA copy scan. Written report + remediation roadmap.
  • Magento + Hyvä build (fixed-fee): Quoted per scope. Catalog + Hyvä storefront + high-risk gateway (NMI / Aeropay / ACH) + Veratad ID verify + state matrix + COA download module + Klaviyo wiring.
  • Custom enterprise (quoted): multi-brand house, B2B wholesale to dispensaries, in-state delivery integration, multi-MID redundancy, multi-state license overlap.
  • Hosting: $400, $1,500/mo on Cloudways or dedicated. CBD doesn’t have the drop-traffic spikes fashion has, so over-provisioning isn’t as critical.
  • Ongoing retainer: for monthly COA reconciliation, quarterly state-law update, MID health monitoring, FDA-letter monitoring.

Credentials: Adobe-Certified Magento developer who builds on Hyvä. High-risk CBD payment setups: if Stripe deplatforms a store, the fix is a re-wire to a high-risk processor such as NMI + Easy Pay Direct. I’m honest about the payment pain, no other vertical has it this bad, and pretending Stripe will work is how brands get 90-day fund holds.

Edge cases, single-SKU starter brand vs multi-state dispensary white-label, what changes?

The build varies dramatically by scale. Two opposite ends:

Single-SKU starter brand (e.g. just-launched 30mg CBD gummy, $50k to $300k first-year target). The right call is the audit + build. Hyvä-themed Magento, NMI + AgeChecker.net + state matrix for the 15 banned states + one COA workflow + Klaviyo + Aheadworks Subscriptions. Don’t over-build, the brand needs to validate product-market fit first, and a custom build is wrong for the stage. Magento is still better than Shopify here because Shopify will deplatform you the moment they notice; the migration cost later is what makes the upfront Magento spend make sense.

Multi-state dispensary white-label brand (e.g. 200-SKU catalog across CBD + delta-8 + delta-9, $5M to $50M GMV, wholesale to 800 dispensaries + DTC + in-state delivery in 4 states). Custom enterprise quote. The complexity isn’t the catalog, it’s the multi-store Magento setup (one store per state with cannabis-license overlap, one store for federal CBD), the multi-MID redundancy (when one high-risk MID gets frozen, traffic routes to the second one automatically), the B2B layer (wholesale to dispensaries with per-state pricing + per-state COA delivery requirements), and the in-state delivery integration (Dutchie, Jane, or custom for the dispensary side). The timeline is set in the written quote, after we agree the scope.

If you’re between these two, most CBD brands at $500k to $5M GMV, the build gets you to defensible compliance + reliable payment + correct state shipping, and you upgrade pieces as you scale.

Fixed written quote

Get a fixed quote for your CBD-Magento project

Tell me your current processor, age-gate setup, and which cannabinoids you sell. I’ll send a written compliance + payment-stack recommendation, with a fixed quote. No upsell.

Message me on WhatsApp

No form to fill. Send me a quick message. I reply during 10 AM to 7 PM IST, Monday to Saturday.

Helpful to mention

  • Current platform
  • Store URL (optional)
  • Annual GMV (USD)
  • Primary cannabinoid category
  • Compliance focus (what worries you most)
  • Main pain / why you’re reaching out

These are already in the message for you. Just add your answers.

Message me on WhatsApp

Or save my number: +91 84012 70422

Built for your trade Share your store requirements Message me