cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway error code E00040: Customer Shipping Address ID not found

I am getting the following error code when trying to submit a transaction on my live magento website. 

 

<?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 Shipping Address ID not found.</text></message></messages></createCustomerProfileTransactionResponse>
2014-04-29T15:54:45+00:00 INFO (6): 0. USING customer: 123123123 - payment: 123123123 - shipping: 1212 

2014-04-29T15:54:45+00:00 INFO (6): 1. USING resultText: Customer Shipping Address ID not found. - resultCode: Error - resultErrorCode: E00040 

2014-04-29T15:54:45+00:00 INFO (6): 2. transauthidar: ges><resultCode>Error</resultCode><message><code>E00040</code><text>Customer Shipping Address ID not found.</text></message></messages></createCustomerProfileTransactionResponse> 

2014-04-29T15:54:45+00:00 INFO (6): 3. avscode: N/A cvvcode: P 

2014-04-29T15:54:45+00:00 INFO (6): 4. TransID = 0 

2014-04-29T15:54:45+00:00 INFO (6): 5. Approval Code = 08615B 

2014-04-29T15:54:45+00:00 INFO (6): step5
2014-04-29T15:54:45+00:00 INFO (6): array (
  'Status' => 
  array (
    'transno' => 0,
    'approval' => '08615B',
    'CustomerProfileID' => 123123123,
    'PaymentProfileID' => 123123123,
    'ShippingProfileID' => 1212,
    'statusCode' => 'Error',
    'code' => 'E00040',
    'statusDescription' => 'Customer Shipping Address ID not found.',
    'CcAvsStatus' => 'N/A',
    'CcCidStatus' => 'P',
  ),
)
 

 

MarkP111
Member
8 REPLIES 8

Can you login to the authorize.net account and see if the shipping address id is valid for that customer profile id?

RaynorC1emen7
Expert

Hey, thank you so much for responding. I'm a little lost on where to search for that. Sorry.

https://secure.authorize.net/

 

or thru the API getCustomerProfile with your customerpofileID

Ok, thanks for the help. I found the CIM and looked up the shipping profile ID. The output of Magento does not match the shipping profile ID in CIM. Any idea how to make them match?

Since you can't change the shipping address id on authorize.net, you would change it on magento.

Ok, I'm assuming you don't know how to do this in magento? Because I can't seem to find how to do this anywhere on the web.

sorry, only know authorize.net, they don't have forum or support?

They do have a forum. I'll go check there. My developer thought that it was an issue on Authorize.net's side. Guess not. Thanks for the help!