mikotondria Posted October 21, 2005 Posted October 21, 2005 Hi All.. OK, so I just spent all day trying to get an error code back from Authnet...the post: http://www.oscommerce.com/forums/index.php?showtopic=120323&hl= was very helpful. The problem was that the authorize gateway was asking for an "x_Tax" variable, and the current Authorize.net 1.8 with cURL fix does not send that. so, in catalog/includes/modules/payment/authorizenet.php I added it to the array that is sent like so: line 200 or so... x_State => "{$order->billing['state']}", x_Zip => "{$order->billing['postcode']}", x_Country => "{$order->billing['country']['title']}", x_Phone => "{$order->customer['telephone']}", x_Email => "{$order->customer['email_address']}", x_Ship_To_First_Name => "{$order->delivery['firstname']}", x_Ship_To_Last_Name => "{$order->delivery['lastname']}", x_Ship_To_Company => "{$order->delivery['company']}", x_Ship_To_Address => "{$order->delivery['street_address']}", x_Ship_To_City => "{$order->delivery['city']}", x_Ship_To_State => "{$order->delivery['state']}", x_Ship_To_Zip => "{$order->delivery['postcode']}", x_Ship_To_Country => "{$order->delivery['country']['title']}", x_Tax => "0", x_Customer_IP => "{$HTTP_SERVER_VARS['REMOTE_ADDR']}", x_Description => "$xx", tep_session_name() => tep_session_id()); Just thought I'd post that, in the hope it might save someone a few precious hours which could be spent more creatively ! :) Thanks each. Mike. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.