AuthorizeNet/sample-code-node

Errors running tests in test-runner.js

fijiwebdesign opened this issue · 2 comments

There are some typos and missing files in the samples which causes the node test-runner.js to fail.

  • get-list-of-subscriptions.js declares getListOfSubscription() which should be getListOfSubscriptions().
  • test-runner.js requires ./ApplePayTransactions which does not exist. See the line in test-runner.js:11 which states var ApplePayTransactionsModule = require('./ApplePayTransactions');
  • TransactionReporting/get-settled-batch-list.js errors due to Error Code: E00013 since Error message: First Settlement Date can not be older than the year of 2017.

Fixes for the above added to PR #23

Hi,

Thank you for your help in this. We have evaluated the PR and merged it to the master branch.