Skip to content

Commit cfa8ef6

Browse files
ahecklermgascam
andauthored
Update fees doc links (#11151)
Co-authored-by: Miguel Gasca <[email protected]>
1 parent e07327d commit cfa8ef6

File tree

8 files changed

+14
-10
lines changed

8 files changed

+14
-10
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fix
3+
4+
Comment: Update links to the WooPayments fees documentation.

client/components/account-balances/__tests__/index.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ describe( 'AccountBalances', () => {
254254
} );
255255
expect( within( tooltip ).getAllByRole( 'link' )[ 1 ] ).toHaveAttribute(
256256
'href',
257-
'https://woocommerce.com/document/woopayments/fees-and-debits/account-showing-negative-balance/'
257+
'https://woocommerce.com/document/woopayments/fees/account-showing-negative-balance/'
258258
);
259259
} );
260260

@@ -273,7 +273,7 @@ describe( 'AccountBalances', () => {
273273
} );
274274
expect( within( tooltip ).getAllByRole( 'link' )[ 1 ] ).toHaveAttribute(
275275
'href',
276-
'https://woocommerce.com/document/woopayments/fees-and-debits/account-showing-negative-balance/'
276+
'https://woocommerce.com/document/woopayments/fees/account-showing-negative-balance/'
277277
);
278278
} );
279279

client/components/account-balances/strings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export const documentationUrls = {
1212
depositSchedule:
1313
'https://woocommerce.com/document/woopayments/payouts/payout-schedule/',
1414
negativeBalance:
15-
'https://woocommerce.com/document/woopayments/fees-and-debits/account-showing-negative-balance/',
15+
'https://woocommerce.com/document/woopayments/fees/account-showing-negative-balance/',
1616
};

client/components/deposits-overview/deposit-notices.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const NegativeBalanceDepositsPausedNotice: React.FC = () => (
102102
<a
103103
target="_blank"
104104
rel="noopener noreferrer"
105-
href="https://woocommerce.com/document/woopayments/fees-and-debits/account-showing-negative-balance/"
105+
href="https://woocommerce.com/document/woopayments/fees/account-showing-negative-balance/"
106106
/>
107107
),
108108
},

client/utils/__tests__/__snapshots__/account-fees.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ exports[`Account fees utility functions formatMethodFeesTooltip() displays base
4545
<span>
4646
<a
4747
class="components-external-link"
48-
href="https://woocommerce.com/document/woopayments/fees-and-debits/fees/#united-states"
48+
href="https://woocommerce.com/document/woopayments/fees/#united-states"
4949
rel="external noreferrer noopener"
5050
target="_blank"
5151
>
@@ -113,7 +113,7 @@ exports[`Account fees utility functions formatMethodFeesTooltip() displays base
113113
<span>
114114
<a
115115
class="components-external-link"
116-
href="https://woocommerce.com/document/woopayments/fees-and-debits/fees/#united-states"
116+
href="https://woocommerce.com/document/woopayments/fees/#united-states"
117117
rel="external noreferrer noopener"
118118
target="_blank"
119119
>

client/utils/account-fees.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { createInterpolateElement } from '@wordpress/element';
1919
import PAYMENT_METHOD_IDS from 'constants/payment-method';
2020

2121
const countryFeeStripeDocsBaseLink =
22-
'https://woocommerce.com/document/woopayments/fees-and-debits/fees/#';
22+
'https://woocommerce.com/document/woopayments/fees/#';
2323
const countryFeeStripeDocsBaseLinkNoCountry =
24-
'https://woocommerce.com/document/woopayments/fees-and-debits/fees/';
24+
'https://woocommerce.com/document/woopayments/fees/';
2525
const countryFeeStripeDocsSectionNumbers: Record< string, string > = {
2626
AE: 'united-arab-emirates',
2727
AU: 'australia',

includes/class-wc-payments-order-service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,7 +2409,7 @@ private function is_frod_supported( $country_code ) {
24092409
* @return string
24102410
*/
24112411
private function get_frod_support_note( $formatted_amount ) {
2412-
$learn_more_url = 'https://woocommerce.com/document/woopayments/fees-and-debits/preventing-negative-balances/#adding-funds';
2412+
$learn_more_url = 'https://woocommerce.com/document/woopayments/fees/preventing-negative-balances/#adding-funds';
24132413
return sprintf(
24142414
WC_Payments_Utils::esc_interpolated_html(
24152415
/* translators: %s: Formatted refund amount */

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Features previously only available on your payment provider’s website are now
2828

2929
**Pay as you go**
3030

31-
WooPayments is **free to install**, with **no setup fees or monthly fees**. Our pay-as-you-go pricing model means we're incentivized to help you succeed! [Read more about transaction fees](https://woocommerce.com/document/woopayments/fees-and-debits/fees/).
31+
WooPayments is **free to install**, with **no setup fees or monthly fees**. Our pay-as-you-go pricing model means we're incentivized to help you succeed! [Read more about transaction fees](https://woocommerce.com/document/woopayments/fees/).
3232

3333
**Supported by the WooCommerce team**
3434

0 commit comments

Comments
 (0)