Skip to content

Commit 4464915

Browse files
committed
unify format and wording of README files
1 parent c2004cf commit 4464915

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,31 @@
1-
# Node.js Sample Code for Authorize.Net SDK
1+
# Node.js Sample Code for the Authorize.Net SDK
2+
<!-- [![Travis CI Status](https://travis-ci.org/AuthorizeNet/sample-code-node.svg?branch=master)](https://travis-ci.org/AuthorizeNet/sample-code-node) -->
23

3-
This repository contains working code samples which demonstrate Node.js integration with the Authorize.Net Node.js SDK (https://github.com/AuthorizeNet/sdk-node).
4-
The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference
4+
This repository contains working code samples which demonstrate Node.js integration with the [Authorize.Net Node.js SDK](https://github.com/AuthorizeNet/sdk-node).
5+
6+
The samples are organized into categories and common usage examples, just like our [API Reference Guide](http://developer.authorize.net/api/reference). Our API Reference Guide is an interactive reference for the Authorize.Net API. It explains the request and response parameters for each API method and has embedded code windows to allow you to send actual requests right within the API Reference Guide.
57

68

79
## Using the Sample Code
810

9-
The samples are all completely independent and self-contained so you can look at them to get a gist of how the method works, you can use the snippets to try in your own sample project, or you can run each sample from the command line.
11+
The samples are all completely independent and self-contained. You can analyze them to get an understanding of how a particular method works, or you can use the snippets as a starting point for your own project.
12+
13+
You can also run each sample directly from the command line.
1014

11-
## Running the Samples
12-
### Clone this repository.
15+
## Running the Samples From the Command Line
16+
* Clone this repository:
17+
```
18+
$ git clone https://github.com/AuthorizeNet/sample-code-node.git
1319
```
14-
$ git clone https://github.com/AuthorizeNet/sample-code-nodejs.git
15-
```
16-
### Install the SDK
20+
* Install the [Authorize.Net Node.js SDK](https://www.github.com/AuthorizeNet/sdk-node).
1721
```
1822
$ npm install authorizenet
1923
```
20-
21-
### Run Sample Code
24+
* Run the individual samples by name. For example:
25+
```
26+
$ node PaymentTransactions\[CodeSampleName]
27+
```
28+
e.g.
2229
```
2330
$ node PaymentTransactions\authorize-credit-card.js
2431
```

0 commit comments

Comments
 (0)