Skip to content

Commit a896758

Browse files
committed
MAGETWO-53403: Terms and conditions agreement causes fatal error during checkout with PayPal Payments Pro method
1 parent 3a550e0 commit a896758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/CheckoutAgreements/view/frontend/web/js/model/agreements-assigner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ define([
2929
agreementIds.push(item.value);
3030
});
3131

32-
if (paymentData['extension_attributes'] == undefined) {
32+
if (paymentData['extension_attributes'] === undefined) {
3333
paymentData['extension_attributes'] = {}
3434
}
35-
35+
3636
paymentData['extension_attributes']['agreement_ids'] = agreementIds;
3737
}
3838
});

0 commit comments

Comments
 (0)