Skip to main content


Showing posts from December, 2021

AuthorizeNet Accept Sample App - Uncaught TypeError t is undefined

Solution for AuthorizeNet Accept Hosted Form (accept-sample-app) example. For error: Uncaught TypeError: t is undefined As a developer, it is very annoying when documentation ignores a step that is crucial in testing of the sample code. For AuthorizeNet "Accept Sample App" code it was as simple as a class name "AcceptUI", reading the minified javascript code in reverse was no fun. At the same time, every sample code should be a standalone example, if it inherits from previous code, then one should mention that this code is continuation of xyz. Why provide a bookmark directly to the sample code, when the code requires additional code that is mentioned three-four pages up? Sample from page: