Connect the way you already work

A module for WHMCS, a plugin for WooCommerce, a self-hosted app for Shopify, SDKs for TypeScript, PHP and Python, popup checkout and an MCP server. Whichever you use, customers pay on the same hosted checkout, and nothing is marked paid until Paymentsnp has verified the payment.

  • Every integration works in test mode
  • Packages on npm, Packagist and PyPI
  • Plugins from your dashboard
DownloadsSigned in
  • Integration guide (PDF)
  • WHMCS payment gateway v3.0.0
  • WooCommerce plugin (WordPress) v1.0.0
  • Shopify app (self-hosted) v1.0.0
  • TypeScript / JavaScript SDK v1.0.0
  • MCP server for AI assistants v0.1.0

For verified owners, administrators and developers

Everything that connects. With the version it ships at.

Nine ways in, all ending at the same hosted checkout and the same verified payment. Each row shows the package name, its current version and where it comes from.

Requirements. Check before you download.

Each integration lists the same thing in its own guide. A connected, ready and enabled gateway in the same environment is needed for all of them.

Integration requirements
IntegrationVersionRuns onAlso needs
TypeScript SDK and CLI1.0.0Node 18+, Bun, Deno and edge runtimesZero dependencies; ESM, CommonJS and types
PHP SDK1.0.0PHP 7.4+ext-curl and ext-json; works without Composer
Python SDK1.0.0Python 3.9+Standard library only
MCP server0.1.0Node 20+An MCP client and an API key
WHMCS module3.0.0WHMCS 8.x on PHP 7.4 to 8.3A public HTTPS System URL and a running cron
WooCommerce plugin1.0.0WordPress 6.0+, WooCommerce 7.0+, PHP 7.4+Store currency set to NPR
Shopify app1.0.0Node 20, self-hostedA public HTTPS URL and a store in NPR
Popup checkoutcheckout.jsA script tag on your pageYour domain on the approved embed domains, up to 20 per environment

Where to get them. Registries for code, the dashboard for plugins.

SDKs and the MCP server

The TypeScript SDK and MCP server are on npm, the PHP SDK on Packagist and the Python SDK on PyPI, under the names shown here.

Plugins, modules and the integration guide

The WHMCS module, WooCommerce plugin, Shopify app, SDK archives and the integration guide PDF are downloaded from Dashboard > Downloads. Downloads are open to verified owner, administrator and developer users of a workspace. There are no public download links.

Log in to download

Install
npm install @paymentsnp/sdk
composer require paymentsnp/paymentsnp-php
pip install paymentsnp
# Started by your MCP client; nothing to install
npx -y @paymentsnp/mcp
<script src="https://paymentsnp.com/checkout.js"></script>
<script>
  // checkoutUrl comes from a checkout session your server created
  window.Paymentnp.open({ checkoutUrl, onSuccess, onCancel, onClose });
</script>

How every integration confirms a payment. Never from the browser.

A return page or a webhook body is a hint, not proof. Each integration asks the API for the verified payment and checks the order, amount, currency and environment before it marks anything paid.

  1. Your serverCreates a checkout for the order
  2. CustomerPays on hosted checkout
  3. ProvidereSewa, Khalti or Fonepay
  4. PaymentsnpVerifies and sends a signed webhook
  5. Your systemFetches the payment, then marks it paid
If a webhook is missed, the return check and a scheduled re-check ask the same question.

Questions about integrations.

Is there a plugin for my platform?

Paymentsnp ships a WHMCS module, a WooCommerce plugin and a self-hosted Shopify app. Anything else connects through the REST API, an SDK or popup checkout.

Why are plugins not on a public download page?

They are downloaded from Dashboard > Downloads by verified owner, administrator and developer users of a workspace. The SDKs and MCP server are on public package registries.

Does the Shopify app put eSewa inside Shopify checkout?

No. Shopify only admits approved Payments Partners into its checkout. The app adds a manual payment method and a signed pay link, and marks the order paid after verification.

Which API key scopes do the plugins need?

The WHMCS module, WooCommerce plugin and Shopify app each need checkout:create, checkout:read and payments:read, in the same environment as the plugin.