Releases: godaddy-wordpress/wc-plugin-framework
Releases · godaddy-wordpress/wc-plugin-framework
v5.6.0
- Feature - Add support for WooCommerce Admin enhanced notes
- Tweak - Refactor Apple Pay handler classes for greater flexibility
- Fix - Remove gateway payment field validation on initial page load
v5.5.4
- Tweak - Add a link to the site's terms and conditions page below Apple Pay buttons when available
- Tweak - Adjust the place order button label for redirect/hosted gateways
- Fix - Fix a JavaScript error triggered trying read the 'length' property of an undefined value in format_credit_card_inputs()
v5.5.3
v5.5.2
- Fix -
SV_WC_Payment_Gateway_Apple_Pay::process_payment()
now throws an exception if the result returned by the processing gateway doesn't indicate whether the transaction was successful or not - Fix - Update
SV_WC_Payment_Gateway_Direct::process_payment()
to cover for and edge case in whichSV_WC_Payment_Gateway_Direct::do_transaction()
fails without throwing an exception - Fix - On WooCommerce 3.9: prevent empty credit card fields from being marked as invalid before the user has entered any data
- Dev - TLS 1.2 helper methods moved from
SV_WC_API_Base
toSV_WC_Plugin
- Dev - Deprecated
SV_WC_API_Base::require_tls_1_2()
v5.5.1
- Tweak - Refactor Apple Pay order creation to support the same filters and actions that are fired during regular checkout
- Tweak - Allow multiple old hooks to be mapped to a single new one via the hook deprecator
- Fix - Harden integration with WooCommerce Pre-Orders to avoid a PHP error in some circumstances
- Fix - Fix double product stock reduction when an order is held and payment is not completed
v5.5.0
- Feature - Add a plugin helper method to retrieve a template part while consistently passing the default template path to
wc_get_template()
- Misc - Deprecate backwards compatibility methods for unsupported WooCommerce and PHP versions
- Misc - Replace
SV_WC_Helper::get_post()
andSV_WC_Helper::get_request()
withSV_WC_Helper::get_posted_value()
andSV_WC_Helper::get_requested_value()
v5.4.3
- Fix - Do not show the checkbox to save the payment method on the checkout page if not logged in and registration during checkout is disabled
- Misc - Add a Country_Helper class to assist converting country codes to and from various formats
v5.4.2
- Tweak - Add a standard set of subscription details to orders payment data set by a gateway
- Tweak - Add replacement helper methods to get the current screen in WordPress and check the screen ID
- Misc - Change SV_WC_Payment_Gateway::is_configured() from protected to public
- Misc - Add admin notice when a gateway is enabled but is not configured and is unable to take payments
v5.4.1
- Misc - Add a configurable admin notice for plugins running deprecated WooCommerce versions
v5.4.0
- Feature - Add abstract handlers for hosted payment processing
- Feature - Revamp the Lifecycle handler for easier upgrade routines and add event logging for important lifecycle events
- Tweak - Adjust the no-HTTPS notice to point to where the merchant can fix the problem
- Fix - Prevent the Capture button from showing on failed orders or orders without an original transaction ID
- Fix - Use the current order total when determining whether a captured order should change status