elixir_authorizenet v0.3.1 AuthorizeNet
Handles API requests and responses.
Copyright 2015 Marcelo Gornstein marcelog@gmail.com
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Summary
Functions
Makes a request to the Authorize.Net API. Adds authentication and parses response. On success will return an xmlElement record. See: http://www.erlang.org/doc/apps/xmerl/xmerl_ug.html
See: http://www.authorize.net/support/CIM_XML_guide.pdf under the section called “The validationMode Parameter”
Functions
Specs
req(Atom, Keyword.t) :: Record | no_return
Makes a request to the Authorize.Net API. Adds authentication and parses response. On success will return an xmlElement record. See: http://www.erlang.org/doc/apps/xmerl/xmerl_ug.html
@raises AuthorizeNet.OperationError, AuthorizeNet.ConnectionError, AuthorizeNet.RequestError
Specs
validation_mode :: String.t
See: http://www.authorize.net/support/CIM_XML_guide.pdf under the section called “The validationMode Parameter”.