B2Bangla Education

B2Bangla Education Hub

Learn Skills. Build Career. Earn Online.

💻 IT Training

  • Computer Basics
  • WordPress
  • Website Management

💼 Digital Business

  • Affiliate Marketing
  • E-commerce
  • Online Income

📊 Trading

  • Forex Basics
  • Gold Strategy
  • Risk Management

⚙️ Backend Setup (Real Payment System)

// server.js (Node.js + Express + Stripe)
const express = require('express');
const stripe = require('stripe')('YOUR_STRIPE_SECRET_KEY');
const app = express();
app.use(express.json());

app.post('/create-checkout-session', async (req, res) => {
  const { plan } = req.body;

  const session = await stripe.checkout.sessions.create({
    payment_method_types: ['card'],
    line_items: [{
      price_data: {
        currency: 'usd',
        product_data: { name: plan },
        unit_amount: plan === 'premium' ? 1000 * 100 : 500 * 100,
      },
      quantity: 1,
    }],
    mode: 'payment',
    success_url: 'https://b2bangla.com/success',
    cancel_url: 'https://b2bangla.com/cancel',
  });

  res.json({ url: session.url });
});

app.listen(4242, () => console.log('Server running'));
  • Login / membership system
  • 💰 Paid course system (Stripe/bKash idea)
  • 📊 Student dashboard
  • 🎥 Video lesson section
Information Table

Education & Training Programs

No Course Name Description Duration Level
1 Forex Trading Basics Learn the fundamentals of Forex trading 7 Days Beginner
2 Gold Trading Strategy Professional GOLD trading strategy 5 Days Intermediate
3 Affiliate Marketing Earn online by promoting products 10 Days Beginner
4 Website SEO Training Improve Google ranking and traffic 8 Days Intermediate
5 Blogging & Content Writing Create SEO friendly blog content 6 Days Beginner