AuthorizeNet/sample-code-node

Cannot use 'in' operator to search for 'refId' in null

zstout-vs opened this issue · 1 comments

Screen Shot 2022-05-10 at 3 57 26 PM

../node_modules/authorizenet/lib/apicontracts.js:45
if(('refId' in obj) && (obj.refId != null)) { this.setRefId(obj.refId); }
^

TypeError: Cannot use 'in' operator to search for 'refId' in null

User Error