Hey All, I am receiving the following TypeError wh...
# suitecommerce
g
Hey All, I am receiving the following TypeError when testing our checkout process on SCA 2023.1.2.
TypeError: Cannot call method "submit" of undefined (ssp_libraries.js#7392)
Our payment processing profile is with Adyen and we're using a one step checkout process. Checkout process is successful in our existing version of SCA (2022.1.2) when using the same payment processing profile. Adyen seems to think it could be a NetSuite issue in the latest version. Any ideas on how I could resolve this issue?
s
Open ssp_libraries.js and look at line 7392 and start there
g
Thanks Steve - Already looked into ssp- libraries.js. It seems to be an issue in this function...
Copy code
buildSubmitLoginAuthenticated: function buildSubmitLoginAuthenticated(callbackModel) {
            var confirmation = callbackModel.submit(true);
            ModelsInit.context.setSessionObject('cardHolderAuthenticationRecordId', null);
            return confirmation;
        },
Does anything look incorrect/out of place here?
s
Not offhand but it points to a problem with cardholder authentication via 3D Secure
callbackModel
refers to the model module that’s meant to be called when a user comes back from verifying 3D Secure
If it’s undefined then it sounds like it’s not being passed through correctly