in reply to Interfacing to Authorize.Net

I went back looking at the Net::SSLeay docs and I changed the "Authorize.Net Interaction" section to make it more like the example shown (3b) and now the server is spitting things back. Once I get things more organized I will write it up and post it, so further suggestions are welcome. Also if somebody sees the problem and can explain what is wrong with the way the original code uses the hash I'd appreciate the insight.
################################# ### Authorize.Net Interaction ### ################################# ($reply_data, $reply_type, %reply_headers) = post_https($host, $port, +$script, '', make_form ( + 'x_Login' => $login ,'x_Version' => $authnet_ver ,'x_ADC_Delim_Data' => $adc_delim_data ,'x_ADC_URL' => $adc_url ,'x_Test_Request' => $test_mode ,'x_Type' => $auth_type ,'x_Method' => $payment_method ,'x_First_Name' => $first_name ,'x_Last_Name' => $last_name ,'x_Amount' => $charge_amount ,'x_Card_Num' => $card_num ,'x_Exp_Date' => $expiration_date ) );


-THRAK
www.polarlava.com

Replies are listed 'Best First'.
Re: Re: Interfacing to Authorize.Net
by Anonymous Monk on Feb 19, 2004 at 19:43 UTC
    Have you posted the code for Interfacing to Authorize.Net? I really want to have the script to test the authorize.net aim method.