Socket
Book a DemoInstallSign in
Socket

orchestrator-pp-payment-method

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orchestrator-pp-payment-method

`orchestrator-pp-payment-method` is a TypeScript library that provides a factory function for generating an array of `PaymentMethod` objects. It contains logic of payment methods.

latest
Source
npmnpm
Version
5.1.0
Version published
Maintainers
1
Created
Source

orchestrator-pp-payment-method

orchestrator-pp-payment-method is a TypeScript library that provides a factory function for generating an array of PaymentMethod objects. It contains logic of payment methods.

These methods are created based on project settings and initialization data, both of which conform to interfaces from orchestrator-pp-core.

📦 Installation

npm install orchestrator-pp-payment-method

Requires Node.js v24+

⚡️ Usage

import paymentMethodFactory from 'orchestrator-pp-payment-method';

const methods = await paymentMethodFactory(initData, projectSettings);
  • initData: Initialization data extracted from a JWT token
  • projectSettings: Configuration received from the API
  • Returns: An array of PaymentMethod objects ready to be used in the payment page UI

All related interfaces (InitData, ProjectSettings, PaymentMethod) are defined in the orchestrator-pp-core package.

FAQs

Package last updated on 06 Aug 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