Version 1.7.10 is out including a few bug fixes and new functions/hooks to support recent addon updates.

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.7.10 specifically here.

The full list of updates is below.

    • Added getGatewaySubscriptionStatus() and getGatewayTransactionStatus() methods to the MemberOrder class. These are implemented for PayPalExpress right now and will hit the gateway API to return information on a subscription or transaction.
  • Added pmpro_memberslist_expires_column filter to members list. $order is passed as second parameter. Use this to filter the date or “Never” shown in the Expires column.
  • No longer showing “Membership Levels” link in dashboard menu if a user has access to other PMPro settings pages, but not the membership levels page.
  • Added pmpro_applydiscountcode_return_js hook.https://www.paidmembershipspro.com/hook/pmpro_applydiscountcode_return_js/
  • Fixed formatting of the level cost when a discount code is applied via AJAX.
  • Removed extra $ in checkout_check.html email template.
  • Fixed bug where pmpro_setOption was not working for array values in $_POST, e.g. the hideadlevels setting on the Advanced Settings page.
  • pmpro_getMembershipCategories($level_id) now returns an array of category IDs instead of an array of arrays.
  • Swapped all _x function calls to use __ or _e so they are translated.
  • Initial Czech Republic (cs_CZ) translation files. (Thanks, Petr Hlaváček)

Comments (7)

Author’s gravatar

I’d like to stay current with the PMPro updates, but I edited my current (1.7.9.1) version of the class pmprogateway_paypalexpress.php by replacing this line for line 87 of the class:
$nvpStr .= “&” . urlencode($key) . “=” . urlencode($value);
This (and some edits to my theme’s functions.php) enables my customers to pay by credit card at PayPal without having a PayPal account. (I found this in the forum at https://www.paidmembershipspro.com/forums/topic/paypal-express-using-a-cc-without-paypal-account/ and thanks, everybody.) This seems like a really useful addition to the PayPal Express functionality. Would you consider incorporating it into the stock class? I don’t want to keep hacking the class every time the component updates.

Reply
Author’s gravatar

We need to publicize this feature, but it was added recently. You can make accounts optional with PayPal Express by adding this code to a custom plugin or your theme’s functions.php:

`
add_filter(‘pmpro_paypal_account_optional’, ‘__return_true’);
`

We might make this an option in the payment settings or otherwise the default/etc in the future. But for now, you can use this code vs your custom tweak.

Reply
Author’s gravatar

Hi, how can I upload my profile picture?

Author’s gravatar

Hi, i’ve sent you a couple of emails and tweeted you but have not as of yet had a reply? I’m wondering when multiple memberships will be available? Thanks

Reply
Author’s gravatar

We’re shooting for this month. I’ve been saying that for a while, but we have the time to finish things up now.

Reply

Leave a Reply

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