Gufran / authorize-net-cim-api

Authorize.net CIM API library with composer support.
4 stars 4 forks source link

Invalid API Method #2

Open greebo3 opened 10 years ago

greebo3 commented 10 years ago

Hi ,

From the example: $api = Authorize::createCustomerProfile() ->setFirstName('gufran') ->setCity('someCity') ->setCardNumber('1234567890123456');

I am receiving the following error when Invalid API Method [Gufran\AuthNet\Entities\RequestMethods\CreateCustomerProfile] Unable to make request

greebo3 commented 10 years ago

Hi Gufran, Any ideas I could use to bug check this?

N30 commented 9 years ago

Yeah, his documentation is typing the wrong syntax from the repository name to the methods and everything, CreateCustomerProfile doesn't exist, it is CreateProfile... You should look at the src/Entities/RequestMethods after that cause you will continue to get many errors!