-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch: Fix subscription renewals exceptions by reverting billing addr…
…ess related PRs (#8689) Co-authored-by: Timur Karimov <[email protected]> Co-authored-by: Timur Karimov <[email protected]> Co-authored-by: Daniel Mallory <[email protected]> Co-authored-by: Daniel Mallory <[email protected]>
- Loading branch information
1 parent
f9419e1
commit 37e4d9f
Showing
9 changed files
with
49 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: fix | ||
|
||
Fix subscription renewals exceptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: dev | ||
|
||
Remove deprecated param from asset data registry interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -484,39 +484,10 @@ public function test_update_payment_method_with_billing_details_from_order() { | |
[ | ||
'billing_details' => [ | ||
'address' => [ | ||
'city' => 'WooCity', | ||
'country' => Country_Code::UNITED_STATES, | ||
'line1' => 'WooAddress', | ||
'line2' => '', | ||
'city' => 'WooCity', | ||
'state' => 'NY', | ||
'postal_code' => '12345', | ||
], | ||
'phone' => '555-32123', | ||
'email' => '[email protected]', | ||
'name' => 'Jeroen Sormani', | ||
], | ||
] | ||
); | ||
|
||
$order = WC_Helper_Order::create_order(); | ||
|
||
$this->customer_service->update_payment_method_with_billing_details_from_order( 'pm_mock', $order ); | ||
} | ||
|
||
public function test_update_payment_method_with_billing_details_from_checkout_fields() { | ||
$this->mock_api_client | ||
->expects( $this->once() ) | ||
->method( 'update_payment_method' ) | ||
->with( | ||
'pm_mock', | ||
[ | ||
'billing_details' => [ | ||
'address' => [ | ||
'postal_code' => '12345', | ||
'city' => 'WooCity', | ||
'country' => 'US', | ||
'line1' => 'WooAddress', | ||
'line2' => '', | ||
'state' => 'NY', | ||
], | ||
'email' => '[email protected]', | ||
|