Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

voguepay-node

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

voguepay-node

Node js SDK for Voguepay.

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Voguepay Node SDK

Node js SDK for Voguepay.

Installation

Simply run this command

npm install voguepay-node
    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

Keywords

FAQs

Package last updated on 16 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc