@akinon/pz-tabby-extension

1.71.0 • Public • Published

Tabby Payment Gateway Extension

Installation

There are two ways to install the Tabby Payment Gateway extension:

1. Install the npm package using Yarn

For the latest version, you can install the package using Yarn:

yarn add @akinon/pz-tabby-extension

2. Preferred installation method

You can also use the following command to install the extension with the latest plugins:

npx @akinon/projectzero@latest --plugins

Usage

Once the extension is installed, you can easily integrate the Tabby payment gateway into your application. Here's an example of how to use it.

  1. Navigate to the src/app/[commerce]/[locale]/[currency]/payment-gateway/tabby/ directory.

  2. Create a file named page.tsx and include the following code:

import { TabbyPaymentGateway } from '@akinon/pz-tabby-extension';

const TabbyGateway = async ({
  searchParams: { sessionId },
  params: { currency, locale }
}: {
  searchParams: Record<string, string>;
  params: { currency: string; locale: string };
}) => {
  return (
    <TabbyPaymentGateway
      sessionId={sessionId}
      currency={currency}
      locale={locale}
      extensionUrl={process.env.TABBY_EXTENSION_URL}
      hashKey={process.env.TABBY_HASH_KEY}
    />
  );
};

export default TabbyGateway;

Configuration

Add these variables to your .env file

TABBY_EXTENSION_URL=<your_extension_url>
TABBY_HASH_KEY=<your_hash_key>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.71.01latest
1.72.0-rc.130rc

Version History

VersionDownloads (Last 7 Days)Published
1.72.0-rc.130
1.71.0-rc.120
1.71.0-rc.110
1.71.0-rc.100
1.71.0-rc.90
1.71.0-rc.81
1.71.01
1.71.0-rc.70
1.71.0-rc.61
1.71.0-rc.50
1.71.0-rc.41
1.71.0-rc.30
1.56.0-rc.91
1.71.0-rc.21
1.71.0-rc.10
1.71.0-rc.00
1.69.0-rc.90
1.70.00
1.69.0-rc.80
1.69.0-rc.70
1.69.0-rc.60
1.69.00
1.69.0-rc.50
1.69.0-rc.40
1.69.0-rc.30
1.69.0-rc.20
1.69.0-rc.11
1.69.0-rc.00
1.68.00
1.67.01
1.66.00
1.65.00
1.64.00
1.63.01
1.62.00
1.62.0-rc.240
1.61.00
1.61.0-rc.230
1.61.0-rc.220
1.60.01
1.60.0-rc.210
1.60.0-rc.190
1.60.0-rc.180
1.60.0-rc.170
1.60.0-rc.160
1.60.0-rc.150
1.60.0-rc.140
1.60.0-rc.130
1.60.0-rc.120
1.60.0-rc.110
1.60.0-rc.100
1.60.0-rc.90
1.60.0-rc.80
1.60.0-rc.712
1.60.0-rc.60
1.59.0-rc.50
1.59.00
1.59.0-rc.40
1.59.0-rc.30
1.59.0-rc.20
1.59.0-rc.10
1.59.0-rc.00
1.58.0-rc.90
1.58.00
1.56.0-rc.80
1.56.0-rc.70
1.56.0-rc.60
1.55.00

Package Sidebar

Install

npm i @akinon/pz-tabby-extension

Weekly Downloads

17

Version

1.71.0

License

MIT

Unpacked Size

9.84 kB

Total Files

9

Last publish

Collaborators

  • akinon