0.2.4 • Published 3 years ago

@mia-burton/axerve-js v0.2.4

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

Axerve-js

A Node.js module for axerve api

Installation

npm install @mia-burton/axerve-js --save
yarn add @mia-burton/axerve-js

Usage

import { AxerveClient } from '@mia-burton/axerve-js'

const client = new AxerveClient(API_KEY, SHOP_LOGIN)

//Create order
client.createOrder(orderDetail)

//Submit payment
client.submitOrder(token, creditCard)

To override back-office user redirect url pass it to submitOrder

//Submit payment
client.submitOrder(token, creditCard, successUrl, errorUrl)

Enable sandbox env

On inizialization set sandbox parameter to true

Test

npm run test
0.2.4

3 years ago

0.2.3

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.2.2

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago