New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

postfinance-simple

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

postfinance-simple

Simple integration of Postfinance PSP into node and javascript

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

#Come back later, this is not ready yet

postfinance-simple

Simple integration of Postfinance PSP into node and javascript

##Installation

npm i --save postfinance-simple

##Usage

var Postfinance = require('postfinance-simple');
var server = new Postfinance({
    pspid: "myPSPID",
    sha_in: "myTerriblySecretSecret124!",
    isTest: true //set to false in production
});

var html = server.getFormHTML({
    PSPID: "myPSPID", //I can set the PSPID also here
    ORDERID: "123456789",
    AMOUNT: 1000,
    CURRENCY: "CHF",
    LANGUAGE: "en_US"
    //insert other non mandatory params here
}, 
//optionally I can specify id and name of the form 
{
    id: "checkoutForm",
    name: "checkout"
});

Keywords

postfinance

FAQs

Package last updated on 02 Apr 2015

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