Skip to content
A common lisp library that provides an interface for charging creditcards. Supports as a processor.
Common Lisp
Latest commit 2853c34 Oct 18, 2013 @ryepup ryepup add missing dependency
Failed to load latest commit information.
examples Added a basic README and the smallest cl-authorize-net example May 13, 2011
src include last4, and card type in the sale response. Jul 19, 2012
.gitignore added description field to auth-slots Apr 9, 2009
cl-authorize-net.asd add missing dependency Oct 18, 2013
cl-creditcard.asd removed code that loaded asdf-system-connections even though it is no… Jul 7, 2011


Table of Contents


CL-CreditCard is a common lisp library providing a common interface to charge creditcards.


CL-Authorize-net is a common lisp library for payment processing via It implements the CL-Creditcard interface.

CL-Authorize-net is production ready and is in use.


(require :cl-authorize-net)
(defvar *auth-net* (make-instance 'cl-authorize-net:authorize-processor 
				  :login "YOUR LOGIN" 
				  :trankey "YOUR TRANKEY" 
				  :test-mode :full))
(cl-authorize-net:sale *auth-data*
		       (make-instance 'cl-authorize-net:authorize-data
				      :account "4222222222222" :expdate "06/11"
				      :first-name "Test")


  • authorize-processor
  • authorize-data - holds information relevant to making credit-card charges
  • echeck-data - holds information relevant to making ACH / echeck charges


All operations are based around a authorize-processor instance.

  • (authorize processor data amount)
Do a pre-authorization without capture returning a transaction identifier that can later be used with preauth-capture.

Not valid with echeck-data.

  • (preauth-capture processor transaction-id &key amount)
Capture a charge that was previously authorized with authorize. Some processors allow capturing a different amount than was originally authorized.

Not valid with echeck-data.

  • (sale processor data amount)
Do a one time charge on a credit card for an amount using the given processor. Other provided keys are up to the processor to interpret or ignore.

Returns the transaction's unique identifier if successful.

  • (void processor transaction-id)
Void a previous transaction.


CL-Monetra is a common lisp library for payment processing via CL-Monetra. It implements the CL-Creditcard interface

CAUTION: This processor was in development and then abandoned. See code in the monetra-dev branch if you want to use monetra

Something went wrong with that request. Please try again.