Skip to content

Commit 2a630ca

Browse files
authored
Merge branch 'develop' into cobranded-cards
2 parents 5f0f8c4 + fc53894 commit 2a630ca

22 files changed

+243
-63
lines changed
Lines changed: 1 addition & 1 deletion
Loading

changelog/2024-03-30-01-19-36-005298

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+
Add an instructive error message when customer tries to use 2 different currencies for Stripe Billing subscriptions.

changelog/fix-7866-tos-decline-busy

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+
Fix Decline button state for Accept loading on ToS modal
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+
Change IP country rule after country settings are changed in WC settings page
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+
Fix payment icons on connect page (Klarna, Afterpay)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: dev
3+
4+
Ignore alternative function WordPress PHPCS sniffs in the GH workflows and tests
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Significance: patch
2+
Type: dev
3+
Comment: Complete WooPay Tracks event migration and cleanup migration related code
4+
5+

client/checkout/woopay/email-input-iframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ export const handleWooPayEmailInput = async (
639639
dispatchUserExistEvent( true );
640640
}, 2000 );
641641

642-
recordUserEvent( 'woopay_skipped', {}, true );
642+
recordUserEvent( 'woopay_skipped', {} );
643643

644644
searchParams.delete( 'skip_woopay' );
645645

client/connect-account-page/payment-methods.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import {
1919
DiscoverIcon,
2020
GooglePayIcon,
2121
MastercardIcon,
22-
SofortIcon,
2322
VisaIcon,
2423
WooIcon,
24+
KlarnaIcon,
2525
} from 'wcpay/payment-methods-icons';
2626

2727
const PaymentMethods: React.FC = () => {
@@ -38,14 +38,14 @@ const PaymentMethods: React.FC = () => {
3838
<GooglePayIcon />
3939
{ wcpaySettings.isWooPayStoreCountryAvailable && <WooIcon /> }
4040
<WooIcon />
41-
<SofortIcon />
41+
<KlarnaIcon />
4242
<AffirmIcon />
4343
{ 'GB' === wcpaySettings?.connect?.country ? (
4444
<ClearpayIcon />
4545
) : (
4646
<AfterpayIcon />
4747
) }
48-
<span>& more.</span>
48+
<span>& more</span>
4949
</div>
5050
</>
5151
);

client/connect-account-page/test/__snapshots__/index.test.tsx.snap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ exports[`ConnectAccountPage should render correctly 1`] = `
107107
src="assets/images/payment-methods/woo.svg"
108108
/>
109109
<img
110-
alt="Sofort"
110+
alt="Klarna"
111111
class="payment-method__icon"
112-
src="assets/images/payment-methods/sofort.svg"
112+
src="assets/images/payment-methods/klarna.svg"
113113
/>
114114
<img
115115
alt="Affirm"
@@ -122,7 +122,7 @@ exports[`ConnectAccountPage should render correctly 1`] = `
122122
src="assets/images/payment-methods/afterpay-logo.svg"
123123
/>
124124
<span>
125-
& more.
125+
& more
126126
</span>
127127
</div>
128128
<div
@@ -374,9 +374,9 @@ exports[`ConnectAccountPage should render correctly with WooPay eligible 1`] = `
374374
src="assets/images/payment-methods/woo.svg"
375375
/>
376376
<img
377-
alt="Sofort"
377+
alt="Klarna"
378378
class="payment-method__icon"
379-
src="assets/images/payment-methods/sofort.svg"
379+
src="assets/images/payment-methods/klarna.svg"
380380
/>
381381
<img
382382
alt="Affirm"
@@ -389,7 +389,7 @@ exports[`ConnectAccountPage should render correctly with WooPay eligible 1`] = `
389389
src="assets/images/payment-methods/afterpay-logo.svg"
390390
/>
391391
<span>
392-
& more.
392+
& more
393393
</span>
394394
</div>
395395
<div
@@ -598,9 +598,9 @@ exports[`ConnectAccountPage should render correctly with an incentive 1`] = `
598598
src="assets/images/payment-methods/woo.svg"
599599
/>
600600
<img
601-
alt="Sofort"
601+
alt="Klarna"
602602
class="payment-method__icon"
603-
src="assets/images/payment-methods/sofort.svg"
603+
src="assets/images/payment-methods/klarna.svg"
604604
/>
605605
<img
606606
alt="Affirm"
@@ -613,7 +613,7 @@ exports[`ConnectAccountPage should render correctly with an incentive 1`] = `
613613
src="assets/images/payment-methods/afterpay-logo.svg"
614614
/>
615615
<span>
616-
& more.
616+
& more
617617
</span>
618618
</div>
619619
<div

0 commit comments

Comments
 (0)