Forums / Developer / eZ Authorize / Comment44958

Author Topic

J-A Eberhard

Sunday 05 November 2006 8:30:35 am

Comment44958

Hi,

Tried with the debug output, here is the result

Debug: eZAuthorizeGateway response

array(69) {
  ["Response Code"]=>
  string(1) "3"
  ["Response Subcode"]=>
  string(1) "2"
  ["Response Reason Code"]=>
  string(2) "13"
  ["Response Reason Text"]=>
  string(83) "(TESTMODE) The merchant login ID or password is invalid or the account is inactive."
  ["Approval Code"]=>
  string(6) "000000"
  ["AVS Result Code"]=>
  string(1) "P"
  ["Transaction ID"]=>
  string(1) "0"
  ["Invoice Number"]=>
  string(0) ""
  ["Description"]=>
  string(0) ""
  ["Amount"]=>
  string(6) "567.00"
  ["Method"]=>
  string(0) ""
  ["Transaction Type"]=>
  string(12) "auth_capture"
  ["Customer ID"]=>
  string(0) ""
  ["Cardholder First Name"]=>
  string(0) ""
  ["Cardholder Last Name"]=>
  string(0) ""
  ["Company"]=>
  string(0) ""
  ["Billing Address"]=>
  string(0) ""
  ["City"]=>
  string(0) ""
  ["State"]=>
  string(0) ""
  ["Zip"]=>
  string(0) ""
  ["Country"]=>
  string(0) ""
  ["Phone"]=>
  string(0) ""
  ["Fax"]=>
  string(0) ""
  ["Email"]=>
  string(0) ""
  ["Ship to First Name"]=>
  string(0) ""
  ["Ship to Last Name"]=>
  string(0) ""
  ["Ship to Company"]=>
  string(0) ""
  ["Ship to Address"]=>
  string(0) ""
  ["Ship to City"]=>
  string(0) ""
  ["Ship to State"]=>
  string(0) ""
  ["Ship to Zip"]=>
  string(0) ""
  ["Ship to Country"]=>
  string(0) ""
  ["Tax Amount"]=>
  string(0) ""
  ["Duty Amount"]=>
  string(0) ""
  ["Freight Amount"]=>
  string(0) ""
  ["Tax Exempt Flag"]=>
  string(0) ""
  ["PO Number"]=>
  string(0) ""
  ["MD5 Hash"]=>
  string(32) "A8DCEC6E0E64C02DB5AF5F67539FA1D5"
  ["Card Code (CVV2/CVC2/CID) Response Code"]=>
  string(0) ""
  ["Cardholder Authentication Verification Value (CAVV) Response Code"]=>
  string(0) ""
  ["Reserved Field 0"]=>
  string(0) ""
  ["Reserved Field 1"]=>
  string(0) ""
  ["Reserved Field 2"]=>
  string(0) ""
  ["Reserved Field 3"]=>
  string(0) ""
  ["Reserved Field 4"]=>
  string(0) ""
  ["Reserved Field 5"]=>
  string(0) ""
  ["Reserved Field 6"]=>
  string(0) ""
  ["Reserved Field 7"]=>
  string(0) ""
  ["Reserved Field 8"]=>
  string(0) ""
  ["Reserved Field 9"]=>
  string(0) ""
  ["Reserved Field 10"]=>
  string(0) ""
  ["Reserved Field 11"]=>
  string(0) ""
  ["Reserved Field 12"]=>
  string(0) ""
  ["Reserved Field 13"]=>
  string(0) ""
  ["Reserved Field 14"]=>
  string(0) ""
  ["Reserved Field 15"]=>
  string(0) ""
  ["Reserved Field 16"]=>
  string(0) ""
  ["Reserved Field 17"]=>
  string(0) ""
  ["Reserved Field 18"]=>
  string(0) ""
  ["Reserved Field 19"]=>
  string(0) ""
  ["Reserved Field 20"]=>
  string(0) ""
  ["Reserved Field 21"]=>
  string(0) ""
  ["Reserved Field 22"]=>
  string(0) ""
  ["Reserved Field 23"]=>
  string(0) ""
  ["Reserved Field 24"]=>
  string(0) ""
  ["Reserved Field 25"]=>
  string(0) ""
  ["Reserved Field 26"]=>
  string(0) ""
  ["Reserved Field 27"]=>
  string(0) ""
  ["Merchant Defined Field 0"]=>
  string(6) "sdgasg"
}

With override/ezauthorize.ini.append.php been

[eZAuthorizeSettings]
# Extension Debug
Debug=true

# Better Security avialable from curl version > 7.1
# Respose gets verified
SSLVerify=false

# (Required) Authorize.Net Merchant Login User Name
MerchantLogin=cnpdev4444

# (Required) Authorize.Net Transaction Key
TransactionKey=623P88zxd6Pj3Pz6

# Enable or Disable Authorize.Net Test Mode
# TestMode disables charing credit card

TestMode=true

## Optional

# Provide Customer CVV2 Code Input Verification
CustomerCVV2Check=false

# Perform Authorize.Net Hash Verification

MD5HashVerification=false
MD5HashSecretWord=publish

# Send Customer Authorize.Net Payment Confirmation Email
CustomerConfirmationEmail=false

# Stock Exponential provides customer information in order,
# if enabled this sends the address information to Authorize.Net

GetOrderCustomerInformation=false
CustomerAddressVerification=false
SendCustomerShippingAddress=false

# Currency Code of Payment
# Defaults to 'US Dollar/USD'
# See AIM_Guide.pdf Appendix I for a complete list

CurrencyCode=USD

# The eZAuthorize extension can optionally set status codes on the 
# order to record the interaction with the payment gateway in the 
# order's status history. 
# The Start Status Code will be set just before connecting to 
# Authorize.net, and the Success and Failure Codes will be 
# set depending on the provided response. 

# To use these, create new Order Statuses using the Order Status
# Link in the Webshop tab of the Exponential Admin

StartStatusCode=1000
SuccessStatusCode=1001
FailStatusCode=1002

Thanks for your help...

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch