Version 1.8.4.5 of Paid Memberships Pro is out with a handful of bug fixes and enhancements.

Please update the Paid Memberships Pro from the plugins page of your WordPress dashboard. You can also get the latest version of PMPro here or version 1.8.4.5 specifically here.

The full list of updates is below.

  • BUG: Fixed broken links when adminpages/admin_header.php is loaded outside of the PMPro settings tabs.
  • BUG: Fixed issue with PMPro page templates being loaded from child themes. (Thanks, SeventhQueen)
  • BUG: Fixed bug where gateway subscriptions would sometimes be cancelled even if an admin unchecked the “cancel at gateway” option when changing a users level on the edit user page. (Thanks, Scott Noelle)
  • ENHANCEMENT: Added debugging to the Braintree webhook. Use define(‘PMPRO_BRAINTREE_WEBHOOK_DEBUG’, true); in your wp-config.php to have debug emails sent to the admin when the Braintree webhook is hit.
  • ENHANCEMENT: Updated email fields on checkout and billing update form to use the “email” field type instead of “text”. If you need to revert this back to “text” type, use the pmpro_email_field_type filter like this: apply_filters(‘pmpro_email_field_type’, ‘__return_false’); (Thanks, Yann Kozon)
  • ENHANCEMENT: French translation updated and now includes email templates. (Thanks, Jean-Christophe Michel)
  • ENHANCEMENT: Added the pmpro_is_ready filter. This should be used by gateway plugins to set the $pmpro_gateway_ready global variable.
  • ENHANCEMENT: Added pmpro_memberslist_per_page and pmpro_orders_per_page filters to change the default number of items to show on those admin pages.
  • ENHANCEMENT: Added pmpro_new_user and pmpro_new_user_setup hooks to allow for alterring the user creation code at checkout. For an example of how to use these see (https://github.com/strangerstudios/paid-memberships-pro/pull/224). (Thanks, David Crabill)
  • ENHANCEMENT: Now setting the Stripe API version in the Stripe class. (Set to version “2015-07-13” right now.) This ensures that Stripe processes PMPro API calls correctly. We will update this to the latest versions as they come out and we test PMPro against them. You will still need to update the API version in the Account Settings of your Stripe dashboard to versio 2015-07-13 (or later as we update the version we work against) so webhook events originating from Stripe are sent out in the correct format.

 


Comments (2)

Author’s gravatar

The Stripe APIs have been update and now when the plugin is activated, I am receiving the following error message:

Fatal error: Call to undefined method Stripe::setAPIVersion() “file location” line 29

I see that the API version set in the class.pmprogateway_stripe.php file is set to “2015-07-13” but the current stripe API is “2015-7-28”. I am unable to revert my Stripe API to “2015-07-13”. Any suggestions? Thanks!

Reply
Author’s gravatar

See if you have another plugin loading an older version of the Stripe API library before PMPro loads its own. If you find that, you can follow up with that plugin dev to get them to update their API. Or you can post to our member forums and we’ll try to figure out a patch to get things compatible with the other plugin.

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *