cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this solution

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

 

View solution in original post

Who Me Too'd this solution