Skip to content

SimplePay JS SDKSimplePay integration for Node.js

Unofficial, open-source TypeScript SDK for SimplePay, the Hungarian payment gateway. SimplePay's official samples are PHP; this package is for JavaScript developers.

SimplePay JS SDK

Unofficial SDK

simplepay-js-sdk is a community project. It is not a product of SimplePay Zrt. (OTP Mobil), is not affiliated with it, and is not endorsed by it. SimplePay's official documentation: docs.simplepay.hu.

bash
npm install simplepay-js-sdk
ts
import { startPayment } from 'simplepay-js-sdk'

const { paymentUrl } = await startPayment({
  orderRef: 'order-12',
  total: 1212,
  customerEmail: '[email protected]',
})
// redirect the customer to paymentUrl

Unofficial community SDK. Not affiliated with or endorsed by SimplePay Zrt. MIT License.