The latest version of s2MemberPro is available here:
http://www.s2member.com/
= Changelog for v1.1 =
http://www.primothemes.com/readme/3679/
- Bug fix. Conditional check against DOING_AJAX added as an exclusion to the admin lockout routines for s2Member. This allows /wp-admin/admin-ajax.php to receive Ajax requests at all times, as it should be.
- Bug fix. A call to the dl() function was causing a white-screen on some servers whenever php.ini enable_dl = Off, and no loader was installed. This bug was corrected by calling upon function_exists("dl") before the call. This was also corrected in the /extras/check-my-server.php file.
- Bug fix. Inside /includes/s2member-pro-min.js. A reference to wp_create_nonce() was replaced; in favor of ws_plugin__s2member_encrypt().
= Changelog for v1.0.9 =
http://www.primothemes.com/readme/3679/
- Bug fix. Comparison between $_SERVER["HTTP_HOST"] and a PayPal® Custom/Proxy was failing on some servers that force a host port number into the $_SERVER["HTTP_HOST"] environment variable. MediaTemple® does this. If you're hosted by MediaTemple®, you should upgrade to v1.0.9+.
- Bug fix. The WP_Http class, which is responsible for handling cURL, ExtHTTP, and/or fopen functionality for connections to the PayPal® Pro API, was defaulting to a 5 second stream timeout. Under certain conditions, this was too low ( i.e. slow responses from PayPal's API, and/or a WordPress® MySQL database ). This bug was causing "contact customer service" errors (at random) after returning from an ExpressCheckout routine. Another random symptom was a non-existent success return attribute, due to a connection timeout on simulated IPN responses, causing an empty proxy_return_url. The default timeout has now been increased to 20 seconds; which is designed to give high priority status to credit card processing routines; thereby reducing the chances of a connection timeout considerably, and improving the overall reliability of the s2Member Pro checkout experience.
- Logging improvement. The /paypal-pro-api.log file now includes timestamps for Input/Output processing.
- Localhost support. s2Member now supports "localhost" installations of WordPress®; tested against WAMP/MAMP. Thanks to ScriptyGoddess for reporting this, and for her assistance in testing against her MAMP installation. Note... if you're running a localhost installation on MAMP/WAMP, you'll probably want to run PHP without the cURL extension. Instead, leave allow_url_fopen = On. That's the default configuration anyway. In other words, if you enable cURL, https:// communication with the PayPal® Pro API may fail. s2Member Pro is capable of falling back on other methods ( i.e. filegetcontents, HttpExt, etc. ). So the solution for localhost installs, is to run PHP without the cURL extension. Once you're on a real server, feel free to enable cURL ( recommended ).
- Unlicensed localhost installations. s2Member Pro can now be installed into a "localhost" (MAMP/WAMP) installation of WordPress® ( no License Key required ). This allows for (offline) development testing. This only works in (offline) mode under a "localhost" domain; you MUST have a License Key before you go live.
- Tax Rates. s2Member Pro nows supports a Global Tax Rate for PayPal® Pro integrations, and also a Custom Tax Configuration File, which can be applied to specific countries, specific states, provinces, and even to specific zip code ranges within the US. For more information, check your WP Dashboard, under: s2Member -> PayPal® Options -> Pro Tax Rates. Tax Rates are also compatible with international currencies and locations.
- All Form Templates inside /templates/forms/ received minor edits; in support of Ajax-powered Tax Rate calculations. The file /includes/s2member-pro.js was updated, and /includes/s2member-pro.css was updated.
- The file /includes/s2member-pro.js is now a development source file. The live version is now optimized, inside: /includes/s2member-pro-min.js. This helps to further reduce the s2Member Pro footprint.
- Glob support for License Key files. A License Key file, can now be renamed ( if you wish ). This allows for better organization on Multisite installations. The only stipulations, are that every License Key file MUST start with s2member-pro-key, and end with .php. The glob pattern looks like this s2member-pro-key*.php.
- Internal optimization of s2member-pro.css. These optimizations are designed to further reduce the footprint of s2Member Pro.
- Bug fix. The PayPal® Pro API, sometimes returns Active|Suspended, instead of the documented ActiveProfile|SuspendedProfile. s2Member Pro v1.0.9+ has been updated to support this behavior.