diff --git a/changelog.txt b/changelog.txt index 031974dfa..f4eb67ddd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ *** Changelog *** += 4.1.12 - 2018-10-19 = +* Fix - Typo on notice banner. +* Fix - On auth/capture scenario, error can occur when completing the order in backend. + = 4.1.11 - 2018-10-17 = * Fix - Explicitly set 3DS source id to prevent 3DS source not charging when not required. * Fix - Prevent Stripe JS failed live/test check from throwing JS error. diff --git a/includes/admin/class-wc-stripe-admin-notices.php b/includes/admin/class-wc-stripe-admin-notices.php index e3f7c4f49..46cd79ecd 100644 --- a/includes/admin/class-wc-stripe-admin-notices.php +++ b/includes/admin/class-wc-stripe-admin-notices.php @@ -127,7 +127,7 @@ public function stripe_check_environment() { // To be removed 4.1.12. if ( empty( $show_styles_notice ) ) { if ( version_compare( WC_STRIPE_VERSION, '4.1.12', '<' ) ) { - $message = __( 'Action required: In January 2019 we will be introducing changes that could effect how Stripe looks in your checkout. Learn more about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' ); + $message = __( 'Action required: In January 2019 we will be introducing changes that could affect how Stripe looks in your checkout. Learn more about how to make sure your site continues to look great.', 'woocommerce-gateway-stripe' ); $this->add_admin_notice( 'styles', 'notice notice-warning', $message, true ); diff --git a/includes/class-wc-stripe-order-handler.php b/includes/class-wc-stripe-order-handler.php index 9de5041bb..71ae04a44 100644 --- a/includes/class-wc-stripe-order-handler.php +++ b/includes/class-wc-stripe-order-handler.php @@ -270,7 +270,7 @@ public function capture_payment( $order_id ) { // Store other data such as fees WC_Stripe_Helper::is_wc_lt( '3.0' ) ? update_post_meta( $order_id, '_transaction_id', $result->id ) : $order->set_transaction_id( $result->id ); - $this->update_fees( $order, $result->balance_transaction ); + $this->update_fees( $order, $result->balance_transaction->id ); } // This hook fires when admin manually changes order status to processing or completed.