Version Description
= v160801 =
(Maintenance Release) Upgrade immediately.
Download this release
Release Info
Developer | raamdev |
Plugin | s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) |
Version | 170722 |
Comparing to | |
See all releases |
Code changes from version 170524 to 170722
- readme.txt +8 -38
- s2member.php +5 -5
- src/includes/classes/paypal-utilities.inc.php +35 -10
- src/includes/translations/s2member.pot +12 -12
- src/vendor/autoload.php +1 -1
- src/vendor/composer/autoload_real.php +5 -5
readme.txt
CHANGED
@@ -1,61 +1,27 @@
|
|
1 |
=== s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
|
2 |
|
3 |
-
Version:
|
4 |
-
Stable tag:
|
5 |
-
|
6 |
-
SSL Compatible: yes
|
7 |
-
bbPress® Compatible: yes
|
8 |
-
WordPress® Compatible: yes
|
9 |
-
BuddyPress® Compatible: yes
|
10 |
-
WP® Multisite Compatible: yes
|
11 |
-
Multisite Blog Farm Compatible: yes
|
12 |
-
|
13 |
-
PayPal® Standard Compatible: yes
|
14 |
-
Stripe™ Compatible: yes w/s2Member® Pro
|
15 |
-
PayPal® Pro Compatible: yes w/s2Member® Pro
|
16 |
-
Authorize.Net® Compatible: yes w/s2Member® Pro
|
17 |
-
Google® Checkout Compatible: yes w/s2Member® Pro
|
18 |
-
ClickBank® Compatible: yes w/s2Member® Pro
|
19 |
-
|
20 |
-
Tested up to: 4.9-alpha
|
21 |
Requires at least: 4.2
|
22 |
-
|
23 |
Requires PHP: 5.2
|
24 |
Tested up to PHP: 7.0.17
|
25 |
-
|
26 |
-
Copyright: © 2009 WebSharks, Inc.
|
27 |
License: GNU General Public License v2 or later.
|
28 |
-
Contributors: WebSharks, JasWSInc, raamdev
|
29 |
-
|
30 |
Author: s2Member® / WebSharks, Inc.
|
31 |
Author URI: http://s2member.com/
|
32 |
Donate link: http://s2member.com/donate/
|
33 |
Beta link: http://s2member.com/beta-testers/
|
34 |
-
|
35 |
Text Domain: s2member
|
36 |
Domain Path: /src/includes/translations
|
37 |
-
|
38 |
Plugin Name: s2Member® Framework
|
39 |
-
Forum URI: http://s2member.com/r/forum/
|
40 |
Plugin URI: http://s2member.com/
|
41 |
-
Privacy URI: http://s2member.com/privacy-policy/
|
42 |
-
Changelog URI: http://s2member.com/changelog/
|
43 |
-
Video Tutorials: http://s2member.com/r/s2member-videos/
|
44 |
-
Knowledge Base: http://s2member.com/kb/
|
45 |
-
Newsletter: http://s2member.com/r/subscribe/
|
46 |
-
PayPal Pro Integration: http://s2member.com/r/pp-account-types/
|
47 |
-
|
48 |
-
Description: s2Member®—a powerful (free) membership plugin for WordPress®. Protect members only content with roles/capabilities.
|
49 |
Tags: membership, subscribers, subscriber, members only, roles, capabilities, capability, register, signup, paypal, ecommerce, restriction
|
50 |
|
51 |
s2Member®—a powerful (free) membership plugin for WordPress®. Protect members only content with roles/capabilities.
|
52 |
|
53 |
== Description ==
|
54 |
|
55 |
-
**NOTICE:** The support forum at WordPress is for community interaction only. If you are an s2Member Pro customer in need of support, please use [our support center](http://s2member.com/support/).
|
56 |
-
|
57 |
-
---
|
58 |
-
|
59 |
The s2Member® Framework (free) integrates with PayPal Website Payments Standard (also free). Sell "Buy Now" or Membership access to your site. Restrict access to Roles, Capabilities, Posts, Pages, or anything else in WordPress.
|
60 |
|
61 |
Protect your WordPress Posts, Pages, Tags, Categories, URIs, BuddyPress/bbPress, and even portions of content within Posts, Pages, themes, plugins. Easily configurable & highly extensible. You can even protect downloadable files and streaming audio/video. Store files locally, or use s2Member's integration with Amazon® S3/CloudFront.
|
@@ -171,6 +137,10 @@ Released under the terms of the [GNU General Public License](http://www.gnu.org/
|
|
171 |
|
172 |
== Changelog ==
|
173 |
|
|
|
|
|
|
|
|
|
174 |
= v170524 =
|
175 |
|
176 |
- (s2Member/s2Member Pro) **PHP v7 Compat. Enhancements**: This release adds an integration with the [Defuse encryption library](https://github.com/defuse/php-encryption) for PHP, making it possible for s2Member to move away from the `mcrypt_*()` family of functions in versions of PHP >= 7.0.4, where the mcrypt library has been deprecated — `mcrypt_*()` will eventually be removed entirely.
|
1 |
=== s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members) ===
|
2 |
|
3 |
+
Version: 170722
|
4 |
+
Stable tag: 170722
|
5 |
+
Tested up to: 4.9.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
Requires at least: 4.2
|
|
|
7 |
Requires PHP: 5.2
|
8 |
Tested up to PHP: 7.0.17
|
|
|
|
|
9 |
License: GNU General Public License v2 or later.
|
10 |
+
Contributors: WebSharks, JasWSInc, raamdev
|
|
|
11 |
Author: s2Member® / WebSharks, Inc.
|
12 |
Author URI: http://s2member.com/
|
13 |
Donate link: http://s2member.com/donate/
|
14 |
Beta link: http://s2member.com/beta-testers/
|
|
|
15 |
Text Domain: s2member
|
16 |
Domain Path: /src/includes/translations
|
|
|
17 |
Plugin Name: s2Member® Framework
|
|
|
18 |
Plugin URI: http://s2member.com/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
Tags: membership, subscribers, subscriber, members only, roles, capabilities, capability, register, signup, paypal, ecommerce, restriction
|
20 |
|
21 |
s2Member®—a powerful (free) membership plugin for WordPress®. Protect members only content with roles/capabilities.
|
22 |
|
23 |
== Description ==
|
24 |
|
|
|
|
|
|
|
|
|
25 |
The s2Member® Framework (free) integrates with PayPal Website Payments Standard (also free). Sell "Buy Now" or Membership access to your site. Restrict access to Roles, Capabilities, Posts, Pages, or anything else in WordPress.
|
26 |
|
27 |
Protect your WordPress Posts, Pages, Tags, Categories, URIs, BuddyPress/bbPress, and even portions of content within Posts, Pages, themes, plugins. Easily configurable & highly extensible. You can even protect downloadable files and streaming audio/video. Store files locally, or use s2Member's integration with Amazon® S3/CloudFront.
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= v170722 =
|
141 |
+
|
142 |
+
- (s2Member/s2Member Pro) **PayPal IPN Compatibility:** This release includes an updated PayPal IPN handler that is capable of reading number-suffixed IPN variables that are now being sent by PayPal's IPN system in some cases, for some customers. We strongly encourage all site owners to upgrade to this release as soon as possible, particularly if you're using PayPal to process transactions. Props @openmtbmap and @patdumond for reporting. See: [Issue #1112](https://github.com/websharks/s2member/issues/1112)
|
143 |
+
|
144 |
= v170524 =
|
145 |
|
146 |
- (s2Member/s2Member Pro) **PHP v7 Compat. Enhancements**: This release adds an integration with the [Defuse encryption library](https://github.com/defuse/php-encryption) for PHP, making it possible for s2Member to move away from the `mcrypt_*()` family of functions in versions of PHP >= 7.0.4, where the mcrypt library has been deprecated — `mcrypt_*()` will eventually be removed entirely.
|
s2member.php
CHANGED
@@ -20,8 +20,8 @@
|
|
20 |
*/
|
21 |
/* -- This section for WordPress parsing. ------------------------------------------------------------------------------
|
22 |
|
23 |
-
Version:
|
24 |
-
Stable tag:
|
25 |
|
26 |
SSL Compatible: yes
|
27 |
bbPress Compatible: yes
|
@@ -36,7 +36,7 @@ Authorize.Net Compatible: yes w/s2Member Pro
|
|
36 |
Google Wallet Compatible: yes w/s2Member Pro
|
37 |
ClickBank Compatible: yes w/s2Member Pro
|
38 |
|
39 |
-
Tested up to: 4.
|
40 |
Requires at least: 4.2
|
41 |
|
42 |
Requires PHP: 5.2
|
@@ -77,7 +77,7 @@ if(!defined('WPINC')) // MUST have WordPress.
|
|
77 |
*
|
78 |
* @var string
|
79 |
*/
|
80 |
-
${__FILE__}['tmp'] = '
|
81 |
if(!defined('WS_PLUGIN__S2MEMBER_VERSION'))
|
82 |
define('WS_PLUGIN__S2MEMBER_VERSION', ${__FILE__}['tmp']);
|
83 |
/**
|
@@ -110,7 +110,7 @@ if(!defined('WS_PLUGIN__S2MEMBER_MIN_WP_VERSION'))
|
|
110 |
*
|
111 |
* @var string
|
112 |
*/
|
113 |
-
${__FILE__}['tmp'] = '
|
114 |
if(!defined('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION'))
|
115 |
define('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION', ${__FILE__}['tmp']);
|
116 |
/*
|
20 |
*/
|
21 |
/* -- This section for WordPress parsing. ------------------------------------------------------------------------------
|
22 |
|
23 |
+
Version: 170722
|
24 |
+
Stable tag: 170722
|
25 |
|
26 |
SSL Compatible: yes
|
27 |
bbPress Compatible: yes
|
36 |
Google Wallet Compatible: yes w/s2Member Pro
|
37 |
ClickBank Compatible: yes w/s2Member Pro
|
38 |
|
39 |
+
Tested up to: 4.9-alpha
|
40 |
Requires at least: 4.2
|
41 |
|
42 |
Requires PHP: 5.2
|
77 |
*
|
78 |
* @var string
|
79 |
*/
|
80 |
+
${__FILE__}['tmp'] = '170722'; //version//
|
81 |
if(!defined('WS_PLUGIN__S2MEMBER_VERSION'))
|
82 |
define('WS_PLUGIN__S2MEMBER_VERSION', ${__FILE__}['tmp']);
|
83 |
/**
|
110 |
*
|
111 |
* @var string
|
112 |
*/
|
113 |
+
${__FILE__}['tmp'] = '170722'; //version//
|
114 |
if(!defined('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION'))
|
115 |
define('WS_PLUGIN__S2MEMBER_MIN_PRO_VERSION', ${__FILE__}['tmp']);
|
116 |
/*
|
src/includes/classes/paypal-utilities.inc.php
CHANGED
@@ -40,14 +40,14 @@ if(!class_exists("c_ws_plugin__s2member_paypal_utilities"))
|
|
40 |
{
|
41 |
foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;
|
42 |
do_action("ws_plugin__s2member_before_paypal_postvars", get_defined_vars());
|
43 |
-
unset($__refs, $__v);
|
44 |
/*
|
45 |
-
|
46 |
-
|
47 |
-
foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;
|
48 |
if(!($postvars = apply_filters("ws_plugin__s2member_during_paypal_postvars_conditionals", array(), get_defined_vars())))
|
49 |
{
|
50 |
-
unset($__refs, $__v);
|
51 |
|
52 |
if(!empty($_GET["tx"]) && empty($_GET["s2member_paypal_proxy"]))
|
53 |
{
|
@@ -65,9 +65,11 @@ if(!class_exists("c_ws_plugin__s2member_paypal_utilities"))
|
|
65 |
if(strlen($key = trim($key)) && strlen($value = trim($value)))
|
66 |
$postvars[$key] = trim(stripslashes(urldecode($value)));
|
67 |
}
|
|
|
|
|
68 |
if(!empty($postvars["charset"]) && function_exists("mb_convert_encoding"))
|
69 |
{
|
70 |
-
foreach($postvars as &$value)
|
71 |
$value = @mb_convert_encoding($value, "UTF-8", (($postvars["charset"] === "gb2312") ? "GBK" : $postvars["charset"]));
|
72 |
}
|
73 |
return apply_filters("ws_plugin__s2member_paypal_postvars", $postvars, get_defined_vars());
|
@@ -80,14 +82,15 @@ if(!class_exists("c_ws_plugin__s2member_paypal_utilities"))
|
|
80 |
if(preg_match("/^s2member_/", $key))
|
81 |
unset($postvars[$key]);
|
82 |
|
83 |
-
$postback =
|
84 |
$postback["cmd"] = "_notify-validate";
|
85 |
|
|
|
86 |
$postvars = c_ws_plugin__s2member_utils_strings::trim_deep($postvars);
|
87 |
|
88 |
if(!empty($postvars["charset"]) && function_exists("mb_convert_encoding"))
|
89 |
{
|
90 |
-
foreach($postvars as &$value)
|
91 |
$value = @mb_convert_encoding($value, "UTF-8", (($postvars["charset"] === "gb2312") ? "GBK" : $postvars["charset"]));
|
92 |
}
|
93 |
$endpoint = ($GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["paypal_sandbox"]) ? "www.sandbox.paypal.com" : "www.paypal.com";
|
@@ -107,11 +110,33 @@ if(!class_exists("c_ws_plugin__s2member_paypal_utilities"))
|
|
107 |
}
|
108 |
else // Else a custom conditional has been applied by Filters.
|
109 |
{
|
110 |
-
unset($__refs, $__v);
|
111 |
-
|
112 |
return apply_filters("ws_plugin__s2member_paypal_postvars", $postvars, get_defined_vars());
|
113 |
}
|
114 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
/**
|
116 |
* Generates a PayPal Proxy Key, for simulated IPN responses.
|
117 |
*
|
40 |
{
|
41 |
foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v;
|
42 |
do_action("ws_plugin__s2member_before_paypal_postvars", get_defined_vars());
|
43 |
+
unset($__refs, $__v); // Housekeeping.
|
44 |
/*
|
45 |
+
* Custom conditionals can be applied by filters.
|
46 |
+
*/
|
47 |
+
foreach(array_keys(get_defined_vars())as$__v)$__refs[$__v]=&$$__v; // Vars by reference.
|
48 |
if(!($postvars = apply_filters("ws_plugin__s2member_during_paypal_postvars_conditionals", array(), get_defined_vars())))
|
49 |
{
|
50 |
+
unset($__refs, $__v); // Housekeeping.
|
51 |
|
52 |
if(!empty($_GET["tx"]) && empty($_GET["s2member_paypal_proxy"]))
|
53 |
{
|
65 |
if(strlen($key = trim($key)) && strlen($value = trim($value)))
|
66 |
$postvars[$key] = trim(stripslashes(urldecode($value)));
|
67 |
}
|
68 |
+
$postvars = self::paypal_postvars_back_compat($postvars); // From verified data.
|
69 |
+
|
70 |
if(!empty($postvars["charset"]) && function_exists("mb_convert_encoding"))
|
71 |
{
|
72 |
+
foreach($postvars as &$value) // Convert to UTF-8 encoding.
|
73 |
$value = @mb_convert_encoding($value, "UTF-8", (($postvars["charset"] === "gb2312") ? "GBK" : $postvars["charset"]));
|
74 |
}
|
75 |
return apply_filters("ws_plugin__s2member_paypal_postvars", $postvars, get_defined_vars());
|
82 |
if(preg_match("/^s2member_/", $key))
|
83 |
unset($postvars[$key]);
|
84 |
|
85 |
+
$postback = $postvars; // Copy.
|
86 |
$postback["cmd"] = "_notify-validate";
|
87 |
|
88 |
+
$postvars = self::paypal_postvars_back_compat($postvars);
|
89 |
$postvars = c_ws_plugin__s2member_utils_strings::trim_deep($postvars);
|
90 |
|
91 |
if(!empty($postvars["charset"]) && function_exists("mb_convert_encoding"))
|
92 |
{
|
93 |
+
foreach($postvars as &$value) // Convert to UTF-8 encoding.
|
94 |
$value = @mb_convert_encoding($value, "UTF-8", (($postvars["charset"] === "gb2312") ? "GBK" : $postvars["charset"]));
|
95 |
}
|
96 |
$endpoint = ($GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["paypal_sandbox"]) ? "www.sandbox.paypal.com" : "www.paypal.com";
|
110 |
}
|
111 |
else // Else a custom conditional has been applied by Filters.
|
112 |
{
|
113 |
+
unset($__refs, $__v); // Housekeeping.
|
114 |
+
$postvars = self::paypal_postvars_back_compat($postvars);
|
115 |
return apply_filters("ws_plugin__s2member_paypal_postvars", $postvars, get_defined_vars());
|
116 |
}
|
117 |
}
|
118 |
+
/**
|
119 |
+
* Back compat. PayPal post vars.
|
120 |
+
*
|
121 |
+
* @since 170722 PayPal IPN variable change.
|
122 |
+
*
|
123 |
+
* @return array Updated PayPal IPN data.
|
124 |
+
*
|
125 |
+
* @see https://github.com/websharks/s2member/issues/1112
|
126 |
+
*/
|
127 |
+
public static function paypal_postvars_back_compat($postvars)
|
128 |
+
{
|
129 |
+
$postvars = (array) $postvars;
|
130 |
+
|
131 |
+
foreach ($postvars as $_key => $_value) {
|
132 |
+
if (is_string($_key) && preg_match('/_?[0-9]+$/u', $_key)) {
|
133 |
+
$_old_key = preg_replace('/_?[0-9]+$/u', '', $_key);
|
134 |
+
if (!isset($postvars[$_old_key])) $postvars[$_old_key] = $_value;
|
135 |
+
}
|
136 |
+
} // unset($_key, $_old_key, $_value); // Housekeeping.
|
137 |
+
|
138 |
+
return $postvars; // w/ back. compat keys.
|
139 |
+
}
|
140 |
/**
|
141 |
* Generates a PayPal Proxy Key, for simulated IPN responses.
|
142 |
*
|
src/includes/translations/s2member.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version:
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/s2member\n"
|
7 |
-
"POT-Creation-Date: 2017-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -1308,17 +1308,17 @@ msgstr ""
|
|
1308 |
#. with `ws_plugin__s2member_paypal_payflow_api_response`.
|
1309 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:96
|
1310 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:325
|
1311 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
1312 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
1313 |
msgctxt "s2member-front"
|
1314 |
msgid "Error #%1$s. %2$s."
|
1315 |
msgstr ""
|
1316 |
|
1317 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:99
|
1318 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:328
|
1319 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
1320 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
1321 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
1322 |
msgctxt "s2member-front"
|
1323 |
msgid "Error. Please contact Support for assistance."
|
1324 |
msgstr ""
|
@@ -4447,23 +4447,23 @@ msgstr ""
|
|
4447 |
#. by PayPal. Replace `%2$s` and `%3$s` with: `Unable to process, please try
|
4448 |
#. again`, or something to that affect. Or, if you prefer, you could Filter
|
4449 |
#. ``$response["__error"]`` with `ws_plugin__s2member_paypal_api_response`.
|
4450 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
4451 |
msgctxt "s2member-front"
|
4452 |
msgid "Error #%1$s. %2$s. %3$s."
|
4453 |
msgstr ""
|
4454 |
|
4455 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
4456 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
4457 |
msgctxt "s2member-front"
|
4458 |
msgid "Error #%s. Transaction declined. Please use an alternate funding source."
|
4459 |
msgstr ""
|
4460 |
|
4461 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
4462 |
msgctxt "s2member-front"
|
4463 |
msgid "Error #%s. Transaction declined. Express Checkout was NOT confirmed."
|
4464 |
msgstr ""
|
4465 |
|
4466 |
-
#: src/includes/classes/paypal-utilities.inc.php:
|
4467 |
msgctxt "s2member-front"
|
4468 |
msgid " Please contact PayPal Merchant Technical Support (www.paypal.com/mts) and request `Recurring Billing` service, and also ask to have `Reference Transactions` enabled for Recurring Billing via Express Checkout."
|
4469 |
msgstr ""
|
2 |
# This file is distributed under the same license as the package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: 170722\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/s2member\n"
|
7 |
+
"POT-Creation-Date: 2017-07-22 16:20:53+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
1308 |
#. with `ws_plugin__s2member_paypal_payflow_api_response`.
|
1309 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:96
|
1310 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:325
|
1311 |
+
#: src/includes/classes/paypal-utilities.inc.php:340
|
1312 |
+
#: src/includes/classes/paypal-utilities.inc.php:348
|
1313 |
msgctxt "s2member-front"
|
1314 |
msgid "Error #%1$s. %2$s."
|
1315 |
msgstr ""
|
1316 |
|
1317 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:99
|
1318 |
#: pro/src/includes/classes/gateways/authnet/authnet-utilities.inc.php:328
|
1319 |
+
#: src/includes/classes/paypal-utilities.inc.php:214
|
1320 |
+
#: src/includes/classes/paypal-utilities.inc.php:342
|
1321 |
+
#: src/includes/classes/paypal-utilities.inc.php:350
|
1322 |
msgctxt "s2member-front"
|
1323 |
msgid "Error. Please contact Support for assistance."
|
1324 |
msgstr ""
|
4447 |
#. by PayPal. Replace `%2$s` and `%3$s` with: `Unable to process, please try
|
4448 |
#. again`, or something to that affect. Or, if you prefer, you could Filter
|
4449 |
#. ``$response["__error"]`` with `ws_plugin__s2member_paypal_api_response`.
|
4450 |
+
#: src/includes/classes/paypal-utilities.inc.php:211
|
4451 |
msgctxt "s2member-front"
|
4452 |
msgid "Error #%1$s. %2$s. %3$s."
|
4453 |
msgstr ""
|
4454 |
|
4455 |
+
#: src/includes/classes/paypal-utilities.inc.php:258
|
4456 |
+
#: src/includes/classes/paypal-utilities.inc.php:264
|
4457 |
msgctxt "s2member-front"
|
4458 |
msgid "Error #%s. Transaction declined. Please use an alternate funding source."
|
4459 |
msgstr ""
|
4460 |
|
4461 |
+
#: src/includes/classes/paypal-utilities.inc.php:261
|
4462 |
msgctxt "s2member-front"
|
4463 |
msgid "Error #%s. Transaction declined. Express Checkout was NOT confirmed."
|
4464 |
msgstr ""
|
4465 |
|
4466 |
+
#: src/includes/classes/paypal-utilities.inc.php:395
|
4467 |
msgctxt "s2member-front"
|
4468 |
msgid " Please contact PayPal Merchant Technical Support (www.paypal.com/mts) and request `Recurring Billing` service, and also ask to have `Reference Transactions` enabled for Recurring Billing via Express Checkout."
|
4469 |
msgstr ""
|
src/vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit9da2b04099525fccfb91e6dbe84e45d6::getLoader();
|
src/vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit04945020f1860c6e52fcca37ab82eb4b
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit04945020f1860c6e52fcca37ab82eb4b
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit9da2b04099525fccfb91e6dbe84e45d6
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit9da2b04099525fccfb91e6dbe84e45d6', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit9da2b04099525fccfb91e6dbe84e45d6', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequire9da2b04099525fccfb91e6dbe84e45d6($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire9da2b04099525fccfb91e6dbe84e45d6($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|