I un-commented that line and still got the same issues.
However, I see what that line was trying to actually 'do', which is to set the page to use the test server instead of the live server.
What I did then, was to go into the actual popup.js file and changed the line that read:
if (AuthorizeNetPopup.options.useTestEnvironment) {
form.action = "https://test.authorize.net/profile/" + opt.action;
} else {
form.action = "https://secure.authorize.net/profile/" + opt.action;
to this:
if (AuthorizeNetPopup.options.useTestEnvironment) {
form.action = "https://test.authorize.net/profile/" + opt.action;
} else {
form.action = "https://test.authorize.net/profile/" + opt.action;
In effect, I made the 'else' part of the statement redundant, since it is going to use the test address regardless
of the value of useTestEnvironment
Now the CIM is working.
I do not know why uncommenting the line that is supposed to set the page to use the 'test' address didn't work,
but now that I know that it wasn't working, I was able to create the workaround by simply forcing it to use the
test address.
I'll just need to remember to put it back the way it's 'supposed to be' when the site is changed to the live system.
Thanks for the clue!
WHeis
12-09-2011 09:41 AM