This repository was archived by the owner on Jun 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
30 lines (24 loc) · 1.3 KB
/
README
File metadata and controls
30 lines (24 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This is a Common Lisp library providing access to the Moneris payment
processing (http://www.moneris.com/) HTTPS POST API.
The basic use pattern is to create a merchant-token with your store's
information (API token, store ID, and the access URI you received from
Moneris), then call the 'process' function with the merchant-token and
a transaction (you can create transactions with the 'purchase,'
'correction,' and 'refund' functions provided - see their
documentation strings for details). 'process' returns multiple values:
txn-id - transaction ID
code - numeric response code
code-description - response code description
message - message returned in response
response-xml - parsed XML of response
response-string - raw XML response string
response-xml contains all the information you need to generate a
client receipt/invoice; consult the Moneris API documentation
(https://www.eselectplus.ca/en/downloadable-content) to learn about
its format and fields.
The file test/moneris-test.lisp provides examples using the Moneris
API test server.
cl-moneris was originally authored by Wade Humeniuk. It was converted
and released by Vladimir Sedach <vsedach@gmail.com>
cl-moneris is available under the ISC (BSD) license, except for the
unit tests, which are released into the public domain.