Transactify
Transactify is a Node.js application designed to facilitate the configuration and management of multiple payment gateways. It offers a command-line interface for setting up, configuring, and cataloguing products with ease.
Table of Contents
Installation
-
Clone the repository:
git clone https://github.com/user/transactify.git
cd transactify
-
Install the dependencies:
npm install
-
Ensure you have Node.js installed on your machine.
Usage
Transactify provides a CLI to manage your payment gateways and catalogue products. You can initialize the configuration, configure gateways, and add products to your catalogue using the provided commands.
Commands
Initialize
Initialize the configuration in a specified directory (or current directory if no location is provided).
./transactify init [location]
Configure
Configure your payment gateways.
./transactify config
Catalogue
Add a product to your catalogue.
./transactify catalogue
Example
./transactify init
./transactify config
./transactify catalogue
Configuration
The configuration involves setting up payment gateways and specifying URLs for transaction notifications.
Setup Gateways
During setup, you will be prompted to select and configure gateways by providing public keys, secret keys, and test keys.
Edit Gateway Keys
You can edit the keys for existing gateways.
Remove Gateway
Remove an existing gateway from the configuration.
Edit URLs
Edit the return, cancel, and notify URLs for transactions.
Configuration details are stored in ~/.config/transactify/config.json
.
Development
To run the project in development mode:
npm start
License
This project is licensed under the MIT License. See the LICENSE file for details.