Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/fortpesa/fortpesa-plugin-for-wordpress/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Accept M-Pesa STK Push payments on any WordPress site with the Fortpesa API. No WooCommerce needed.
Description
Add [fortpesa_pay amount="500" description="Consultation"] to any page and visitors can pay by M-Pesa. Includes a payments log, CSV export, signed webhook handling, email notifications and developer hooks.
Installation
- Upload the fortpesa-payments folder to /wp-content/plugins/ and activate.
- Go to Fortpesa > Settings, add your API key and Channel ID, then press "Test connection".
- (Recommended) In the Fortpesa dashboard add the webhook URL shown on the settings page and paste the signing secret.
- Add the shortcode to a page.
Hooks
do_action( 'fortpesa_payment_completed', $payment ) do_action( 'fortpesa_payment_status_changed', $payment, $old_status ) do_action( 'fortpesa_api_error', $wp_error, $payment ) do_action( 'fortpesa_amount_mismatch', $payment, $transaction )
Changelog
1.0.0
- Initial release.