I'm sending the following to CreateCustomerPaymentProfile soap method and getting 'no payment information' back:
$ccpt = CreateCustomerPaymentProfile::__set_state(array( 'merchantAuthentication' => MerchantAuthenticationType::__set_state(array( 'name' => "xxxxxxxx", 'transactionKey' => "xxxxxxxx", )), 'customerProfileId' => 6100241, 'paymentProfile' => CustomerPaymentProfileType::__set_state(array( 'payment' => PaymentType::__set_state(array( 'creditCard' => CreditCardType::__set_state(array( 'cardCode' => "959", 'cardNumber' => 4222222222222, 'expirationDate' => "2018-05", )), 'bankAccount' => NULL, )), 'driversLicense' => NULL, 'taxId' => NULL, 'customerType' => "individual", 'billTo' =>
CustomerAddressType::__set_state(array( 'phoneNumber' => "806/977-2043", 'faxNumber' => "806/778-5177", 'firstName' => "John", 'lastName' => "Doe", 'company' => "John Doe Industries", 'address' => "1234 Fifth Avenue", 'city' => "Amarillo", 'state' => "TX", 'zip' => "79104", 'country' => "USA", )), )), 'validationMode' => "liveMode", ))
but it is reporting back error code E00029 "Payment information is required."
(this is pointing at the testing server btw)
12-28-2011 11:17 AM
found it - apparently if you leave the 'null' bankAccount value in there, the Soap blows up and it fails.
12-28-2011 01:06 PM
Ah, probably tries to look for the bank account info and dies. Makes sense.
12-28-2011 01:38 PM