Configuration

You need to start business module with the required security data.

When importing Business module, first thing you need to do is add the credentials to you as merchant, otherwise services will not work.

import Business from 'vita-business-node';

Business.config({
  "env": process.env["env"],
  "X_Login": process.env["X-Login"],
  "X_Trans_Key": process.env["X-Transa-Key"],
  "secret": process.env["Secret"],
});
Field
Description

env

Environment [qa, stage, prod]

X_Login

X-Login

X_Trans_Key

X-Trans-Key

secret

Secret

Última actualización