PayNexus Payment Gateway

外掛說明

PayNexus Payment Gateway lets you accept M-Pesa mobile money payments on your WordPress website. Money flows directly from the customer to your own M-Pesa payment account — PayNexus never holds or delays your funds.

Features:

  • M-Pesa STK Push — Customers receive a payment prompt on their phone
  • WooCommerce integration — Full checkout gateway for WooCommerce stores
  • Shortcode support — Embed payment forms on any page with [paynexus_payment_form]
  • Real-time polling — Automatic status updates without page refresh
  • Webhook support — Receive instant payment notifications via REST API
  • Admin dashboard — View and filter all payments from WordPress admin
  • Secure — HMAC-SHA256 webhook signature verification with replay protection
  • Local records — Every payment is stored locally for your records

How It Works:

  1. Customer enters their phone number and amount
  2. PayNexus sends an M-Pesa STK Push to the customer’s phone
  3. Customer enters their M-Pesa PIN to confirm payment
  4. Payment status is updated automatically via webhook
  5. WooCommerce orders are marked as paid automatically

安裝方式

  1. Download the plugin ZIP file
  2. Go to Plugins Add New Upload Plugin in WordPress admin
  3. Upload the ZIP file and click Install Now
  4. Activate the plugin
  5. Go to PayNexus Settings to enter your API keys
  6. For WooCommerce: enable the gateway at WooCommerce Settings Payments M-Pesa (PayNexus)

Getting API Keys:

  1. Sign up at paynexus.co.ke
  2. Go to Merchant Dashboard API Keys
  3. Copy your Secret Key (sk_…) and optionally the Public Key (pk_…)

常見問題集

Does PayNexus hold my funds?

No. PayNexus is a payment orchestrator. Money flows directly from the customer to your own M-Pesa payment account.

Do I need WooCommerce?

No. You can use the [paynexus_payment_form] shortcode on any page without WooCommerce. WooCommerce integration is optional.

What phone number format should customers use?

Kenyan phone numbers in the format 254746990866 (with country code, no +).

How do I receive webhook notifications?

Set your webhook URL to https://yoursite.com/wp-json/paynexus/v1/webhook in the PayNexus dashboard.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈PayNexus Payment Gateway〉的開發相關工作。

參與者

將〈PayNexus Payment Gateway〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.2

  • Updated plugin to meet WordPress plugin standards

1.0.1

  • Fixed security vulnerabilities

1.0.0

  • Initial release
  • M-Pesa STK Push payment initiation
  • WooCommerce payment gateway
  • Payment form shortcode
  • Payment status shortcode
  • Admin settings page
  • Admin payments list
  • Webhook handler with HMAC verification
  • Real-time JavaScript status polling