@haisyamdev/botwastore
v1.0.2
Published
Premium WhatsApp Bot Store Engine with Automated Payment Integration
Readme
@haisyamdev/botwastore 🚀
Premium WhatsApp Bot Store Engine with automated payment integration and secure obfuscated core.
✨ Features
- 🛒 Automated Store: Handle product listings, stock management, and orders automatically.
- 💳 Payment Integration: Native support for Pakasir QRIS automated payment verification.
- 🗄️ Cloud Database: Integrated with Turso (LibSQL) for reliable and fast data storage.
- 🔒 Core Protection: The engine logic is obfuscated to protect your intellectual property.
- 📊 Transaction Reports: Generate Excel reports for your sales easily.
- ⚡ Built for Speed: Lightweight and fast response time using Baileys.
🚀 Installation
Install the engine via NPM:
npm install @haisyamdev/botwastore🛠️ Configuration
Create a .env file in your root project and fill in the following variables:
# --- BOT LICENSE ---
LICENSE_API_KEY=your_license_key
# --- ADMIN ACCESS ---
# WhatsApp number that will have access to admin commands (e.g., .tambahstok, .editproduk)
OWNER_NUMBER=628123456789
# --- DATABASE (TURSO) ---
TURSO_DATABASE_URL=your_turso_url
TURSO_AUTH_TOKEN=your_turso_token
# --- PAYMENT GATEWAY (PAKASIR) ---
PAKASIR_SLUG=your_pakasir_slug
PAKASIR_API_KEY=your_pakasir_api_key📖 Basic Usage
Create an app.js file and add the following code:
import KhairizmiDevBotWaStore from "@haisyamdev/botwastore";
import "dotenv/config";
const bot = new KhairizmiDevBotWaStore({
whatsapp: true,
telegram: false // Feature coming soon
});
// Start the engine
bot.start();Run your bot:
node app.js👨💻 Author
HaisyamDev
- Website: haisyam.dev
📄 License
MIT © HaisyamDev
