cancel
Showing results for 
Search instead for 
Did you mean: 

SIM not showing payment form on developer account

The developer account was working when I first setup a test server but after playing around with the relay response urls it no longer works. I am getting some sort of redirect (not a full redirect because the browser still shows https://test.authorize.net/gateway/transact.dll in the address bar) back to my relay response url instead of showing the payment form. I get no error messages. Any idea how to debug this? I posted to https://developer.authorize.net/tools/paramdump/index.php and all the data is the same as before. I created a new TransactionID and tried that with the same result. How to debug when you get no errors? Any help would be greatly appreciated.

 

If I enter an invalid relay response url (but one that is listed in the allowed urls) then I get an email error below. It appears that it is trying to process the transaction instead of giving me the payment form so I can enter the credit card information. Why would it think that I am using SIM instead of AIM?

 

Authorize.Net Developer Center Merchant,

Your script timed out while we were trying to post transaction results to it.
   Transaction ID: 0
Transaction Result: %s cannot be left blank.

The following message was displayed to the customer:

------------------------------An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

Credit card number is required.
Expiration date is required.


------------------------------
gnpatterson
Contributor
1 ACCEPTED SOLUTION

Accepted Solutions
7 REPLIES 7

You mean SIM, AIM don't use relay response.

So the payment form doesn't show and go straight to the relay response page when you put the payment form url on the browser?

 

If you are running AIM, it should leave your website at all, the post is in your server code, and not a form post

RaynorC1emen7
Expert

Reposting this correctly. I mean SIM. Sorry.

SIM required

<INPUT TYPE=HIDDEN NAME="x_show_form" VALUE="PAYMENT_FORM">

 

http://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=SIM_Submitting_tran...

Regarding x_show_form ... You might be onto something. That line has always been there, but I wanted to dynamically change x_relay_URL in ASP code so i added runat="server" to both of those lines. I don't know how or why that would cause this problem but I am going to check it now.

 

Thanks.

Ok. Not sure what is going on with the ASP server, but removing the runat="server" from the x_show_form tag fixed the problem. Maybe any field tagged as runat="server" must actually be touched by the server in order to get passed to the client. Regardless, your post led to the fix.

 

If you will add a note to your post about not using runat="server" in ASP then I will mark this solved. I really appreciate your timely help. I hope you are getting paid for this.

when you add runat="server" it would change the ID and Name attribute values,  https://developer.authorize.net/tools/paramdump/index.php should have should you it was different.

You are right. It changed the names to ctl01 and ctl02 (control 1 and control 2). So I had the clue I needed in that report and didn't see the significance of those strangely named tags. Thanks again.