BFCM Alert! Drop 1 just landed. See what’s new. Drop 2 lands in 00d 00h 00m Explore Drop 1 →
Skip to content
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Hire Us
Sign In Try For Free
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Hire Us
Sign In Get Directorist

Directorist Core

  • Directorist MCP
    • Getting Started with Directorist MCP
  • Directorist Settings
    • Directorist Settings Panel (General)
    • Directorist Settings Panel (Search)
    • Directorist Settings Panel (Users & Accounts)
    • Directorist Settings Panel (Monetization)
    • Directorist Settings Panel (Notifications)
    • Directorist Settings Panel (Site & pages)
    • Directorist Settings Panel (Extensions)
    • Directorist Settings Panel (Appearance)
    • Directorist Settings Panel (Import / Export)
  • Listings Management
    • Listing Rejection Flow
    • Adding a Listing
    • General Listing Settings
    • Guest Listing Submission
    • All Listing Settings
    • Single Listing Settings
    • Category & Location
    • Map Setting
    • Badges Setting
    • Review Setting
  • Directory Builder
    • Overview
    • Multiple Directories
    • Create with AI
    • General tab
    • Add Listing Form
    • Conditional Logic
    • Single Page Layout
    • FormGent Integration
    • All Listing Layout
    • Search Form
  • Monetization
    • Monetization Overview
    • Configurations
    • Managing Orders
  • Search and Filter Settings
    • Nearby Sort
    • Search Page
    • Advanced Filter Widget
    • Search Result Page
    • Advanced Search and Filter
  • Customization
    • Customize Appearance
    • Email Customization
    • Registration and Login
    • Author Page
  • Advanced Settings
    • Maintenance
    • Schema Markup
    • Search Engine Optimization (SEO)
  • Shortcodes Library
    • Using Shortcodes in WordPress
    • Directorist Shortcodes
    • Add Listing Form
    • All Listings Page
    • Single Category Page
    • Single Location Page
    • Tags Page
    • All Locations Page
    • Search Listings
    • Payment & Checkout Page
    • All Categories Page
    • Search Results
    • Login and Registration
    • User Dashboard
    • Author Profile
    • Search Results
  • Getting Started
    • Plugin Dashboard
    • Getting Started
    • Installation & Activation
    • Directorist Setup Wizard
    • Directorist Membership (Themes & Extensions)
    • Setting Up the Required Pages
    • Managing Categories
    • Managing Location
    • Manage Tags
    • Terms and Conditions Setup
    • Import and Export

Directorist AI

  • Getting started and settings
  • Connections and credits
  • Create and improve directories
  • Generate and edit listings
  • Import listings with AI
  • Generate and style page layouts
  • Gutenberg, Elementor and Divi
  • Visitor chatbot
  • Chat appearance
  • Listings for AI
  • Limits, data and troubleshooting

Extensions

  • Directorist Events
  • Installation
  • Activate/Renew License
  • Directorist Pay Per Lead
  • Directorist Gutenberg Integration
  • M-Pesa Payment Gateway
  • Paystack Payment Gateway
  • Mark as Sold
  • Directorist Ads Manager
  • Setting Up Directorist Live Chat
  • Directorist Coupons
  • Directorist – BuddyPress Integration
  • Setting Up Directory Linking
  • Job Manager
  • AddonsKit for Bricks
  • Mailchimp Integration
  • Directorist Announcement
  • Directorist Notifications Pro
  • Directorist Analytics
  • Directorist AI Search
  • Multi Directory Linking
  • Listing Importer
  • WooCommerce Pricing Plans
  • Business Hours
  • Universal Search
  • Search Alert
  • Advanced Review
  • PayPal Payment Gateway
  • Stripe Payment Gateway
  • Authorize.net Payment Gateway
  • Listings Slider & Carousel Listing
  • WPML – Translation Guide
  • Listings with Map
  • Digital Marketplace
  • Job Manager
  • Claim Listing
  • Coupon
  • Image Gallery
  • Listing FAQs
  • Compare Listings
  • Directorist Mobile App 2.0
  • Booking
    • Installation & Configuration
    • Google Calendar Integration
    • Service Booking
    • Rental System
    • Event Booking
  • Pricing Plans
    • Directorist Pricing Plans Shortcode Guide
    • Migration Guide
    • Plan Creation and Full Workflow
    • Multiple Pricing Plans: Setup & How It Works
  • Divi Integration
    • Designing Single Listing Page with Divi
    • Designing All Listing Page with Divi
    • Getting Started with Divi Integration Extension
  • Elementor Integration
    • Getting Started with Directorist Elementor Integration

Themes

  • dCarList 
  • dTour Theme
  • Importing dTour Templates
  • Getting Started with Theme
  • Quick Installation & Demo Import
  • Full Theme Setup & Customization

Tutorials

  • How to Build and Grow an Investors Directory
  • How to Make Money from Your Business Directory
  • How to Use Data to Build a Smarter and More Profitable Directory 
  • How to Build a Free University Directory
  • How to Translate Your Directory Theme and Plugin with Poedit
  • How to Create a Medical Directory Website
  • How to Make Your Directorist Website Multilingual

Developers Doc

  • Template Override
  • Action Hooks
  • Filter Hooks
  • API Reference
View Categories
  • Home
  • Docs
  • Extensions
  • Paystack Payment Gateway

Paystack Payment Gateway

The Paystack Payment Gateway extension lets your directory accept payments through Paystack for one-time listing fees, featured upgrades, and Pricing Plans purchases, including recurring card subscriptions. Buyers pay on a Paystack-hosted checkout and return to your directory afterward. This guide walks through getting your API key, activating the gateway, registering the webhook, and testing before you go live.

Prerequisites #

  • Directorist Latest version with the extension activated alongside it. PHP 7.4+ with the OpenSSL extension is required.
  • Monetization turned on, since the gateway only appears at checkout when monetization is active.
  • A Paystack account (sandbox/test and live).
  • A public HTTPS address. Webhooks cannot reach localhost or other non-public sites.
  • A currency supported by Paystack. This is required. Set your directory currency to currently supported currencies of PayStack (and confirm it is enabled on your Paystack account) under Directorist Settings → Monetization Settings → Currency Settings. If the currency is not supported, checkout cannot complete and no payment will go through.
  • Something to charge for. Paystack works with any Directorist order. Without Pricing Plans you can still accept payments for:
    • Featured listings from Directorist core (Monetization Settings → Monetize with Featured Listings, with its fee and duration).
    • Claim Listing fees, if you use the Claim Listing extension and charge for claims.
  • Directorist Pricing Plans (optional). Needed only for paid plans, subscriptions and free trials.

Path: WP Admin → Directorist → Settings → Monetization Settings

  1. Set Enable Monetization Feature to Yes.
  2. Save your changes.

Step 1 – Install and Activate the Extension #

  1. Go to WP Admin → Plugins → Add New → Upload Plugin and upload the complete extension ZIP.
  2. Click Install Now, then Activate.

Or, you can download and activated it from your Directorist Dashboard > Themes & Extensions

If you see a notice about the required Directorist version, update Directorist.

Step 2 – Get Your Paystack Secret Key #

  1. Log in to the Paystack Dashboard.
  2. Open the API keys settings and copy your Test Secret Key (starts with sk_test_).
  3. Repeat for your Live Secret Key (starts with sk_live_) when you are ready to accept real payments.

The extension needs only the secret key. It checks the key prefix, so a test key saved in Live mode (or the reverse) is rejected.

Step 3 – Activate Paystack in Gateway Settings #

Path: WP Admin → Directorist → Directorist Settings → Monetization Settings → Gateway Settings

  1. Open the Gateway Settings tab.
  2. Under Active Gateways, check Paystack.
  3. (Optional) To pre-select Paystack at checkout, choose it from the Default Gateway dropdown.
  4. Click Save.

The extension does not enable itself as a checkout method. You must do this step.

[SCREENSHOT: Gateway Settings tab showing Active Gateways and Default Gateway]

Step 4 – Configure the Paystack Gateway Tab #

