npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@payoneer/checkout-web

v1.25.0

Published

Checkout Web

Readme

PAYONEER CHECKOUT WEB

Payoneer Checkout Web is a tool which makes online payments easier and better for businesses. Our Checkout Web is here to help you create a smooth and fast payment process on your website. The SDK is designed to help you get more sales by making the integration simpler and providing payment flows that are more trustworthy and professional-looking for your customers.

What it offers

Enhance your website's shopping experience effortlessly with our checkout library. Just plug and play to integrate it into your site for a secure, user-friendly and customizable checkout process. It is designed to be light, to ensure the performance of your website is maintained. You can add it to your site using npm or a UMD script, making it flexible for different types of websites. You can use it with the embedded integration (for more information, see embedded integration payment page).

Key features

  • Easy to Use Payment Components: You can add payment options exactly where you need them on your site. Our SDK automatically takes care of technical details, making integration easy.
  • Manages Payment Process: Our SDK looks after the entire payment process, from start to finish, ensuring everything works smoothly.
  • Customizable: You can change how the SDK looks and works to match your website's design and your specific needs. This includes custom functions, styles, and more.

Installation

npm install -S @payoneer/checkout-web

Basic Example

import { CheckoutWeb } from "@payoneer/checkout-web";

const configs = {
    env: "live", // Use "test" | "live"
    longId: "{LONG ID}" // an identifier for a generated payment session
    // Add other optional configuration options as needed
};

const checkout = await CheckoutWeb(configs);

const container = document.getElementById("cards-container"); // ensure you have an element with id 'cards-container' on the page

const cards = checkout.dropIn("cards").mount(container); // container is a reference to an HTML element

Documentation

Documentation and examples can be found at New Web SDK Integrate Embedded Payment Components

Some of the main sections in the documentation are

License

@payoneer/checkout-web is licensed under Payoneer

Contributing

Requirements

  • Node.js version: >=20
  • Package manager: npm

Environment Variables

For API code generation, you need to set up environment variables. Create a .env file in the project root with the following variables:

# Swagger API credentials
SWAGGER_USER=your_username # Necessary for API code generation
SWAGGER_PASS=your_password # Necessary for API code generation
TESTMERCHANT_PAYMENT_TOKEN=your_payment_token # Necessary for Playwright tests
TESTMERCHANT_CODE=your_code # Necessary for Playwright tests
BASE_URL=base_url # Necessary for Playwright tests

Refer to the example file for more details.

Running the app

  npm install

Start the app with

  npm run dev # It will run the application in development mode and open your browser on `localhost:8700`

API Code Generation

To generate TypeScript API types from the latest Swagger schema, run:

  npm run codegen

This will:

  1. Download the latest schema from the authenticated Swagger endpoint
  2. Generate TypeScript API types
  3. Save the generated files to ./src/generated/

Note: Make sure you have set up the environment variables in your .env file before running the codegen script.

Testing the app

Tools used for writing tests are:

  • Vitest - For running the tests and assertions
  • Playwright - For running the tests and assertions

You can run unit tests with:

  npm run test

You can run playwright tests with:

  npm run playwright

Or with UI:

  npm run playwright:ui