s2Member® v150102 (Unified Changelog)
-
(s2Member/s2Member Pro) Custom Field Mapping: This release of s2Member adds an internal mapping from s2Member's Custom Field values for each user, to the
get_user_option()
function in the WordPress core. This makes it possible to retrieve user custom field values like always viaget_user_field()
or now through the nativeget_user_option()
function also. The benefit of this is that s2Member's custom fields are now more compatible with other themes/plugins for WordPress. -
(s2Member Pro) [s2Member-List /] Shortcode: It is now possible to search through custom fields created with s2Member using the
search_columns=""
attribute; e.g.search_columns="user_login,user_email,s2member_custom_field_MYFIELDID"
; whereMYFIELDID
can be replaced with a field ID that you generate with s2Member viaDashboard ⥱ s2Member ⥱ General Options ⥱ Registration/Profile Fields
. See also: this KB article for further details. See also: this GitHub issue for details regarding this improvement. -
(s2Member/s2Member Pro) MailChimp Bug Fix This release fixes a bug first introduced in the previous release, which was causing Interest Groups configured w/ s2Member to not be added properly. Resolved in this release. Props to @ethanpil Thanks!
-
(s2Member Pro) ccBill Buttons This release updates all ccBill button graphics. The MasterCard logo has been removed, and a new set of buttons was created to improve upon the set provided in previous versions of s2Member Pro. See: this GitHub issue if you'd like further details.
-
(s2Member Pro) Authorize.Net The
AUD
currency code is now supported by Authorize.Net, and thus, s2Member Pro has been updated to support theAUD
currency code for Pro Forms integrated with Authorize.Net. See this GitHub issue if you'd like further details. -
(s2Member Pro) Subscr. CID for Stripe This release corrects a bug which made it impossible to update the Subscr. CID value (for Stripe) using the user edit form in the Dashboard. For further details, please see this GitHub issue.
-
(s2Member/s2Member Pro) Bug fix s2Member's membership access times log was failing to collect all required access times under certain scenarios where multiple CCAPS were being added or removed in succession within the same process, but across multiple function calls. This resulted in unexpected behaviors (in rare cases) when attempting to use the
[s2Drip /]
shortcode. Fixed in this release. See this GitHub issue for technical details. -
(s2Member/s2Member Pro) Compatibility This release includes a fix for s2Member's Multisite Network patches applied to the
wp-admin/user-new.php
file whenever you configure s2Member on a Multisite Network. This change makes s2Member compatible with the coming release of WordPress v4.1 and v4.2-beta as it exists now. See: this GitHub issue if you'd like additional details. -
(s2Member Pro) Bug Fix: A feature that was previously introduced in v140816, which made it possible for site owners to set a failed payment threshold (in s2Member's Authorize.Net integration), was suffering from an off-by-one issue during total failed payment calculations. Fixed in this release. See also this GitHub issue if you'd like further details.
-
(s2Member Pro) Feature Enhancement: Whenever a failed payment threshold is reached (in s2Member's Authorize.Net integration), not only will s2Member terminate on-site access, but now the underlying ARB (Automated Recurring Profile) is cancelled at the same exact time. This way future billing attempts on the Authorize.Net side will not be possible; i.e. it ensures that a failed payment threshold will always terminate both on-site access and the ARB itself together at the same time, as opposed to allowing the ARB termination to occur automatically via Authorize.Net, whenever. See also this GitHub issue if you'd like further details.
-
(s2Member Pro) ClickBank Disclaimer: This release of s2Member adds a default Auto-Return Header Template (customizable from
s2Member ⥱ ClickBank Options
in the Dashboard) which includes a disclaimer that ClickBank requires of most merchants before final approval.This default template should help to reduce the time it takes new merchants to receive final approval from ClickBank when first starting out in the ClickBank network. See also: this GitHub issue if you'd like further details.
-
(s2Member Pro) Bug Fix: PayPal Pro Forms for Specific Post/Page Access, and configured with
accept="paypal"
(i.e. to accept PayPal only) were not hiding the entire Billing Method section as intended. Fixed in this release. See also: this GitHub issue if you'd like further details. -
(s2Member Pro) Bug Fix: PayPal Pro Forms using Express Checkout for Billing Agreements under a non-native currency (i.e. under a different currency than their own PayPal account) were failing under some scenarios (notably with the
BRL
currency code). Fixed in this release. See also: this GitHub issue if you'd like technical details. -
(s2Member Pro) Stripe API: s2Member's Stripe integration has been updated to use the new
statement_descriptor
field in favor of the now deprecatedstatement_description
. See this GitHub issue for technical details. -
(s2Member Pro) Stripe Bug Fix: In the case of a global tax rate having been applied to the total cost, there were certain scenarios where s2Member Pro would kick back an error message, "Invalid Parameters to Stripe". Fixed in this release. See also: this GitHub issue if you'd like technical details.
-
(s2Member/s2Member Pro) WP Core Compat.: This version of s2Member forces the
wptexturize
filter off in WordPress, due to a bug that was introduced in recent versions of the WordPress core; which results in broken shortcodes in some scenarios. Until the underlying bug is fixed in the WP core, thewptexturize
filter must be disabled to prevent corruption of any WordPress shortcode that may contain<
or>
symbols.See this GitHub issue for further technical details. Also referencing: this WordPress core bug report.
-
(s2Member/s2Member Pro) Alt. Views: This release fixes a bug that caused
wp_list_pages()
not to be filtered properly under certain scenarios. A symptom of this bug was to apply s2Member's Alt. View protection for "Pages", but for this not work properly in all cases. Fixed in this release. See also: this GitHub issue if you'd like technical details. -
(s2Member/s2Member Pro) Currency Code/Symbol: All email templates, API Notifications (except cancellation/EOT notifications), and all Custom Return URLs on Success; across all payment gateways; now support two additional Replacement Codes:
%%currency%%
and%%currency_symbol%%
. See also: this GitHub issue if you'd like additional details. -
(s2Member Pro) Coupon Codes: All transaction-related email templates now support three additional Replacement Codes:
%%full_coupon_code%%
,%%coupon_code%%
, and%%coupon_affiliate_id%%
. These have been documented in your Dashboard in places where transaction-related email templates are configured. See also: this GitHub issue if you'd like additional details. -
(s2Member Pro) Stripe Tax Info: s2Member now attaches metadata to Stripe Charges and to Stripe Subscriptions which includes a JSON-encoded object containing two or more properties when tax applies.
These metadata properties can be found in your Stripe Dashboard with the metadata key:
tax_info
; which contains the following JSON-encoded properties:tax
(total tax that was or will be charged on the regular amount),tax_per
(tax percentage rate that was applied based on your configuration of s2Member Pro); along withtrial_tax
andtrial_tax_per
in the case of a Stripe Subscription that includes an initial/trial period that requires payment; i.e. the tax applied (if any) to an initial/trial payment on a Subscription.We hope this additional information being recorded by s2Member and stored securely within your Stripe account will make it easier for you to maintain accurate bookkeeping records moving forward. This additional metadata is generated for new customers only. It will not be backfilled for any past transactions.
-
(s2Member Pro) Stripe Tax Info: s2Member now passes the tax location; i.e.
address_state
,address_zip
, andaddress_country
to each Stripe Card object associated with a Stripe Customer.We hope this additional information being recorded by s2Member and stored securely within your Stripe account will make it easier for you to maintain accurate bookkeeping records moving forward. This additional cardholder data is collected and stored for new customers only; it will not be backfilled for any past transactions.
-
(s2Member Pro) Stripe IP Address: s2Member now attaches the customer's IP address (as detected via
$_SERVER['REMOTE_ADDR']
on your server) into each Stripe Customer object, along with the customer's full name. These metadata properties can be found in your Stripe Dashboard with the metadata keys:name
andip
. -
(s2Member Pro) Stripe Coupon Code: s2Member now attaches metadata w/ a coupon code used by your customer (if applicable) to each Stripe Charge and/or Stripe Subscription object.
This metadata property can be found in your Stripe Dashboard with the metadata key:
coupon
; which contains the following JSON-encoded property:code
i.e. the full coupon code used by your customer. This additional metadata is generated for new customers only. It will not be backfilled for any past transactions. Filled only for transactions that use a coupon code. -
(s2Member Pro) Stripe Invoice: This release corrects a bug in s2Member's Stripe integration whereby
subscr-signup-as-subscr-payment
was not always being forced into the core gateway processor; resulting in a miscalculation of thelast_payment_time
under certain scenarios. Fixed in this release. See also: this GitHub issue if you'd like additional details.