Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 878 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 878 Bytes

node-idin Build Status Coverage Status

Node.js Library for iDIN

Prerequisites

  1. You have to provide via environment the following variables:
  • ROUTING_ENDPOINT - routing service url
  • MERCHANT_ID - assigned merchant ID
  • MERCHANT_SUBID - can be 0
  • MERCHANT_RETURN_URL - callback url
  • PRIVATE_KEY - private key string without whitespaces
  • PUBLIC_KEY_FINGERPRINT - sha1 hex encoded of the uploaded public key
  • EXPIRATION_PERIOD - e.g. PT5M
  • REQUESTED_SERVICE - e.g. 21968
  • DEFAULT_LANGUAGE - e.g. en
  • LOA - can be loa2 or loa3
  • ID_PREFIX - e.g. ABC