Skip to content

Commit 1f17f80

Browse files
committed
Merge branch 'trunk' into develop
2 parents 44775e6 + 02ad93e commit 1f17f80

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
*** Changelog ***
22

33
= 7.1.0 - 2022-xx-xx =
4+
5+
= 7.0.2 - 2023-01-11 =
46
* Fix - Expand charges object from incoming webhooks using Stripe API version 2022-11-15.
57
* Fix - Expand refunds on charge object from incoming webhooks using Stripe API version 2022-11-15.
8+
* Fix - Fix critical error on PHP 8+ when php_uname() is disabled
69

710
= 7.0.1 - 2022-11-11 =
811
* Fix - Issue where subscription renewal payments were being charged twice no longer present.

includes/abstracts/abstract-wc-stripe-payment-gateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ public function get_source_object( $source_id = '' ) {
646646
/**
647647
* Get charge object by charge ID.
648648
*
649-
* @since x.x.x
649+
* @since 7.0.2
650650
* @param string $charge_id The charge ID to get charge object for.
651651
* @param array $params The parameters to pass to the request.
652652
*
@@ -673,7 +673,7 @@ public function get_charge_object( $charge_id = '', $params = [] ) {
673673
* Since API version 2022-11-15, the `charges` property was replaced with `latest_charge`.
674674
* We can remove this method once we drop support for API versions prior to 2022-11-15.
675675
*
676-
* @since x.x.x
676+
* @since 7.0.2
677677
* @param object $intent Stripe API Payment Intent object response.
678678
*
679679
* @return object

includes/class-wc-stripe-webhook-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ public function is_partial_capture( $notification ) {
773773
/**
774774
* Gets the first refund object from charge notification.
775775
*
776-
* @since x.x.x
776+
* @since 7.0.2
777777
* @param object $notification
778778
*
779779
* @return object

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "woocommerce-gateway-stripe",
33
"title": "WooCommerce Gateway Stripe",
4-
"version": "7.0.1",
4+
"version": "7.0.2",
55
"license": "GPL-3.0",
66
"homepage": "http://wordpress.org/plugins/woocommerce-gateway-stripe/",
77
"repository": {

readme.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
44
Requires at least: 5.7
55
Tested up to: 6.0
66
Requires PHP: 7.0
7-
Stable tag: 7.0.1
7+
Stable tag: 7.0.2
88
License: GPLv3
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010
Attributions: thorsten-stripe
@@ -129,8 +129,6 @@ If you get stuck, you can ask for help in the Plugin Forum.
129129
== Changelog ==
130130

131131
= 7.1.0 - 2022-xx-xx =
132-
* Fix - Expand charges object from incoming webhooks using Stripe API version 2022-11-15.
133-
* Fix - Expand refunds on charge object from incoming webhooks using Stripe API version 2022-11-15.
134132

135133

136134
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).

woocommerce-gateway-stripe.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Take credit card payments on your store using Stripe.
66
* Author: WooCommerce
77
* Author URI: https://woocommerce.com/
8-
* Version: 7.0.1
8+
* Version: 7.0.2
99
* Requires at least: 5.8
1010
* Tested up to: 6.0
1111
* WC requires at least: 6.8
@@ -21,7 +21,7 @@
2121
/**
2222
* Required minimums and constants
2323
*/
24-
define( 'WC_STRIPE_VERSION', '7.0.1' ); // WRCS: DEFINED_VERSION.
24+
define( 'WC_STRIPE_VERSION', '7.0.2' ); // WRCS: DEFINED_VERSION.
2525
define( 'WC_STRIPE_MIN_PHP_VER', '7.3.0' );
2626
define( 'WC_STRIPE_MIN_WC_VER', '6.8' );
2727
define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.9' );

0 commit comments

Comments
 (0)