🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

paymentiq-cashier-bootstrapper

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paymentiq-cashier-bootstrapper

Integration bootstrapper for the PaymentIQ Cashier V2"

latest
Source
npmnpm
Version
1.4.4
Version published
Weekly downloads
9.9K
-13.41%
Maintainers
1
Weekly downloads
 
Created
Source

PaymentIQ-Cashier-V2-Integration

This is a bootstrapper for the PaymentIQ Cashier.

Setup

Basic setup

import _PaymentIQCashier from 'paymentiq-cashier-bootstrapper'

new _PaymentIQCashier('#cashier',
  {
    merchantId: '1337',
    userId: 'Han Solo',
    sessionId: '66',
    environment: 'test', // if not set, defaults to production
    method: 'deposit' // if not set, defaults to deposit
  },
  (api) => {
     console.log('Cashier intialized and ready to take down the empire')

     // register a few callbacks
     api.on({
      cashierInitLoad: () => console.log('The cashier successfully loaded and is ready'),
      success: data => console.log('Successful transaction completed', data)
     })
  }
)

Typescript setup

import _PaymentIQCashier, { IPiqCashierConfig, IPiqCashierApiMethods } from 'paymentiq-cashier-bootstrapper'

const config: IPiqCashierConfig = {
  merchantId: '1337',
  userId: 'Han Solo',
  sessionId: '66',
  environment: 'test',
  method: 'deposit'
}

new _PaymentIQCashier('#cashier',
  config,
  (api: IPiqCashierApiMethods) => {
     
     console.log('Cashier intialized and ready to take down the empire')

     // register a few callbacks
     api.on({
      cashierInitLoad: () => console.log('The cashier successfully loaded and is ready'),
      success: data => console.log('Successful transaction completed', data)
     })

  }
)

Reset cashier

You can reset the cashier, effectively removing the iframe showing the application.

window._PaymentIQCashierReset()

You can read more in depths setup guides and FAQ's on our document portal.

Keywords

Javascript

FAQs

Package last updated on 21 Oct 2025

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