Erlang Authorize.net API
Erlang
Switch branches/tags
Permalink
Failed to load latest commit information.
config Initial version Feb 19, 2013
include changed to apache license Feb 22, 2013
src version bump for license change Feb 22, 2013
.gitignore Initial version Feb 19, 2013
LICENSE.md changed to apache license Feb 22, 2013
README.md added description to readme Feb 19, 2013
rebar Initial version Feb 19, 2013
rebar.config Initial version Feb 19, 2013

README.md

README

Author: Jordan Wilberding jwilberding@gmail.com

Website: http://blog.erlware.org

eauthnet is a an Erlang API for processing payments through Authorize.net (http://authorize.net)

Quick Start

  • Dependencies
$ ./rebar get-deps
  • Compile
$ ./rebar compile
  • Test
$ erl +K true +A30 -pa ebin -env ERL_LIBS lib:deps -config config/sys.config
Erlang R15B03 (erts-5.9.3.1) [source] [smp:4:4] [async-threads:30] [hipe] [kernel-poll:true]

Eshell V5.9.3.1  (abort with ^G)
1> hackney:start().
ok
2> eauthnet:charge(<<"1234123412341234">>, <<"1234">>, <<"123">>, <<"1.00">>).
{authnet_result,<<"3">>,<<"2">>,<<"13">>,
                <<"The merchant login ID or password is invalid or the account is inactive.">>,
                <<>>,<<"P">>,<<"0">>,<<>>,<<>>,<<"1.00">>,<<>>,
                <<"auth_capture">>,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,
                <<>>,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,...}

Examples

TODO