Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
0e4b88b
add debug backtrace
lukman-paystack Oct 14, 2020
9538d81
add debug backtrace
lukman-paystack Oct 14, 2020
4603399
add debug backtrace
lukman-paystack Oct 14, 2020
943359a
add debug backtrace
lukman-paystack Oct 14, 2020
5b02888
add debug backtrace
lukman-paystack Oct 14, 2020
2d36e0a
add debug plugin
lukman-paystack Apr 19, 2021
f8b4520
Merge remote-tracking branch 'upstream/master' into dev
andrewlimaza Jul 4, 2023
4466181
Push Github workflows
andrewlimaza Jul 4, 2023
e4dcde8
Push workflows to .github now.
andrewlimaza Jul 4, 2023
6ae8364
Bug fix: Static function called incorrectly.
andrewlimaza Sep 4, 2023
ac7741a
Minor changes to UI in settings
andrewlimaza Sep 4, 2023
cd422f4
General fixes to class + intervals.
andrewlimaza Sep 5, 2023
3fec003
Change plugin domain
andrewlimaza Sep 6, 2023
2ddf63b
Update text domain instead of constant.
andrewlimaza Sep 6, 2023
f643f66
Improvements to the webhook handler.
andrewlimaza Sep 7, 2023
d1a8092
Create generate-translations.yml
andrewlimaza Sep 8, 2023
c9192fb
🔄 Regenerate translation files
github-actions[bot] Sep 8, 2023
d0f58e0
Add localizations
andrewlimaza Sep 8, 2023
35f446e
Version bump + Readme update
andrewlimaza Sep 8, 2023
04c207b
Merge branch 'dev'
andrewlimaza Sep 8, 2023
1b662b4
Update readme
andrewlimaza Sep 8, 2023
2d6d8c2
Only allow card channel for subs.
andrewlimaza Sep 12, 2023
83b846c
Update readme and get ready for release.
andrewlimaza Sep 13, 2023
2e7330d
Merge branch 'dev'
andrewlimaza Sep 13, 2023
0fe5c47
Add readme.MD for PMPro repo.
andrewlimaza Sep 27, 2023
54b571d
Added plugin name to readme.MD
andrewlimaza Sep 27, 2023
f980a2d
jpg image
andrewlimaza Sep 27, 2023
eb61d5c
Support subscription cancellations for PMPro 3.0
andrewlimaza Jan 29, 2024
fb39ff7
rename variable
andrewlimaza Jan 29, 2024
1e2dbc7
Added doc block
andrewlimaza Jan 29, 2024
ea360dd
Only set the subscription if it works
andrewlimaza Jan 29, 2024
c009e99
Added error messages if API fails.
andrewlimaza Jan 30, 2024
2b2786b
Add supports functionality
andrewlimaza Feb 5, 2024
f95d3a0
Fix issue with discount codes and expiration
andrewlimaza Feb 9, 2024
e7180f3
Update class.pmprogateway_paystack.php
andrewlimaza Feb 9, 2024
8da3cbc
Fixed expiration dates not being set
andrewlimaza Feb 13, 2024
a35452a
Merge pull request #1 from andrewlimaza/pmpro-3.0
andrewlimaza Feb 14, 2024
fdef5a4
Merge branch 'dev' into fix-discount-code
andrewlimaza Feb 14, 2024
3a455d9
Merge pull request #3 from andrewlimaza/fix-discount-code
andrewlimaza Feb 14, 2024
6a12cc4
Fix minor issue with discount codes.
andrewlimaza Feb 14, 2024
67baf7e
Version bump
andrewlimaza Feb 15, 2024
30d6f2f
🔄 Regenerate translation files
github-actions[bot] Feb 15, 2024
3c0aefc
Change WordPress tested up to 6.5
andrewlimaza Apr 9, 2024
0700369
Remove extra tags for .org
andrewlimaza Apr 10, 2024
13b454d
Added refund functionality to PMPro dashboard
andrewlimaza Apr 12, 2024
34b3e1f
Fix small API status change to save orders.
andrewlimaza Apr 12, 2024
e519116
update doc blocks
andrewlimaza Apr 12, 2024
d3eedfb
Merge pull request #6 from andrewlimaza/refund-functionality
andrewlimaza Apr 12, 2024
3f1dd57
Version bump to 1.7.3
andrewlimaza Apr 15, 2024
2ed3451
🔄 Regenerate translation files
github-actions[bot] Apr 15, 2024
a42761a
Added filter for tweaking the level.
andrewlimaza Apr 19, 2024
6053e84
V1.7.4 readme update and changelog.
andrewlimaza Apr 24, 2024
8462653
Support custom fields
andrewlimaza May 3, 2024
19c6278
Remove check for amount.
andrewlimaza Jun 24, 2024
d475388
Functionality for IPN Logging
andrewlimaza Jun 25, 2024
c2dbc1e
Fixed some bugs with renewal payments
andrewlimaza Jul 1, 2024
5507383
Rename webhook log and debug file prefixes.
andrewlimaza Jul 1, 2024
a33544b
V1.7.5 bump
andrewlimaza Jul 3, 2024
db8bd65
🔄 Regenerate translation files
github-actions[bot] Jul 3, 2024
c28a6fa
Remove user->membership_level as it's not needed
andrewlimaza Jul 3, 2024
3a5c8dc
Load include payment information later
andrewlimaza Jul 3, 2024
ba368b8
make cancelMembership static
andrewlimaza Jul 4, 2024
69cbf06
Remove redundant gateway defined option.
andrewlimaza Jul 10, 2024
2076fa7
Use pmpro_get_element_class
andrewlimaza Jul 15, 2024
d963fdc
Version bump 1.7.7
andrewlimaza Jul 18, 2024
37f13ee
🔄 Regenerate translation files
github-actions[bot] Jul 18, 2024
cd34de8
Fix gitattributes file.
andrewlimaza Jul 18, 2024
b373f95
Fix an issue where the subscription would start same day
andrewlimaza Jul 19, 2024
126278e
Update readme
andrewlimaza Jul 19, 2024
f778856
Fix free checkout fatal error
andrewlimaza Oct 8, 2024
1a018ad
V1.7.8 bump
andrewlimaza Oct 9, 2024
3c555fe
🔄 Regenerate translation files
github-actions[bot] Oct 9, 2024
3b61568
Remove files before adding them back.
andrewlimaza Oct 17, 2024
efbdf19
Initial commit for the refactor
andrewlimaza Oct 18, 2024
208bf8c
Add back the cancel method.
andrewlimaza Oct 18, 2024
7ddf440
Refactored logic
andrewlimaza Oct 22, 2024
7a86ef4
Updated recurring payments webhook function.
andrewlimaza Oct 24, 2024
0ea2024
Remove ajax call. We don't need this.
andrewlimaza Oct 25, 2024
334b4d0
Fix webhoook handler recurring subscriptions.
andrewlimaza Oct 25, 2024
2264cae
Put language files back.
andrewlimaza Oct 25, 2024
5692487
Put the Readme file back
andrewlimaza Oct 25, 2024
014145e
Put .org readme back
andrewlimaza Oct 25, 2024
1c2faeb
Remove DS_Store file
andrewlimaza Oct 25, 2024
5be3801
Add gitignore to gitattributes
andrewlimaza Oct 25, 2024
ca13889
Fix plugin name.
andrewlimaza Oct 30, 2024
4e5e2d5
Remove required billing fields
andrewlimaza Oct 30, 2024
d98e218
Merge pull request #11 from andrewlimaza/refactor
andrewlimaza Nov 1, 2024
83551ba
Version 1.8 bump
andrewlimaza Nov 6, 2024
c5dc826
rename core file for our updater.
andrewlimaza Nov 6, 2024
a5afca0
🔄 Regenerate translation files
github-actions[bot] Nov 6, 2024
4f6628c
Added support for PMPro 3.5
andrewlimaza Jul 10, 2025
9a05bba
Update version
andrewlimaza Jul 11, 2025
8dbf2ad
🔄 Regenerate translation files
github-actions[bot] Jul 11, 2025
dbfcf9b
Merge branch 'dev'
andrewlimaza Jul 11, 2025
0144a93
Fix some comments
andrewlimaza Jul 11, 2025
263ab7d
Fix comment.
andrewlimaza Jul 11, 2025
cae3e67
Mark PMPro as ready
andrewlimaza Oct 7, 2025
affbb43
Update class.pmprogateway_paystack.php
DAnn2012 Oct 30, 2025
7e88066
Merge pull request #14 from andrewlimaza/fix-pmpro-ready
andrewlimaza Nov 7, 2025
c107fb0
Merge pull request #15 from DAnn2012/patch-1
andrewlimaza Nov 7, 2025
7ba687b
🔄 Regenerate translation files
github-actions[bot] Nov 7, 2025
3c9b184
version bnump 1.9.1
andrewlimaza Nov 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.gitattributes export-ignore
.gitignore export-ignore
.github export-ignore
CONTRIBUTING.md export-ignore
README.md export-ignore
Dockerfile export-ignore
pmpro-paystack-banner.jpg export-ignore
18 changes: 18 additions & 0 deletions .github/workflows/generate-translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Generate Translations
on: workflow_dispatch
jobs:
generate-translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WordPress POT/PO/MO Generator
uses: strangerstudios/action-wp-pot-po-mo-generator@main
with:
generate_pot: 1
generate_po: 1
generate_mo: 1
generate_lang_packs: 1
merge_changes: 1
headers: '{"Report-Msgid-Bugs-To":"info@paidmembershipspro.com","Last-Translator":"Paid Memberships Pro <info@paidmembershipspro.com>","Language-Team":"Paid Memberships Pro <info@paidmembershipspro.com>"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sync labels
on:
# You can run this with every type of event, but it's better to run it only when you actually need it.
workflow_dispatch:

jobs:
labels:
runs-on: ubuntu-latest

steps:
- uses: strangerstudios/label-sync@v2
with:
# If you want to use a source repo, you can put is name here (only the owner/repo format is accepted)
source-repo: strangerstudios/paid-memberships-pro

# If you want to delete any additional label, set this to true
delete-other-labels: true

#If you want the action just to show you the preview of the changes, without actually editing the labels, set this to tru
dry-run: false

# You can change the token used to change the labels, this is the default one
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

44 changes: 25 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
<p align="center"><a href="https://paystack.com/"><img src="https://raw.githubusercontent.com/PaystackHQ/wordpress-paid-membership-pro-paystack/assets/paidmembershipspro%20copy.png" alt="Paystack Paid Membership Pro"></a></p>
![](pmpro-paystack-banner.jpg)

# Paystack Gateway for Paid Membership Pro
# [Paid Memberships Pro - Paystack Gateway](https://www.paidmembershipspro.com/add-ons/paystack-gateway/) #

Welcome to the Paystack Gateway for Paid Membership Pro repository on GitHub.
![WordPress Plugin Downloads](https://img.shields.io/wordpress/plugin/dy/paystack-gateway-paid-memberships-pro?style=flat-square) ![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg?style=flat-square)

The *Paystack Gateway for Paid Membership Pro* plugin allows Wordpress site owners from Nigeria and Ghana to accept payments from their customers via Paid Membership Pro.
### Welcome to the Paid Memberships Pro - Paystack Gateway GitHub Repository
Add Paystack as a gateway option for Paid Memberships Pro and accept payments from members around Africa.

Here you can browse the source, look at open issues and keep track of development.
For more information please visit [paidmembershipspro.com/add-ons/paystack-gateway/](https://www.paidmembershipspro.com/add-ons/paystack-gateway/)

## Installation
## Installation ##
For detailed installation steps, visit the [documentation](https://www.paidmembershipspro.com/add-ons/paystack-gateway/) page.

1. Install the [Paystack Gateway for Paid Membership Pro](https://wordpress.org/plugins/paystack-gateway-paid-memberships-pro/) via the Plugins section of your WordPress Dashboard.
2. Go to the settings section of the plugin and enter your Public and Secret Keys which are available on your [Paystack Dashboard](https://dashboard.paystack.com/#/settings/developer).
1. Download the current development ZIP file directly: `https://github.com/strangerstudios/paystack-gateway-paid-memberships-pro/archive/dev.zip`

## Documentation
* [Paystack Documentation](https://developers.paystack.co/v2.0/docs/)
* [Paystack Helpdesk](https://paystack.com/help)
**Please ensure that once installing this version of the plugin to remove `-dev` from the plugin's folder name.**

## Support
For bug reports and feature requests directly related to this plugin, please use the [issue tracker](https://github.com/PaystackHQ/plugin-paid-membership-pro/issues).
## Bugs ##
If you find an issue/bug, let us know by [creating a detailed GitHub issue](https://github.com/strangerstudios/paystack-gateway-paid-memberships-pro/issues/new).

For questions related to using the plugin, please post an inquiry to the plugin [support forum](https://wordpress.org/support/plugin/paystack-gateway-paid-memberships-pro).
## Support ##
This is a developer's portal for Paid Memberships Pro - Paystack Gateway. We do not offer support on this channel. **Any support related questions should be directed to [paidmembershipspro.com/add-ons/paystack-gateway/](https://www.paidmembershipspro.com/add-ons/paystack-gateway/).**

For general support or questions about your Paystack account, you can reach out by sending a message from [our website](https://paystack.com/contact).
## Contributing to Paid Memberships Pro - Paystack Gateway ##
We encourage and welcome any contribution to Paid Memberships Pro - Paystack Gateway. Please read the [guidelines for contributing](https://github.com/strangerstudios/paid-memberships-pro/blob/dev/.github/CONTRIBUTING.md) to this repository.

## Community
If you are a developer, please join our Developer Community on [Slack](https://slack.paystack.com).
There are various **ways to the help development** of Paid Memberships Pro - Paystack Gateway:

## Contributing to Paystack Gateway for Paid Membership Pro
If you have a patch or have stumbled upon an issue with the Paystack Gateway for Paid Membership Pro plugin, you can contribute this back to the code. Please read our [contributor guidelines](https://github.com/PaystackHQ/wordpress-paid-membership-pro-paystack/blob/master/CONTRIBUTING.md) for more information how you can do this.
1. Report [bugs/issues](https://github.com/strangerstudios/paystack-gateway-paid-memberships-pro/issues/new) on GitHub.
2. Work on any issues by submitting a Pull Request.

Here are some ways for **non-developers to contribute** to Paid Memberships Pro - Paystack Gateway:

1. Translate Paid Memberships Pro - Paystack Gateway into your own [language](https://www.paidmembershipspro.com/paid-memberships-pro-in-your-language/).
2. [Purchase a paid membership](https://paidmembershipspro.com/pricing) to help fund ongoing development and bug fixes.
3. Leave an honest review for [Paid Memberships Pro - Paystack Gateway](https://www.paidmembershipspro.com/submit-testimonial/).
Loading