cancel
Showing results for 
Search instead for 
Did you mean: 

SiM - Error 99

Hey everyone,

 

I am having a small issue.  I am using a SiM account and I downloaded the test code from authorize.net's site.  It works just fine if I enter in a static $ amount for x_amount. 

 

However, when I try to pass a vaule via the web to it, it gives me an error 99.  Can anyone help me with this?

 

Thanks,

rapetrucri
Member
1 REPLY 1

The problem is that you're generating the fingerprint before knowing what the amount is going to be. Amount is part of the formula. If you want variable amounts, you will need to add an extra step to the first part, so people can enter a value on the first step (a form with just x_amount) and then that value will be used to computer the fingerprint hash in the second part (use $_POST['x_amount']. The second part should also ideally be auto-submitted using onload="document.forms[0].submit();" or onload="document.myformname.submit();" in your <body> tag.

TJPride
Expert