This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Pay with Code

Pay with Code

The 'Pay with Code' plugin lets customers pay using a pre-purchased code in WooCommerce.

fewer than 10 active installsFree on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Pay with Code running.

WordPress compatibility
Tested to 6.6.5 — 4 branches behind 7.0
Several branches behind. Worth checking on a staging site before updating WordPress.
Last updated
24 months ago
At least 1.0 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
5.0
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

fewer than 10 active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Pay with Code is looked after — not on how many stores run it.

Limited evidence
Not enough public feedback to put a confident number on this one. Little public feedback — score rests mostly on release activity. What we can see is below.

Maintenance
15 / 35
Last update 1y ago.
WordPress compatibility
7 / 20
4 WP branches behind.
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
Not enough data
No ratings yet.
Listing transparency
7 / 10
Provides: screenshots, description
2 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.

“Pay with Code” is a specialized WooCommerce plugin designed to offer an alternative payment method through the use of unique, pre-generated codes. This method is ideal for scenarios where direct monetary transactions are not possible or preferred. The plugin works by allowing store administrators to generate and distribute purchase codes that customers can use at checkout. These codes can be set to expire, be used once, or deactivated as needed, providing a flexible and secure payment solution. The plugin also includes features for managing codes, viewing logs, and handling code-related events, such as deactivation and usage tracking.

Please Note

Make sure to use the inbuit the wp_mail function, as email notification are sent using the method. You can alway use SMTP plugins such as WP Mail SMTP by WPForms for better configuration.

Features of Pay with Code

  1. Code Generation: Admins can generate unique codes with optional expiration dates.

  2. Secure Payment Option: Customers can use codes to pay for their purchases at checkout.

  3. Admin Management: Tools for admins to deactivate, clear, and track codes.

  4. User Feedback: Interactive feedback for users during the checkout process based on code validity.

  5. Email Notifications: Automated emails to customers and admins when codes are used.

  6. Customizable Settings: Admins can configure payment gateway settings such as enabling/disabling the gateway, title, and description adjustments.

  7. Security Checks: Implements robusts verification for security during code generation and payment processing.

  8. Logs and Reporting: An interface for viewing and exporting usage logs and the status of generated codes.

Contributors

Pay with Code is an open-source project and welcomes all contributors from code to design, and implement new features. For more info Contributor’s Handbook for all the details on how you can help.

How do I generate codes?

Admins can generate codes through the ‘Generate Codes’ submenu in the plugin’s settings. Codes can have set expiration dates and are managed from the admin panel.

What happens if a code is used or expired?

The plugin provides feedback at checkout if a code has been used, is expired, or is deactivated, preventing the transaction until a valid code is entered.

Is the plugin secure?

Yes, the plugin uses WordPress robust verification to prevent unauthorized access and ensure data integrity.

Is there a limit to the number of codes I can generate?

There is no inherent limit imposed by the plugin on the number of codes you can generate. However, practical limits may depend on your server’s performance and database capabilities. Admins can generate codes as needed, based on the operational scope and capacity of their WooCommerce setup.

Can I set an expiration date for generated codes?

Yes, when generating codes via the admin panel, you can specify an expiration date for each code. This ensures that codes are only valid within a predetermined time frame, enhancing security and managing promotions or special offers effectively.

What happens to the stock levels when a purchase code is used?

Upon successful verification and use of a purchase code, the plugin automatically reduces the stock levels of the purchased items. This integration ensures that inventory levels are accurately maintained within the WooCommerce system, preventing overselling and managing supplies efficiently.

Where can I get support?

You can contact Dynasty via the provided link in the plugin’s description or through the support forum on the WordPress plugin repository page. Want direct contact, hit me up at holakhunle@gmail.com

Categories
Payment gateways
Plugin details
Version1.0
Last updated2024-08-12 11:18am GMT
Added2024-08-12
Requires WordPress5.0
Tested up to6.6.5
Requires PHP7.4

Tags on WordPress.org
extension
gateway
payment
secure checkout
woocommerce
Alternatives
Other plugins in the same categories.
Payment Plugins for PayPal WooCommerce
80K+ installs
4.9(124)
Payment Gateway for PayPal on WooCommerce
10K+ installs
4.4(74)
Payment Plugins for Stripe WooCommerce
100K+ installs
4.8(298)
WooPayments: Integrated WooCommerce Payments
900K+ installs
3.3(162)
WooCommerce Stripe Payment Gateway
700K+ installs
3.1(235)
Knit Pay – Cashfree, Instamojo, Razorpay, PayPal and more
2K+ installs
4.9(101)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy