Skip to content

Commit

Permalink
Version bump to 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlimaza committed Apr 15, 2024
1 parent d3eedfb commit 3f1dd57
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
16 changes: 8 additions & 8 deletions class.pmprogateway_paystack.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Paystack Gateway for Paid Memberships Pro
* Plugin URI: https://www.paidmembershipspro.com/add-ons/paystack-gateway/
* Description: Plugin to add Paystack payment gateway into Paid Memberships Pro
* Version: 1.7.2
* Version: 1.7.3
* Author: Paid Memberships Pro, Paystack
* Author URI: https://www.paidmembershipspro.com
* License: GPLv2 or later
Expand Down Expand Up @@ -125,7 +125,7 @@ static function pmpro_checkout_default_submit_button($show)
?>
<span id="pmpro_submit_span">
<input type="hidden" name="submit-checkout" value="1" />
<input type="submit" class="pmpro_btn pmpro_btn-submit-checkout" value="<?php if ($pmpro_requirebilling) { _e('Check Out with Paystack', 'paystack-gateway-paid-memberships-pro'); } else { _e('Submit and Confirm', 'paystack-gateway-paid-memberships-pro');}?> &raquo;" />
<input type="submit" class="pmpro_btn pmpro_btn-submit-checkout" value="<?php if ($pmpro_requirebilling) { esc_html_e('Check Out with Paystack', 'paystack-gateway-paid-memberships-pro'); } else { esc_html_e('Submit and Confirm', 'paystack-gateway-paid-memberships-pro');}?> &raquo;" />
</span>
<?php

Expand Down Expand Up @@ -391,42 +391,42 @@ static function pmpro_payment_option_fields($values, $gateway)
?>
<tr class="gateway gateway_paystack" <?php if($gateway != "paystack") { ?>style="display: none;"<?php } ?>>
<th scope="row" valign="top">
<label for="paystack_tsk"><?php _e('Test Secret Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
<label for="paystack_tsk"><?php esc_html_e('Test Secret Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
</th>
<td>
<input type="text" id="paystack_tsk" name="paystack_tsk" size="60" value="<?php echo esc_attr($values['paystack_tsk'])?>" />
</td>
</tr>
<tr class="gateway gateway_paystack" <?php if($gateway != "paystack") { ?>style="display: none;"<?php } ?>>
<th scope="row" valign="top">
<label for="paystack_tpk"><?php _e('Test Public Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
<label for="paystack_tpk"><?php esc_html_e('Test Public Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
</th>
<td>
<input type="text" id="paystack_tpk" name="paystack_tpk" size="60" value="<?php echo esc_attr($values['paystack_tpk'])?>" />
</td>
</tr>
<tr class="gateway gateway_paystack" <?php if($gateway != "paystack") { ?>style="display: none;"<?php } ?>>
<th scope="row" valign="top">
<label for="paystack_lsk"><?php _e('Live Secret Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
<label for="paystack_lsk"><?php esc_html_e('Live Secret Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
</th>
<td>
<input type="text" id="paystack_lsk" name="paystack_lsk" size="60" value="<?php echo esc_attr($values['paystack_lsk'])?>" />
</td>
</tr>
<tr class="gateway gateway_paystack" <?php if($gateway != "paystack") { ?>style="display: none;"<?php } ?>>
<th scope="row" valign="top">
<label for="paystack_lpk"><?php _e('Live Public Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
<label for="paystack_lpk"><?php esc_html_e('Live Public Key', 'paystack-gateway-paid-memberships-pro');?>:</label>
</th>
<td>
<input type="text" id="paystack_lpk" name="paystack_lpk" size="60" value="<?php echo esc_attr($values['paystack_lpk'])?>" />
</td>
</tr>
<tr class="gateway gateway_paystack" <?php if($gateway != "paystack") { ?>style="display: none;"<?php } ?>>
<th scope="row" valign="top">
<label><?php _e('Webhook', 'paystack-gateway-paid-memberships-pro');?>:</label>
<label><?php esc_html_e('Webhook', 'paystack-gateway-paid-memberships-pro');?>:</label>
</th>
<td>
<p><?php _e('To fully integrate with Paystack, be sure to use the following for your Webhook URL to', 'paystack-gateway-paid-memberships-pro');?><br/><code><?php echo admin_url("admin-ajax.php") . "?action=pmpro_paystack_ipn";?></code></p>
<p><?php esc_html_e('To fully integrate with Paystack, be sure to use the following for your Webhook URL to', 'paystack-gateway-paid-memberships-pro');?><br/><code><?php echo admin_url("admin-ajax.php") . "?action=pmpro_paystack_ipn";?></code></p>

</td>
</tr>
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://paystack.com/demo
Tags: paid memberships pro, paystack, gateway, credit card, Naira
Requires at least: 5.2
Tested up to: 6.5
Stable tag: 1.7.2
Stable tag: 1.7.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -66,13 +66,18 @@ If you get stuck, you can ask for help in the [Paystack Gateway for Paid Members

= Paystack Gateway for Paid Membership Pro is awesome! Can I contribute? =

Yes you can! Join in on our [GitHub repository](https://github.com/strangerstudios/paystack-gateway-paid-memberships-pro) :)
Yes you can! Join in on our [GitHub repository](https://github.com/strangerstudios/paystack-gateway-paid-memberships-pro)

== Screenshots ==

1. The slick Paystack settings panel.

== Changelog ==
= 1.7.3 - 2024-04-15 =
* SECURITY: Improved sanitization to output of translatable strings.
* ENHANCEMENT: Added functionality for refunds within Paid Memberships Pro. Supports full refunds only.
* BUG FIX: Fixed an issue where subscriptions weren't being linked inside Paid Memberships Pro correctly when confirming the membership.

= 1.7.2 - 2024-02-15 =
* ENHANCEMENT: Added support for Paid Memberships Pro 3.0+ subscriptions.
* BUG FIX: Fixed an issue where discount codes were not reflecting on Paid Memberships Pro side.
Expand Down

0 comments on commit 3f1dd57

Please sign in to comment.