Path: WP Admin → Directorist → Directorist Settings → Monetization Settings → Paystack Gateway

  1. Enable Sandbox Mode is on by default. While it is on, Directorist uses your Sandbox (test) key and no real payments are processed. Turn it off only when you are ready to go live.
  2. Set Gateway Title (shown to buyers at checkout; defaults to Paystack).
  3. Set Gateway Description (defaults to “Pay securely with Paystack using an available payment method.”).
  4. Enter your key. The field shown depends on the mode:
    • Sandbox Secret Key while Sandbox Mode is on.
    • Live Secret Key while Sandbox Mode is off.
  5. Click Save.

[SCREENSHOT: Paystack Gateway tab showing Enable Sandbox Mode, Gateway Title, Gateway Description and Secret Key fields]

Step 5 – Verify the Connection #

  1. After saving, click Verify Connection next to the key.
  2. A success message confirms Paystack accepted the saved key.

Notes:

  • Verify after saving. If the key is empty or has unsaved changes, you’ll be asked to add or save it first.
  • Changing a key clears its earlier verification result.
  • Verification only checks the saved key. It does not create a payment and does not confirm webhooks work.
  • Failed checks show separate messages for authentication errors, blocked requests, and network failures.

[SCREENSHOT: Verify Connection button with a success message]

Step 6 – Register the Webhook #

The webhook is how Paystack tells your directory that a payment or subscription event happened. Without it, orders and subscriptions won’t update reliably.

  1. On the Paystack Gateway tab, find Webhook URL and click Copy webhook URL. The URL looks like https://your-site.com/wp-json/directorist-paystack/webhook.
  2. In the Paystack Dashboard, open the API/webhook settings for the same environment (Test or Live) and paste the URL as the webhook URL.
  3. Repeat for the other environment when you go live.

Below the URL, the settings screen reports the last verified event received for Sandbox and Live separately. “No verified event received.” means Paystack has not yet delivered a signed event to your site.

The extension verifies every webhook’s signature with your secret key and ignores forged requests. Accepted events are queued first and processed in the background through WP-Cron.

[SCREENSHOT: Webhook URL field with the last verified event status]

Step 7 – Run a Sandbox Test Checkout #

Always test before going live.

  1. Keep Enable Sandbox Mode on and the Sandbox key saved.
  2. Add a paid listing or featured upgrade as a test user and choose Paystack at checkout.
  3. Complete the payment on the Paystack page with a Paystack test card.
  4. Confirm you land back on your directory and the order shows as paid.
  5. Return to the Paystack Gateway tab and check that the sandbox webhook status shows a verified event.

[SCREENSHOT: Checkout page showing Paystack as a payment option]

Going Live #

  1. Save your Live Secret Key and click Verify Connection (in Live mode).
  2. Register the webhook URL in the Live environment of your Paystack Dashboard.
  3. Turn Enable Sandbox Mode off and save.
  4. Make a small real purchase to confirm the full flow.

Sandbox and live keys, verification results, and records are kept separate.

Managing Orders #

Every purchase through Paystack creates an order in Directorist. After the buyer pays, they return to your directory and the order updates to paid once Paystack confirms the transaction. Directorist calculates taxes and discounts, and Paystack charges the final amount. For the full walkthrough of reviewing and managing orders, see the Managing Orders guide.

Recurring Plan/Package Payments #

Recurring payments work through Paystack native subscriptions, and require Directorist Pricing Plans with a subscription plan.

Supported billing intervals: daily, weekly, monthly, quarterly, every six months, and annually. Other interval/count combinations are rejected. Recurring enrollment uses cards.

How it works:

  1. The buyer selects Paystack and checks out. The first payment is collected on Paystack’s checkout.
  2. After the payment is verified, the extension creates a Paystack subscription that starts at the end of the paid period. Paystack then charges the card automatically each cycle.
  3. Each paid cycle renews the package. Failed charges do not extend paid access.

Free trials

  • Trials are available only to customers who have no active package and haven’t used a trial in that directory.
  • If the buyer has a reusable saved card, the first automatic charge is scheduled for the end of the trial, and a successful charge converts the trial to the paid package.
  • If no saved card is available, buyers can start the trial without payment (a Start free trial without automatic billing option appears). Access ends at expiry and they must pay manually to continue.

Cancelling

  • Cancel at period end stops future billing and keeps access until the paid period ends.
  • Immediate cancellation stops future billing and ends access now.
  • Neither action issues a refund.

