- Deployed link
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
/
- Home page/checkout
- Checkout page/success
- Success page/cancel
- Cancel page
/api/payment-methods
- Payment Methods API/api/payment
- Payment API/api/callback
- Callback API
Create a .env.local
file in the root directory and add the following environment variables:
# bKash
BKASH_BASE_URL=''
BKASH_CHECKOUT_URL_USER_NAME=''
BKASH_CHECKOUT_URL_PASSWORD=''
BKASH_CHECKOUT_URL_APP_KEY=''
BKASH_CHECKOUT_URL_APP_SECRET=''
# Database
MONGO_URI=""
Click to expand project screenshots
Stage | Screenshot |
---|---|
Home Page | ![]() |
Checkout - Fetching Payment Methods | ![]() |
Checkout - No Payment Methods | ![]() |
Stage | Screenshot |
---|---|
Add Payment Method | ![]() |
bKash Wallet Input | ![]() |
Save Wallet UI | ![]() |
Stage | Screenshot |
---|---|
OTP Input | ![]() |
Wallet Save Success | ![]() |
Checkout with Payment Method | ![]() |
Stage | Screenshot |
---|---|
Confirm Order PIN | ![]() |
Payment Failed | ![]() |
Transaction Cancelled | ![]() |
Payment Success | ![]() |
- Click on the "Click to expand project screenshots" dropdown to view all screenshots
- Screenshots are organized by user flow and transaction stages
- Each screenshot is labeled for easy reference
- Add refund API
- Add payment query API