Skip to content

Commit e07be7e

Browse files
author
MemberPress
committed
Updates to 1.9.49
1 parent 0e9aaac commit e07be7e

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

app/gateways/MeprPayPalCommerceGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ protected function set_defaults() {
136136
} else {
137137
$this->settings->url = 'https://ipnpb.paypal.com/cgi-bin/webscr';
138138
$this->settings->api_url = 'https://api-3t.paypal.com/nvp';
139-
$this->settings->rest_api_url = 'https://api-m.paypal.com';
139+
$this->settings->rest_api_url = 'https://api.paypal.com';
140140
}
141141

142142
$this->settings->api_version = 69;

app/integrations/google-captcha/Integration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ public function add_recaptcha() {
4949
}
5050

5151
public function verify_recaptcha($errors) {
52+
if(wp_doing_ajax() && isset($_GET['action']) && $_GET['action'] == 'mepr_paypal_commerce_create_smart_button') {
53+
return $errors;
54+
}
55+
5256
$is_valid = apply_filters('gglcptch_verify_recaptcha', true);
5357

5458
if(!$is_valid) {

app/lib/MeprSubscriptionsTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ public function __construct($screen, $columns, $lifetime=false) {
5959
'subscription' => 'sub.subscr_id',
6060
'username' => 'u.user_login',
6161
'email' => 'u.user_email',
62-
'id' => 'sub.ID',
62+
'id' => 'sub.id',
6363
);
6464

6565
$this->non_recurring_db_search_cols = array(
6666
'subscription' => 'txn.trans_num',
6767
'username' => 'u.user_login',
6868
'email' => 'u.user_email',
69-
'id' => 'sub.ID',
69+
'id' => 'txn.id',
7070
);
7171

7272
parent::__construct(

i18n/memberpress.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the same license as the MemberPress plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: MemberPress 1.9.48\n"
5+
"Project-Id-Version: MemberPress 1.9.49\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/memberpress\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2022-10-17T16:17:38+00:00\n"
12+
"POT-Creation-Date: 2022-10-20T13:55:54+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.6.0\n"
1515
"X-Domain: memberpress\n"
@@ -4790,7 +4790,7 @@ msgstr ""
47904790
msgid "MemberPress forgot password form"
47914791
msgstr ""
47924792

4793-
#: app/integrations/google-captcha/Integration.php:55
4793+
#: app/integrations/google-captcha/Integration.php:59
47944794
msgid "Captcha verification failed"
47954795
msgstr ""
47964796

memberpress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: MemberPress Pro 30 (Legacy)
44
Plugin URI: http://www.memberpress.com/
55
Description: The membership plugin that makes it easy to accept payments for access to your content and digital products.
6-
Version: 1.9.48
6+
Version: 1.9.49
77
Author: Caseproof, LLC
88
Author URI: http://caseproof.com/
99
Text Domain: memberpress

0 commit comments

Comments
 (0)