| 开发者 | fearofbug |
|---|---|
| 更新时间 | 2026年9月7日 02:40 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
ozupay-payment-gateway folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugins screen.Safaricom's official sandbox test phone is 254708374149. Any STK Push to this number in sandbox mode will succeed. You can change this in the Sandbox Testing panel.
Shortcode: 174379 Passkey: bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919 These are public Safaricom test credentials. The plugin's Sandbox Testing panel can pre-fill these automatically.
The most common reasons:
Your Shortcode Type setting does not match the type registered in Daraja. Paybill numbers use CustomerPayBillOnline and Till numbers use CustomerBuyGoodsOnline. The sandbox shortcode 174379 is a Paybill — set the type to Paybill.
Daraja requires a publicly accessible HTTPS callback URL. For local testing, use a secure tunnel such as ngrok, then confirm delivery with the Sandbox Testing panel.
Yes. The free and Pro editions use the same database tables and option names (ozupay_mpesa_settings, wp_ozupay_mpesa_transactions). Upgrading to Pro or switching back to free never deletes your data.
Consumer Key, Consumer Secret, and STK Passkey are stored AES-256-GCM encrypted in the WordPress options table. The encryption key is derived from your site's AUTH_KEY and SECURE_AUTH_KEY constants. They are never stored in plain text.
Payment processing uses Daraja. Optional OzuPay diagnostics are off by default and run only after you opt in. The report includes your hostname and is not anonymous. Details follow.