Skip to content

transactionlink/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Transactionlink integration examples

See https://docs.transactionlink.io/ for full info.

This repository contains minimal examples of how to integrate Transactionlink widget in different environments. It consists of two parts: a server-side part and a frontend (client) part. The role of the server-side is to hide Transactionlink API credentials and call Transactionlink's public API. The frontend part is responsible for rendering the widget in the browser, either in hosted or embedded mode.

server

Before running, make sure to put your credentials in variables, according to the backend technology used, i.e. for Node.js:

const WIDGET_API_KEY = '[your widget API key]'; //  put your credentials
const WIDGET_SECRET_KEY = '[your widget secret key]'; // put your credentials
const WORKFLOW_DEFINITION_ID = '[your workflow definition id]'; // put your workflow definition ID

Note: Never expose Transactionlink WIDGET_SECRET_KEY in frontend code.

Example implementations:

client

Web client example implementations:

mobile

Mobile app example implementations that demonstrate secure integration by communicating with a backend server:

IMPORTANT: Mobile apps require a running backend server (see server/ directory above). The backend handles API credentials securely - they are never exposed in mobile app code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors