Socket
Book a DemoInstallSign in
Socket

eupago-integration

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eupago-integration

Create payment references using the API of EuPago.

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

EuPago Integration npm version npm package

Create payment references using the API of EuPago.

You should have an active account on EuPago service. https://eupago.pt

You can also find the documentation of eupago api here: https://suporte.eupago.pt/pt/article/261-rest-api

Install

npm install --save eupago-integration

Required configuration

  • EUPAGO_API_KEY=xxxx-xxxx-xxxx-xxxx-xxxx (required)

Optional configuration

  • EUPAGO_REST_API_URL=https://clientes.eupago.pt/clientes/rest_api (default = https://clientes.eupago.pt/clientes/rest_api)
  • EUPAGO_DESCRIPTION_MBWAY="Your purchase at Store" (default = 'My Sample Store')
  • EUPAGO_ALLOW_DUPLICATED_PAYMENTS=0 (default = 0)

Usage

const eupago = require('eupago-integration')();
eupago.createPaymentReference(totalAmount, yourReference, method, mobilePhoneNumber).then((response) => {
    console.log(response)
});

License

MIT

Keywords

eupago

FAQs

Package last updated on 24 Nov 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.