Skip to content

Commit

Permalink
readme and version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dparker1005 committed Jun 3, 2024
1 parent b37d4ba commit 46c3bfa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion includes/checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function pmpropbc_pmpro_checkout_after_payment_information_fields() {
*
* Will only run for PMPro v3.0.3+.
*
* @since TBD
* @since 1.0
*
* @param PMProGateway
* @return PMProGateway
Expand Down
2 changes: 1 addition & 1 deletion includes/emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @param array $template - The existing PMPro Email Templates.
* @return array $template - The updated PMPro Email Templates.
* @since TBD.
* @since 1.0.
*/
function pmpropbc_email_template_to_pmproet_add_on( $template ) {

Expand Down
6 changes: 3 additions & 3 deletions includes/member-pending-deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* their initial check is recieved. There is not an easy way to avoid this and should be handled on a per-case basis. This breaking change is why this
* is being implemented in the 1.0 release of PBC.
*
* @since TBD
* @since 1.0
*/
function pmpropbc_add_member_pending_actions() {
// If running PMPro v3.0.3+, return.
Expand Down Expand Up @@ -143,10 +143,10 @@ function pmprobpc_memberHasAccessWithAnyLevel( $user_id, $content_levels = null
/*
* In case anyone was using the typo'd function name.
*
* @deprecated TBD Use pmpropbc_isMemberPending() instead.
* @deprecated 1.0 Use pmpropbc_isMemberPending() instead.
*/
function pmprobpc_isMemberPending($user_id) {
_deprecated_function( __FUNCTION__, 'TBD', 'pmpropbc_isMemberPending()' );
_deprecated_function( __FUNCTION__, '1.0', 'pmpropbc_isMemberPending()' );
return pmpropbc_isMemberPending($user_id);
}

Expand Down
4 changes: 2 additions & 2 deletions pmpro-pay-by-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Paid Memberships Pro - Pay by Check Add On
Plugin URI: https://www.paidmembershipspro.com/add-ons/pmpro-pay-by-check-add-on/
Description: A collection of customizations useful when allowing users to pay by check for Paid Memberships Pro levels.
Version: 0.12.1
Version: 1.0
Author: Stranger Studios
Author URI: https://www.paidmembershipspro.com
Text Domain: pmpro-pay-by-check
Expand All @@ -26,7 +26,7 @@
*/
define( 'PMPRO_PAY_BY_CHECK_DIR', dirname(__FILE__) );
define( 'PMPRO_PAY_BY_CHECK_BASE_FILE', __FILE__ );
define( 'PMPROPBC_VER', '0.12.1' );
define( 'PMPROPBC_VER', '1.0' );

require_once PMPRO_PAY_BY_CHECK_DIR . '/includes/admin.php';
require_once PMPRO_PAY_BY_CHECK_DIR . '/includes/checkout.php';
Expand Down
17 changes: 12 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: strangerstudios, eighty20results
Tags: pmpro, paid memberships pro, members, memberships, check, cheque, payments, offline
Requires at least: 5.0
Tested up to: 6.4
Stable tag: 0.12.1
Stable tag: 1.0

A collection of customizations useful when allowing users to pay by check for Paid Memberships Pro levels.

Expand All @@ -13,11 +13,9 @@ Adds a radio option to checkout to pay by credit card or PayPal now or pay by ch

Users who choose to pay by check will have their order to "pending" status.

Users with a pending order will not have access based on their level.
Users with a pending order will not receive a membership level immediately.

After you receive and cash the check, you can edit the order to change the status to "success", which will give the user access.

An email is sent to the user RE the status change.
After you receive and cash the check, you can edit the order to change the status to "success", which will complete the membership puchase.

== Installation ==

Expand All @@ -31,6 +29,15 @@ If you would like to change the wording from "Pay by Check" to something else, y
https://gist.github.com/strangerstudios/68bb75bf3b83530390d4

== Changelog ==
= 1.0 - 2024-05-29 =
* ENHANCEMENT: When using PMPro v3.0+, recurring orders are now generated based on information in the PMPro Subscriptions table.
* ENHANCEMENT: When using PMPro v3.0.3+, checkouts using the Check gateway are now processed once the payment is received instead of assigning the membership immediately.
* ENHANCEMENT: Initial payments now respect the "Send Reminder Emails" and "Cancel Membership" after x days level settings.
* ENHANCEMENT: Improved default values for the "Send Renewal Emails", "Send Reminder Emails", and "Cancel Membership" after x days level settings.
* BUG FIX/ENHANCEMENT: When using PMPro v3.0.3+, Check subscriptions now respect profile start dates set at checkout.
* REFACTOR: Organized code into separate files.
* DEPRECATED: Removed HTML email templates. Emails should now be customized from the PMPro Email Templates settings page.

= 0.12.1 - 2024-03-28 =
* BUG FIX: Fixed an issue for sites running PMPro v3.0+ where recurring check orders could be created in pending status when the most recent order for a user wasn't a check order. #115 (@dparker1005)

Expand Down

0 comments on commit 46c3bfa

Please sign in to comment.