1.1.4 โ€ข Published 1 year ago

voguepay-node v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Voguepay Node SDK

Node js SDK for Voguepay.

Installation

Simply run this command

npm install voguepay-node

Generate payment link ๐Ÿ”—

    import VoguePay from "voguepay-node"

    (async function(){
            await Voguepay.init({
                v_merchant_id: '9814-0123983',
                total: price,
                notify_url:'https://example.com/notification.php',
                cur: 'NGN',
                merchant_ref: 'ref123',
                memo:'Payment for Apple M1',
                developer_code: '5a61be72ab323',
                customer: {
                name: 'Customer name',
                address: 'Customer address',
                city: 'Customer city',
                state: 'Customer state',
                zipcode: 'Customer zip/post code',
                email: 'owoadeanuoluwapo2@gmail.com',
                phone: 'Customer phone'
                }
            })
    })();

Get a Transaction ๐Ÿ“„

    import VoguePay from "voguepay-node"

    (async function(){
            await Voguepay.getTransaction( transaction_id, merchant_id )
    })();

โš ๏ธ This SDK doesn't support typescript yet. However jsdocs are in place to guide you on the contents of the payload.

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

Created with ๐Ÿงก by Owoade

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago