Community discussions

MikroTik App
 
jesse.dupont
just joined
Topic Author
Posts: 10
Joined: Tue May 06, 2008 5:53 am

User Manager/Hotspot/Authorize.net Troubles

Sat May 22, 2010 1:36 am

Hello. I am having some trouble getting the Authorize.net payment method to work. I have an RB411U as my test. It is running ROS4.9 and User Manager 4.9. I have RADIUS working to local userman and this works. I can manually add a user with credit and that user can login to the Hotspot and is "active". I also have a valid cert installed and can use HTTPS to get to User Manager with no cert errors. As an unauth user, I can get to the User login page (https://<url>/user?login) and login to the manually created user. I also have secure.authorize.net (port 443) in the walled-garden as accept. When I click the buy button, I get back an Authorize.net page that says: "The following errors have occurred: (99) This transaction cannot be accepted."

I can provide whatever configs/screen captures you need.

Thank you!
 
ant
just joined
Posts: 3
Joined: Tue May 25, 2010 9:43 pm

Re: User Manager/Hotspot/Authorize.net Troubles

Wed May 26, 2010 5:03 am

Make sure under ip routes there is an entry giving access to a public return ip address. An example would be 0.0.0.0/0 with a gateway ip of your public ip address gateway. Also make sure your router has at least one public ip address. The payment services has to be able to communicate with Usermanger from outside your network to pass back the neccessary variables.
 
jesse.dupont
just joined
Topic Author
Posts: 10
Joined: Tue May 06, 2008 5:53 am

Re: User Manager/Hotspot/Authorize.net Troubles

Wed May 26, 2010 4:04 pm

Thanks for the reply, I appreciate it. That part is working good. I've got a 0.0.0.0/0 route and If I add "www.google.com" (or any site) to the Walled-Garden, I am able to pull up google (or any other site) with no problem.

The 99 error is coming from Authorize.net. In trouble shooting the 99 error a bit via Authorize.net's website, it is saying that either the transaction key is wrong or the x_amount is improperly formatted (a case problem) or the value of x_amount is improperly formatted. As for the transaction key, I have verified it (and re typed it in) three different times and have also tried copying and pasting the key in. I am pulling the key from a different system that makes numerous authorize.net transactions each day.

Just to be sure, I copied and pasted again into User Manager the Login ID, Trans Key and MD5 Value - still a 99 error from authorize.net's site when trying to do a transaction. I wonder if the fingerprint generation isn't working right... When I manually key in the login, trans key, etc. into their test page (https://developer.authorize.net/tools/responsecode99/), it comes back with a fingerprint key...

Anyone at MikroTik got any ideas for me?