Skip to content

Commit

Permalink
Fixed the utils path for getAppearanceType (#9489)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardola authored Oct 3, 2024
1 parent d33133e commit 82e8dcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog/fix-wrong-utils-path
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

Fixed wrong utils path that would prevent checkout with WooPay OTP
4 changes: 2 additions & 2 deletions client/checkout/woopay/email-input-iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { buildAjaxURL } from 'utils/express-checkout';
import { getAppearance } from 'checkout/upe-styles';
import {
getTargetElement,
getAppearanceType,
validateEmail,
appendRedirectionParams,
shouldSkipWooPay,
deleteSkipWooPayCookie,
} from './utils';
} from 'wcpay/checkout/woopay/utils';
import { getAppearanceType } from 'wcpay/checkout/utils';

export const handleWooPayEmailInput = async (
field,
Expand Down

0 comments on commit 82e8dcb

Please sign in to comment.