跳到内容

Dchamplegacy Standalone Payments for PesaPal

v1.4.14

Bigger Benson · 2026年4月30日 上架

Accept PesaPal payments in WordPress without WooCommerce: hosted checkout, IPN registration, status callbacks, and admin transaction logs.

正在使用
70+
评分
暂无
累计下载
1,069
最近更新
2026年8月31日
需要 WordPress 5.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Frontend payment form from the [dcslps_payment_form] shortcode: amount, currency, email, optional phone, name, Pay button, and supported methods (M-PESA, MTN MoMo, cards, Airtel Money).
Frontend payment form from the [dcslps_payment_form] shortcode: amount, currency, email, optional phone, name, Pay button, and supported methods (M-PESA, MTN MoMo, cards, Airtel Money).
Frontend payment form with the currency dropdown open (KES, UGX, TZS, RWF, ZMW, ZAR, GHS, NGN, USD, EUR, GBP, AUD).
Frontend payment form with the currency dropdown open (KES, UGX, TZS, RWF, ZMW, ZAR, GHS, NGN, USD, EUR, GBP, AUD).
PesaPal hosted checkout: choose a payment option (MTN Mobile Money, Airtel Money, cards, or wallet) and enter a mobile money number.
PesaPal hosted checkout: choose a payment option (MTN Mobile Money, Airtel Money, cards, or wallet) and enter a mobile money number.
PesaPal hosted checkout after an Airtel Money prompt is sent: confirm PIN on the phone, resend prompt, Proceed, or Cancel Request.
PesaPal hosted checkout after an Airtel Money prompt is sent: confirm PIN on the phone, resend prompt, Proceed, or Cancel Request.
Payment Failed redirect page: retry options, WhatsApp/email support, and common questions.
Payment Failed redirect page: retry options, WhatsApp/email support, and common questions.
Payment Successful redirect page: next steps, print/support actions, and receipt FAQs.
Payment Successful redirect page: next steps, print/support actions, and receipt FAQs.
Admin settings: Consumer Key and Secret, Live/Sandbox mode, default currency, notification ID, success/failed pages, and Register IPN URL.
Admin settings: Consumer Key and Secret, Live/Sandbox mode, default currency, notification ID, success/failed pages, and Register IPN URL.
Admin settings: shortcode usage plus the site Callback URL and IPN URL used with PesaPal.
Admin settings: shortcode usage plus the site Callback URL and IPN URL used with PesaPal.

This plugin lets WordPress sites accept payments through the PesaPal payment platform without WooCommerce. It is an independent integration and is not affiliated with, endorsed by, or sponsored by PesaPal Ltd.

Features:

  • Standalone gateway integration
  • Shortcode payment form
  • IPN registration
  • Transaction logs in admin
  • Sandbox / Live mode
  • Success / Failed redirect pages
  • Works without WooCommerce

Recommended setup:

  • Install directly from WordPress.org (Plugins -> Add New -> search for “Dchamplegacy Standalone Payments for PesaPal”) for automatic update checks.
  • Keep the plugin in the default WordPress.org slug path:
    dchamplegacy-standalone-pesapal/dchamplegacy-standalone-pesapal.php
    so WordPress can match and apply updates automatically.

Shortcode:

[dcslps_payment_form]

You must enter your PesaPal Consumer Key and Secret in settings (credentials are yours; this plugin is third-party software).

Plugin URL:
https://dchamplegacy.com/plugins/pesapal-standalone/

WordPress.org URL:
https://wordpress.org/plugins/dchamplegacy-standalone-pesapal/

Author:
https://dchamplegacy.com/

External services

This plugin connects to the PesaPal payment API (operated by PesaPal Limited) so your site can obtain access tokens, register an Instant Payment Notification (IPN) URL, create payment orders, retrieve transaction status, and send payers to PesaPal-hosted checkout to complete payment. This plugin is not affiliated with PesaPal; use of their service is subject to their policies.

Where requests are sent:

  • Live mode: https://pay.pesapal.com (API paths such as /api/Auth/RequestToken, /api/URLSetup/RegisterIPN, /api/Transactions/SubmitOrderRequest, /api/Transactions/GetTransactionStatus).
  • Sandbox / demo mode: https://cybqa.pesapal.com (same API path pattern).

What data is sent and when:

  • RequestToken (POST, JSON): Whenever the plugin needs an API access token—for example when a payer submits the payment form, when an administrator registers the IPN from WordPress, when the payer returns via the plugin callback URL, or when handling an IPN and checking status. The request includes the Consumer Key and Consumer Secret you configure in the plugin (merchant API credentials from PesaPal).
  • RegisterIPN (POST, JSON): When you register the IPN from the WordPress admin. Sends your site’s IPN URL on your WordPress domain and the notification delivery type (POST) so PesaPal can call that URL for payment events.
  • SubmitOrderRequest (POST, JSON): When a payer successfully initiates a payment from the shortcode form. Sends order fields including merchant reference, currency, amount, description, your site’s callback_url and cancellation_url, the notification_id returned when the IPN was registered, and billing_address with email_address, first_name, and last_name from the form. The payer is then redirected to PesaPal; any further data collected at checkout is processed under PesaPal’s own terms and privacy policy.
  • GetTransactionStatus (GET): When confirming a transaction after callback or during IPN handling. Sends orderTrackingId and optionally merchantReference as URL query parameters, with a Bearer access token in the Authorization header.

Links (verify before each release):

  • PesaPal terms and conditions: https://www.pesapal.com/terms-and-conditions
  • PesaPal privacy policy: https://www.pesapal.com/privacy-policy

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums