Skip to content

Commit

Permalink
get billing email by ID in Blocks II
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov authored and Timur Karimov committed Nov 29, 2024
1 parent 4515b51 commit 327ab01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/checkout/utils/upe.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export const blocksShowLinkButtonHandler = ( linkAutofill ) => {

const emailInput = upeContainer
.closest( 'form' )
?.querySelector( 'input[type="email"]' );
?.querySelector( '#billing_email' );
if ( ! emailInput ) return;

const stripeLinkButton = document.createElement( 'button' );
Expand Down

0 comments on commit 327ab01

Please sign in to comment.