My XSD request clearly contains a TransactionKey, but on response, it's complaining that the value "XXXXXXXXXXXXXXXX' is invalid, and the actual lenght is greater than the maxlength value.
how can that be, if i'm sending the transaction key correctly? below is the request array:
net\authorize\api\contract\v1\CreateCustomerProfileRequest Object ( [profile:net\authorize\api\contract\v1\CreateCustomerProfileRequest:private] => net\authorize\api\contract\v1\CustomerProfileType Object ( [paymentProfiles:net\authorize\api\contract\v1\CustomerProfileType:private] => [shipToList:net\authorize\api\contract\v1\CustomerProfileType:private] => [merchantCustomerId:net\authorize\api\contract\v1\CustomerProfileBaseType:private] => 136167 [description:net\authorize\api\contract\v1\CustomerProfileBaseType:private] => [email:net\authorize\api\contract\v1\CustomerProfileBaseType:private] => nicklee0875@gmail.com ) [validationMode:net\authorize\api\contract\v1\CreateCustomerProfileRequest:private] => [merchantAuthentication:net\authorize\api\contract\v1\ANetApiRequestType:private] => net\authorize\api\contract\v1\MerchantAuthenticationType Object ( [name:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 3kEn6xMB23a [transactionKey:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => 8Ax55gRVe85647VH [sessionToken:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => [password:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => [impersonationAuthentication:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => [fingerPrint:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => [clientKey:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => [mobileDeviceId:net\authorize\api\contract\v1\MerchantAuthenticationType:private] => ) [clientId:net\authorize\api\contract\v1\ANetApiRequestType:private] => [refId:net\authorize\api\contract\v1\ANetApiRequestType:private] => ref1497465119 )
06-15-2017 11:34 AM
Hi @ascendo0875,
Any chance you're accidentally including a space or something in what's being sent? That would definitely cause the error you see. If not, can you post your code that actually creates the request?
06-21-2017 02:35 PM