cartex
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Cartex

A suppport functions for Cartex E-Commerce framework

Setup Cartex configs:

interface CartexConfig

Payment Gateway

  • Phonepe PG

Required Parameters:

param required
merchantId true
saltKey true
redirectUrl true
callbackUrl false
isDev false
const gateway = new PhonepeGateway({
    merchantId,
    saltKey,
    redirectUrl,
    callbackUrl,
    isDev
  });

const resp = await gateway.initPayment(amount, transactionId, userId);
// Will get the response from Phonepe with required parameters

/cartex/

    Package Sidebar

    Install

    npm i cartex

    Homepage

    ziqx.cc

    Weekly Downloads

    0

    Version

    0.1.3

    License

    ISC

    Unpacked Size

    18 kB

    Total Files

    16

    Last publish

    Collaborators

    • fathah_cr