We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b6343 commit be1426bCopy full SHA for be1426b
client/blocks/upe/upe-deferred-intent-creation/payment-processor.js
@@ -341,7 +341,7 @@ const PaymentProcessor = ( {
341
const savingPaymentMethodCheckbox = document.querySelector(
342
'.wc-block-components-payment-methods__save-card-info input[type=checkbox]'
343
);
344
- savingPaymentMethodCheckbox.addEventListener(
+ savingPaymentMethodCheckbox?.addEventListener(
345
'change',
346
function () {
347
elements.update( {
0 commit comments