Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auth.net CIM Issues
[19-Jul-2013 17:57:20] create customer profile response: AuthorizeNetCIM_Response Object
(
[xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerProfileId] => 73251045
[customerPaymentProfileIdList] => SimpleXMLElement Object
(
)
[customerShippingAddressIdList] => SimpleXMLElement Object
(
)
[validationDirectResponseList] => SimpleXMLElement Object
(
)
)
[response] => <?xml version="1.0" encoding="utf-8"?><createCustomerProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><customerProfileId>73251045</customerProfileId><customerPaymentProfileIdList /><customerShippingAddressIdList /><validationDirectResponseList /></createCustomerProfileResponse>
[xpath_xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerProfileId] => 73251045
[customerPaymentProfileIdList] => SimpleXMLElement Object
(
)
[customerShippingAddressIdList] => SimpleXMLElement Object
(
)
[validationDirectResponseList] => SimpleXMLElement Object
(
)
)
)
[19-Jul-2013 17:57:20] profile_id: 73251045
[19-Jul-2013 17:57:21] shipping address response: AuthorizeNetCIM_Response Object
(
[xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerAddressId] => 80436506
)
[response] => <?xml version="1.0" encoding="utf-8"?><createCustomerShippingAddressResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><customerAddressId>80436506</customerAddressId></createCustomerShippingAddressResponse>
[xpath_xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerAddressId] => 80436506
)
)
[19-Jul-2013 17:57:21] customer_address: 80436506
[19-Jul-2013 17:57:22] paymentProfile response: AuthorizeNetCIM_Response Object
(
[xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerPaymentProfileId] => 69038821
[validationDirectResponse] => 1,1,1,This transaction has been approved.,263929,Z,5397713211,none,Test transaction for ValidateCustomerPaymentProfile.,0.01,CC,auth_only,none,Dan,Cameron,,123,Ventura,CA,93004,US,,,email@example.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F2E86A4F8E3EF861E2E7C63E652D90E9,M,,,,,,,,,,,,XXXX2005,American Express,,,,,,,,,,,,,,,,
)
[response] => <?xml version="1.0" encoding="utf-8"?><createCustomerPaymentProfileResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><customerPaymentProfileId>69038821</customerPaymentProfileId><validationDirectResponse>1,1,1,This transaction has been approved.,263929,Z,5397713211,none,Test transaction for ValidateCustomerPaymentProfile.,0.01,CC,auth_only,none,Dan,Cameron,,123,Ventura,CA,93004,US,,,email@example.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F2E86A4F8E3EF861E2E7C63E652D90E9,M,,,,,,,,,,,,XXXX2005,American Express,,,,,,,,,,,,,,,,</validationDirectResponse></createCustomerPaymentProfileResponse>
[xpath_xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Ok
[message] => SimpleXMLElement Object
(
[code] => I00001
[text] => Successful.
)
)
[customerPaymentProfileId] => 69038821
[validationDirectResponse] => 1,1,1,This transaction has been approved.,263929,Z,5397713211,none,Test transaction for ValidateCustomerPaymentProfile.,0.01,CC,auth_only,none,Dan,Cameron,,123,Ventura,CA,93004,US,,,email@example.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F2E86A4F8E3EF861E2E7C63E652D90E9,M,,,,,,,,,,,,XXXX2005,American Express,,,,,,,,,,,,,,,,
)
)
[19-Jul-2013 17:57:22] payment_profile_id: 69038821
[19-Jul-2013 17:57:22] validation response: AuthorizeNetAIM_Response Object
(
[_response_array:AuthorizeNetAIM_Response:private] => Array
(
[0] => 1
[1] => 1
[2] => 1
[3] => This transaction has been approved.
[4] => 263929
[5] => Z
[6] => 5397713211
[7] => none
[8] => Test transaction for ValidateCustomerPaymentProfile.
[9] => 0.01
[10] => CC
[11] => auth_only
[12] => none
[13] => Dan
[14] => Cameron
[15] =>
[16] => 123
[17] => Ventura
[18] => CA
[19] => 93004
[20] => US
[21] =>
[22] =>
[23] => email@example.com
[24] =>
[25] =>
[26] =>
[27] =>
[28] =>
[29] =>
[30] =>
[31] =>
[32] => 0.00
[33] => 0.00
[34] => 0.00
[35] => FALSE
[36] => none
[37] => F2E86A4F8E3EF861E2E7C63E652D90E9
[38] => M
[39] =>
[40] =>
[41] =>
[42] =>
[43] =>
[44] =>
[45] =>
[46] =>
[47] =>
[48] =>
[49] =>
[50] => XXXX2005
[51] => American Express
[52] =>
[53] =>
[54] =>
[55] =>
[56] =>
[57] =>
[58] =>
[59] =>
[60] =>
[61] =>
[62] =>
[63] =>
[64] =>
[65] =>
[66] =>
[67] =>
)
[approved] => 1
[declined] =>
[error] =>
[held] =>
[response_code] => 1
[response_subcode] => 1
[response_reason_code] => 1
[response_reason_text] => This transaction has been approved.
[authorization_code] => 263929
[avs_response] => Z
[transaction_id] => 5397713211
[invoice_number] => none
[description] => Test transaction for ValidateCustomerPaymentProfile.
[amount] => 0.01
[method] => CC
[transaction_type] => auth_only
[customer_id] => none
[first_name] => Dan
[last_name] => Cameron
[company] =>
[address] => 123
[city] => Ventura
[state] => CA
[zip_code] => 93004
[country] => US
[phone] =>
[fax] =>
[email_address] => email@example.com
[ship_to_first_name] =>
[ship_to_last_name] =>
[ship_to_company] =>
[ship_to_address] =>
[ship_to_city] =>
[ship_to_state] =>
[ship_to_zip_code] =>
[ship_to_country] =>
[tax] => 0.00
[duty] => 0.00
[freight] => 0.00
[tax_exempt] => FALSE
[purchase_order_number] => none
[md5_hash] => F2E86A4F8E3EF861E2E7C63E652D90E9
[card_code_response] => M
[cavv_response] =>
[account_number] => XXXX2005
[card_type] => American Express
[split_tender_id] =>
[requested_amount] =>
[balance_on_card] =>
[response] => 1,1,1,This transaction has been approved.,263929,Z,5397713211,none,Test transaction for ValidateCustomerPaymentProfile.,0.01,CC,auth_only,none,Dan,Cameron,,123,Ventura,CA,93004,US,,,email@example.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F2E86A4F8E3EF861E2E7C63E652D90E9,M,,,,,,,,,,,,XXXX2005,American Express,,,,,,,,,,,,,,,,
)
----------------------------------------------------------------
Checkout Completed
----------------------------------------------------------------
----------------------------------------------------------------
AuthCapture
----------------------------------------------------------------
[19-Jul-2013 17:57:23] transaction sent: AuthorizeNetTransaction Object
(
[amount] => 0.50
[tax] => stdClass Object
(
[amount] =>
[name] =>
[description] =>
)
[shipping] => stdClass Object
(
[amount] =>
[name] =>
[description] =>
)
[duty] => stdClass Object
(
[amount] =>
[name] =>
[description] =>
)
[lineItems] => Array
(
)
[customerProfileId] => 73251045
[customerPaymentProfileId] => 69038821
[customerShippingAddressId] => 80436506
[creditCardNumberMasked] =>
[bankRoutingNumberMasked] =>
[bankAccountNumberMasked] =>
[order] => stdClass Object
(
[invoiceNumber] => 29022
[description] =>
[purchaseOrderNumber] =>
)
[taxExempt] =>
[recurringBilling] =>
[cardCode] =>
[splitTenderId] =>
[approvalCode] =>
[transId] =>
)
[19-Jul-2013 17:57:23] capture trans raw response: AuthorizeNetCIM_Response Object
(
[xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Error
[message] => SimpleXMLElement Object
(
[code] => E00040
[text] => Customer Profile ID or Customer Payment Profile ID not found.
)
)
)
[response] => <?xml version="1.0" encoding="utf-8"?><createCustomerProfileTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00040</code><text>Customer Profile ID or Customer Payment Profile ID not found.</text></message></messages></createCustomerProfileTransactionResponse>
[xpath_xml] => SimpleXMLElement Object
(
[messages] => SimpleXMLElement Object
(
[resultCode] => Error
[message] => SimpleXMLElement Object
(
[code] => E00040
[text] => Customer Profile ID or Customer Payment Profile ID not found.
)
)
)
)
[19-Jul-2013 17:57:23] capture trans response: AuthorizeNetAIM_Response Object
(
[_response_array:AuthorizeNetAIM_Response:private] => Array
(
)
[approved] =>
[declined] =>
[error] => 1
[held] =>
[response_code] =>
[response_subcode] =>
[response_reason_code] =>
[response_reason_text] =>
[authorization_code] =>
[avs_response] =>
[transaction_id] =>
[invoice_number] =>
[description] =>
[amount] =>
[method] =>
[transaction_type] =>
[customer_id] =>
[first_name] =>
[last_name] =>
[company] =>
[address] =>
[city] =>
[state] =>
[zip_code] =>
[country] =>
[phone] =>
[fax] =>
[email_address] =>
[ship_to_first_name] =>
[ship_to_last_name] =>
[ship_to_company] =>
[ship_to_address] =>
[ship_to_city] =>
[ship_to_state] =>
[ship_to_zip_code] =>
[ship_to_country] =>
[tax] =>
[duty] =>
[freight] =>
[tax_exempt] =>
[purchase_order_number] =>
[md5_hash] =>
[card_code_response] =>
[cavv_response] =>
[account_number] =>
[card_type] =>
[split_tender_id] =>
[requested_amount] =>
[balance_on_card] =>
[response] =>
[error_message] => Error connecting to AuthorizeNet
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment