# Prantor Pay - Quick Start Guide

## 🎯 Get Started in 5 Minutes

### Step 1: Install the Plugin ✅
- Download the plugin files
- Upload to your WordPress `/wp-content/plugins/` directory
- Activate from **Plugins** menu

### Step 2: Get Your API Key 🔑
1. Login to [Prantor Pay Dashboard](https://prantorpay.com/dashboard)
2. Go to **Settings** → **API Keys**
3. Copy your **Live API Key**

### Step 3: Configure the Gateway ⚙️
1. In WordPress admin, go to **WooCommerce** → **Settings**
2. Click **Payments** tab
3. Click on **Prantor Pay**
4. Check **Enable this payment method**
5. Paste your API Key in the **API Key** field
6. Click **Save Changes**

### Step 4: Test the Checkout 🧪
1. Add a product to your cart
2. Go to checkout
3. Select **Prantor Pay** as payment method
4. You should see the modern payment interface
5. Complete a test transaction

### Step 5: You're Done! 🎉
Your customers can now pay using:
- 📱 Bkash
- 📱 Nagad
- 🚀 Rocket
- 💳 Card Payment

---

## 🎨 Design Features

### Frontend Checkout
```
┌─────────────────────────────┐
│  🏦 Fast & Secure Payment   │
│     Multiple methods available │
├─────────────────────────────┤
│ Choose Your Payment Method: │
│  📱      💳      🚀      💰   │
│ Bkash   Nagad   Rocket   Card │
├─────────────────────────────┤
│ 🔒 SSL Secured              │
│ ✓ Verified | ⚡ Instant    │
│ 🛡️ Secure                   │
└─────────────────────────────┘
```

### Admin Settings
- Clean form layout with descriptions
- Organized configuration sections
- Helpful tooltips
- Professional styling

---

## 📊 Key Settings Explained

| Setting | Purpose | Default |
|---------|---------|---------|
| **Enable/Disable** | Turn payment method on/off | OFF |
| **Title** | What customers see | Prantor Pay - Bkash, Nagad, Rocket |
| **Description** | Payment info at checkout | Auto-complete message |
| **API Key** | Authentication token | (Your key) |
| **USD Rate** | Currency conversion | 110 |
| **Digital Products** | Auto-complete digital orders | OFF |
| **Payment Gateway URL** | Gateway endpoint | https://securepay.prantorpay.com/ |

---

## 💡 Pro Tips

1. **Update Exchange Rate:** Keep USD to BDT rate current for accurate pricing
2. **Enable Digital Products:** If you sell digital goods, enable auto-completion
3. **Test Mode:** Test thoroughly before going live
4. **Monitor Orders:** Check WooCommerce orders for payment status
5. **Security:** Always use SSL certificate on production

---

## 🔗 Useful Links

- **Plugin Repository:** [GitHub Link]
- **Prantor Pay Website:** https://prantorpay.com/
- **Support:** support@prantorpay.com
- **Documentation:** Full docs in CHANGELOG.md

---

## ❗ Common Issues

**Not seeing payment method at checkout?**
- Make sure plugin is activated
- Check if payment gateway is enabled in settings
- Verify WooCommerce is installed

**API Key not working?**
- Double-check you copied the entire key
- Make sure it's the LIVE key, not TEST
- Regenerate key if needed in dashboard

**Orders not updating?**
- Verify webhook URL is correct
- Check WordPress REST API is enabled
- Review server error logs

---

## 📞 Need Help?

Contact Prantor Pay support:
- 📧 Email: support@prantorpay.com
- 🌐 Chat: https://prantorpay.com/chat
- 📱 Phone: Available in your dashboard

---

**Happy Selling! 🚀**
