Skip to content

perezvonish/uniteller-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnitellerHelper

Simple package for helping integrate Uniteller in your application.

Env:

  • UNITELLER_UPID: string
  • UNITELLER_LOGIN: string
  • UNITELLER_PASSWORD: string
  • UNITELLER_URL: string

At initialization must be these parameters:

  • orderId: string | null (can be empty string, uniteller will generate it)
  • upid: string
  • login: string
  • password: string
  • url: string
  • debug: boolean

Methods

  1. createPaymentLink
  2. checkPaymentStatus
createPaymentLink - create the payment link for your store. You have to give method these parameters:
  • amount: number

checkPaymentStatus - check the payment's status code. You have to give method these parameters:

  1. orderId: string

Stay safe! 2022