Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-cybersource-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-cybersource-fingerprint

test

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
increased by6.19%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-cybersource-fingerprint

Plugin to use with the cybersource fingerprint

Installation

npm install react-native-cybersource-fingerprint

Usage

You will need to get from your vendor an orgId and the serverUrl. And create a unique sessionId on each app startup:

import { config, startProfiling } from 'react-native-cybersource-fingerprint';

// ...

const orgId = 'as9da77';
const serverUrl = 'h.online-metrix.net';
const sessionId = '0436aa32-ee74-11ed-a05b-0242ac120003';

// ...

const configResponse = await config(orgId, serverUrl);
const profilingResponse = await startProfiling(`MERCHANT_ID${sessionId}`);

The profiling response type is:

{
  success: boolean;
  statusCode: number;
  sessionId: string;
  statusDescription: string;
}

Based on the success property you can take actions about the profiling process.

License

MIT


Made with create-react-native-library

Keywords

FAQs

Package last updated on 09 May 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc