/
/
Voxel Stripe Promo Coder
Pro
Payments
Promotions

Voxel Stripe Promo Coder

Version 1.4.0 · Updated 13 Nov 2026

Promo codes your listing owners make right on their own posts, created in Stripe the moment they hit save and checked at checkout before anyone pays.

In every Pro plan. One switch on the Hub’s Add-ons screen.

codicts-voxel-stripe-promo-coder cover image

Overview

What it does

Add a {C} Promo codes field to any Voxel post type that sells something, and whoever owns a post can make discount codes for it from the same create and edit form they already use. Each code is a row: the code itself, how much it takes off, what it covers, when it starts and ends, how many times it can be used in total and per customer, a minimum order, and a switch for first orders only.

Saving the post creates each code in Stripe as a coupon, through the Stripe account Voxel is already connected to, so the discount, the end date and the usage limit sit in Stripe’s dashboard too. Change the amount and the coupon is replaced; delete the code and the coupon goes with it.

Shoppers type their code into a box that appears on Voxel’s checkout page by itself, just above the subtotal, or follow a link like ?promo=SUMMER10 from anywhere on the site. Once a code is on, every item in the cart is marked with whether the code covers it, and the box says plainly which item is in the way, so nobody finds out at the payment button. Checkout still checks the code against everything in the order before Stripe is asked for anything, and a code that does not fit is turned away with the reason and taken off. When it fits, Stripe’s payment page shows the discount by name and the Voxel order records it.

On a marketplace, the field decides who pays for the discount: the seller, the platform (out of its own fee, for codes a site admin makes), or both in proportion, which keeps the platform’s cut the same share of what the shopper actually pays. A seller’s own code can only take the platform’s fee down so far: by default the platform keeps at least half of its usual fee on that payment, though never more than the shopper pays, and the field sets the share. With {C} Voxel Vendor Fee Passthrough, a seller’s own 10% code on a $10 listing leaves them exactly $9.00.

One code works per order, and it has to cover every item in it. Codes are never split between sellers, so a cart holding two sellers’ listings can use neither seller’s own code, and the shopper is told to buy them in separate orders. Every order that goes through counts as a use of its code, refunded ones included, the same as in Stripe.

What you get

  • A Voxel field type, {C} Promo codes, that turns a post’s codes into rows on its create and edit form, built on Voxel’s own repeater so it looks and works like every other field there.
  • Percentage or fixed-amount discounts, with a cap on the percentage set per field.
  • A code covers only its own post, every post its owner has of that type, or, made by an administrator, every post of the type.
  • Start and end dates, a total usage limit, a limit per customer, a minimum order and first orders only.
  • For subscriptions: the first payment, 3, 6 or 12 months, or every payment.
  • A pause switch that stops a code without deleting it.
  • A Hidden switch that keeps a code working for anyone who has it but leaves it off the post’s page, for codes meant only for a mailing list or a few customers.
  • Each code is created in Stripe as a coupon named after it, replaced when its amount or rules change and deleted with the code or its post.
  • Codes are unique across the site and not case sensitive, even when two people save the same code at the same moment. A button makes one up.
  • Under each code, the form shows whether it is live, how often it has been used and whether Stripe has it.
  • A promo code box on Voxel’s checkout page, above the subtotal and the payment button. It appears by itself and matches the site’s own Voxel colours.
  • With a code applied, each cart item gets a pill saying whether the code covers it, and the box names the item that is in the way.
  • The discount and the new total appear under the checkout’s subtotal, so shoppers see the price they will pay before they reach Stripe.
  • Orders keep the code: a Promo code section on Voxel’s order page and on the order screen in wp-admin, and @order(promo_code.code), .discount, .amount, .covers and .post_id tags for order emails, notifications and App Events.
  • Stripe’s own promotion code box is hidden on orders these codes could cover, since it would call a good code invalid.
  • Shareable links: ?promo=CODE on any page applies the code, ?promo=remove takes it off.
  • An applied code is remembered for the visit, so a code from a link is still there at checkout.
  • Checks at checkout before Stripe is involved, with a clear reason when a code does not fit and nobody left stuck behind a code they cannot remove. Buying a plan or a paid promotion leaves an applied code alone.
  • A checkout open on Stripe’s payment page holds its use of a limited code for up to an hour, so two shoppers cannot both take the last use, and Stripe closes the page when the hour is up.
  • Marketplace orders paid in one go: the platform fee and each seller’s transfer follow the discount, as the field’s “who pays” setting decides, and the platform always gives up the discount on what it charges for itself, such as its own shipping. On subscriptions Voxel charges its fee as a percentage, so the discount is shared in proportion there.
  • A floor under the platform’s fee on codes sellers make: “Platform keeps at least” on the field, 50% of the usual fee unless you change it, on one-off payments. Codes a site admin made are not held to it.
  • One code per order, covering every item in it. A cart that mixes sellers is told so in plain words.
  • Every order that goes through counts as a use, including one refunded later, the same as in Stripe. The Total uses and Per customer boxes say so too.
  • When a post changes hands (Voxel’s claim flow, or a new author picked in wp-admin), the codes its old owner made are paused and the Activity Logs say so. Codes a site admin made keep running.
  • A limit on wrong codes per visitor and for the whole site, per hour, on every path that could tell a visitor whether a code exists, the edit form included. Sites behind a CDN can name the header that carries a visitor’s real address. A code a shopper already applied keeps working when a limit is reached.
  • Saving a post never waits on Stripe for long: calls to Stripe have short timeouts, and replaced coupons are deleted in the background.
  • Dynamic tags for every code: its own values plus “10% off”, what it covers, whether it works right now, whether it is hidden or shown, and how often it has been used.
  • Counts for each post, @post(c_promo_codes.shown), .active, .hidden and .total, so a whole section can hide itself once none of its codes is meant to be seen.
  • A Codes overview of every code on the site with its uses, the discount it gave, what its orders were charged, its status and its Stripe coupon. Filter it by status, export it as CSV, and pause, unpause, hide or show a code from its row.
  • Sync with Stripe, for after switching between test and live mode or between Stripe accounts: it checks every coupon with Stripe and makes again any that is missing. A coupon made in another Stripe account is never used.
  • A Remove all data tool in Settings for taking the add-on off, which can delete the codes’ coupons in Stripe too.
  • With {C} Voxel Whitelabeler, every partner shares one set of codes: a code is unique across all partner domains, and “first order only” counts a customer’s orders on any of them. A code typed on a domain that cannot show its listing does not name that listing.

Changelog

What’s new

Version 1.4.0 · 13 Nov 2026
  • New: the Codes list changes in place. Pause, Unpause, Hide on page and Show on page redraw just that code’s row, with no reload: your place, filter, search and scroll stay put, and the status counts follow. Each says how it went, and a code that is already that way is left as it is and says so. Needs Codicts Hub 2.8.0.
  • Fixed: columns hidden in Screen Options stay hidden. They all came back every time the list loaded.
  • Fixed: Remove all data asks in the Hub’s own dialog, not the browser’s.
  • Changed: a code is now the link to its post’s edit screen.
  • New: the Lab can set up {C} Voxel Stripe Promo Coder for you: code links, how long a code is remembered, wrong-code limits, the checkout box and the log, from a chat.
  • Changed: background work now runs on the Hub’s scheduler, with one wake when something is due and retries at the same times as before. Needs Codicts Hub 2.4.0.
  • New Hidden switch on each code: it keeps working for anyone who has it, but stays off the page. Hide or show a code from the Codes list too.
  • New dynamic tags to show or hide things on the page: is_hidden and is_shown on each code, and shown, active, hidden and total counts for the whole post.
  • Total uses, Per customer, Min. order and the three switches now each get their own row, so nothing squeezes or wraps on narrower forms.
  • A code saved without a discount, such as one brought over from another field, shows No discount set instead of Active, stays out of Stripe and tells shoppers it is not ready yet.
  • In wp-admin, a promo code that cannot be saved now says why, instead of the page saying Post updated. A code with no discount no longer blocks the save, and empty rows are ignored.
  • The Dates column in the Codes list no longer runs under Status, and reads Until, Ended, From or No end date.
  • On a marketplace, a seller’s own code can no longer shrink your fee to almost nothing. You keep at least half your usual fee, and each field can change that share.
  • The Codes list now shows each code’s uses, the discount it gave and its revenue. Filter it by status, export it as CSV, or pause a code straight from its row.
  • When a listing changes hands, through a claim or a new author, the codes its old owner made are paused until somebody turns them back on. Codes an admin made keep running.
  • A cart mixing two sellers’ listings now explains that one code covers one whole order, so those items need separate orders.
  • Swapping your Stripe keys for another account’s no longer leaves codes pointing at coupons that account does not have. Sync with Stripe now rechecks every coupon too.
  • A new Remove all data tool in Settings for when you take the add-on off, which can delete the codes’ coupons in Stripe as well.
  • New settings for wrong codes: a limit for the whole site, and where a visitor’s real address comes from when your site sits behind a CDN.
  • Security fixes on the edit form and the promo code box.
codicts-voxel-stripe-promo-coder featured image

Voxel Stripe Promo Coder

Version
1.4.0
Last updated
13 Nov 2026
Works with
Voxel
Needs
Codicts Hub 2.4.0 · PHP 8.0
Category
Payments

Published by

Codicts

Made by Codicts

In every Pro plan. One switch on the Hub’s Add-ons screen.

Reviews

What people say

Reviews are written by customers with an active license. Sign in

Related

Plays well with

codicts-voxel-whitelabeler featured image
Pro

By Codicts

Run a fleet of whitelabeled partner sites off one Voxel install, each with its own domain, branding, content, and users.

Admin Tools
Elementor
Requires Voxel
codicts-voxel-vendor-fee-passthrough featured image
Pro

By Codicts

Make customers cover Voxel’s Stripe Connect vendor fees, so your vendors keep their exact listed price.

Payments
Requires Voxel

Explore

More in Payments

codicts-voxel-addon-stock featured image
Pro

By Codicts

Add stock control to Voxel product add-ons: set how many of each choice can be sold.

Bookings
Payments
Requires Voxel
codicts-voxel-targeted-payment-gateway featured image
Pro

By Codicts

Let memberships pay through one gateway and physical products through another, instead of forcing the whole site onto a single payment provider.

Payments
Requires Voxel
codicts-voxel-lemonsqueezy-payment-gateway featured image
Pro

By Codicts

Take Voxel payments through Lemon Squeezy and let them worry about sales tax, VAT and which country your buyer lives in.

Payments
Requires Voxel
codicts-woocommerce-quantity-pricing featured image
Pro

By Codicts

Quantity discount tiers for WooCommerce products, shown as a table the shopper can click, with the same discount applied again in the cart so the promise and the charge match.

Payments
Promotions

Got a feature in mind? Just ask.

Download the Hub, open the Lab, start typing.