I have been trying to use the Netaxept Gateway and running into some issues. The tests for Active Merchant tests Netaxept gateway (all 14) do not pass and the error is consistent with what I see in my application.
1) Failure:
test_amount_is_not_required_again_when_capturing_authorization(RemoteNetaxeptTest) [/home2/rob/active_merchant/test/remote/gateways/remote_netaxept_test.rb:110]:
Response failed: #<ActiveMerchant::Billing::NetaxeptGateway::Response:0x00000002b45620 @params={"success"=>false, "setup"=>{"SetupString"=>"<INPUT TYPE=\"hidden\" name=\"BBSePay_transaction\" VALUE=\"IYICvFqCArg8TVNHKzYrU2lnRGF0I1ZFUis1KzMuMC4yI1NZUyszK1BPUyNDSUQrMjArNWJkYjBkYjQ2MDI5NDljNDhmYWUjVElNKzEwKzEzMDIwNzc3ODMjREFUKzI0NCtRZ3BOUWk0d01ESXVNVFk1UndZeU1EQTVNRFpJQTA1UFMwc0dOVGM0TWpBd1RpQmpOemN3WkRFd04yVTBNMlptWmpVNE1UUTJNRFkyWmpVeE9XTmxOemMxT0ZJRE1UQXdWUTR5TURFek1ERXlNREl5TXpZeU0xY2dNekF6WWpVMU5EY3hOVFptTm1FMk56aG1aVE0wTXpnNE9URTVZMkZqTnpKZk5RRXlYejBOTGs1RlZDQlFMMGx1ZG05clpWK0JBQUVnWDRFQkVtaDBkSEE2THk5bGVHRnRjR3hsTG1OdmJWK0JNQWd4TWpBd01ERXdOUT09I1A3UyszNTIrTUlJQkFnWUpLb1pJaHZjTkFRY0NvSUgwTUlIeEFnRUJNUXN3Q1FZRkt3NERBaG9GQURBakJna3Foa2lHOXcwQkJ3R2dGZ1FVc3dGNUFIa3l2U2VDdEJ3Sko1QlN4Z2U0QjFReGdia3dnYllDQVFPQUZDZTdYRmRQdlg0NS9lTDcxaFI2QjB2Y2ZreThNQWtHQlNzT0F3SWFCUUF3RFFZSktvWklodmNOQVFFQkJRQUVnWUJJcWR5bEpMWVNGbFlOZ0QyOW5UYlJMaW8wMTNnMmt6L3FBRWpZRVpOUDhkMXl4SmFGNmlEdGZyVGsxeGdhSkprSkRCTXpaeWlPY0o1MGVCUCtLNEY4VkFvQ2kyQ2kxNVp2Q0tiUUhZTk9UYU9MMWpCM1ZoVHVyUEFsVFM3cWF2a3lsYzBqeUxCbXA0MVFSQ0gvS2JtRjVTZG9QTXJydUcxa0EyNFRTYUxmVXc9PT4=\">", :container=>"SetupResponse"}, "message"=>"Missing parameter: 'transactionString'", "authorization"=>nil, "paymentDetails"=>{"head"=>{"link"=>nil}, "body"=>{"div"=>"Internal error"}, :container=>"html"}, "processSetup"=>{"Message"=>"Missing parameter: 'transactionString'", :container=>"ValidationException"}}, @message="Missing parameter: 'transactionString'", @success=false, @test=true, @authorization=nil, @fraud_review=nil, @avs_result={"code"=>nil, "message"=>nil, "street_match"=>nil, "postal_match"=>nil}, @cvv_result={"code"=>nil, "message"=>nil}>
I have tracked it down to the following couple of lines where I see "Internal Error" returned from the server:
~Line 155, netaxept.rb
def commit_payment_details(response, parameters)
data = encode(parameters[:creditcard].merge(:BBSePay_transaction => response[:setup]['SetupString']))
response[:paymentDetails] = parse(ssl_post(build_url("terminal/default.aspx"), data), false)
process(response, :paymentDetails)
end
Any ideas would be helpful. Thanks in advance.