Reliable Background Processing #

Webhook events and renewal checks run through WP-Cron. On low-traffic sites, set up a real server cron job so WP-Cron runs reliably. An hourly recovery job re-checks pending orders, subscription setup, and renewals. To run it manually:

wp cron event run directorist_paystack_recover

Limitations #

  • Automatic refunds are not supported. Refund in the Paystack Dashboard.
  • Direct Debit subscriptions, custom recurring schedules, split settlements, and migrating subscriptions from another gateway are not supported.
  • Deactivating the extension does not cancel subscriptions at Paystack. Cancel active subscriptions before deactivating or removing the gateway.
  • Saved-card enrollment depends on your WordPress authentication salts. If you rotate them, saved card details can no longer be read, and some customers may need to check out again. Existing subscriptions stay active at Paystack.

Troubleshooting #

ProblemWhat to check
Payment fails or can’t completeYour directory currency is not gateway supported or is not enabled on your Paystack account
Paystack doesn’t appear at checkoutMonetization is on; Paystack is checked under Active Gateways; currency is supported; the plan isn’t one the gateway hides for subscriptions
“This key does not match the selected Sandbox/Live mode”Use an sk_test_ key in Sandbox Mode and an sk_live_ key in Live mode
“Add and save your secret key before verifying”Enter the key and click Save first
Order stays pending after paymentWebhook not registered for this environment, site not publicly reachable over HTTPS, or WP-Cron not running
“No verified event received”Re-copy the webhook URL into the matching Paystack environment and send a test event
“Below Paystack’s minimum for this currency”Raise the price to at least the minimum shown above
Dependency or version notice in adminInstall the complete release ZIP and update Directorist to 8.8.0 or later

FAQs #

Does the buyer enter card details on my site? #

No. Payment happens on a Paystack-hosted checkout.

Can I use it without Pricing Plans? #

Yes, for one-time payments such as core featured listings and Claim Listing fees. Subscriptions and trials need Pricing Plans.

Does it work with WooCommerce checkout? #

No. WooCommerce orders use WooCommerce’s own gateways. This extension handles Directorist’s native checkout only. You can use Directorsit WooCommerce Pricing Plan for better integration with Directorist.

Do I need a publishable key? #

No. Only the secret key is used.

Which payment methods do buyers see? #

One-time checkout offers the methods enabled on your Paystack account. Recurring enrollment uses cards.

Payment Gateway
What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on Nov 1, 2026 2:23 pm
M-Pesa Payment GatewayMark as Sold
Table of Contents
  • Prerequisites
  • Step 1 – Install and Activate the Extension
  • Step 2 – Get Your Paystack Secret Key
  • Step 3 – Activate Paystack in Gateway Settings
  • Step 4 – Configure the Paystack Gateway Tab
  • Step 5 – Verify the Connection
  • Step 6 – Register the Webhook
  • Step 7 – Run a Sandbox Test Checkout
  • Going Live
  • Managing Orders
  • Recurring Plan/Package Payments
  • Reliable Background Processing
  • Limitations
  • Troubleshooting
  • FAQs
    • Does the buyer enter card details on my site?
    • Can I use it without Pricing Plans?
    • Does it work with WooCommerce checkout?
    • Do I need a publishable key?
    • Which payment methods do buyers see?
Directorist Directorist

Product

  • Features
  • Solutions
  • Extensions
  • Integrations
  • Mobile App
  • Roadmap

Popular

  • OneListing (Free)
  • dClassified
  • dRestaurant
  • dRealestate
  • All Themes
  • Templates

Services

  • Done For You
  • Custom Development
  • Portfolio
  • Contact Sales

Resources

  • Documentation
  • Blog
  • Directorist Academy
  • Directory Ideas
  • What's New

Quick Links

  • About Us
  • Client Showcase
  • Support Policy
  • Refund Policy
  • Affiliate Program

Keep Updated

Subscribe to our email newsletter to receive updates.

Subscribe to our newsletter
© Directorist 2026 A product of
Also by wpWax FormGent HelpGent
  • Privacy Policy
  • Terms & Conditions
We use cookies to ensure the best browsing experience.