E CommerceUnit 511 min read
Electronic Payment Systems & Digital Transactions: Methods, Security & Workflows
Unit 5 of E Commerce explores how digital transactions work—from credit cards to digital wallets—covering security protocols (SSL, encryption), real-world workflows (eSewa, Khalti), fraud risks, and comparisons with traditional payments. Includes case studies, advantages/disadvantages, and exam-focused diagrams.
Core Concepts: What is an Electronic Payment System?
Electronic Payment Systems (EPS) enable secure, digital transactions between buyers and sellers without physical cash or checks. They rely on:
- Networks (internet, mobile, banking systems)
- Security protocols (encryption, tokens, biometrics)
- Intermediaries (banks, payment gateways like Khalti, eSewa, or PayPal).
How EPS Works: A Step-by-Step Trace
flowchart TD
A["Buyer Initiates Payment"] -->|"1"| B["Payment Gateway\n(e.g., Khalti API)"]
B -->|"2"| C["Bank/Payment Processor\n(e.g., NMB Bank)"]
C -->|"3"| D["Merchant’s Bank Account"]
D -->|"4"| E["Seller Receives Funds"]
C -->|"5"| F["Transaction Log\n(Blockchain/Database)"]
F -->|"6"| G["Confirmation to Buyer"]Real Example: When you order a Daraz product via Khalti, the payment flow is:
- You enter your Khalti PIN → Khalti’s server validates it.
- Khalti deducts funds from your bank account (e.g., NMB) and sends them to Daraz’s bank.
- Daraz’s system updates your order status to "Paid" and triggers delivery.
Types of Electronic Payment Systems
| Type | How It Works | Example in Nepal | Security Risk |
|---|---|---|---|
| Credit/Debit Cards | Bank-issued cards linked to accounts; transactions use CVV + OTP. | NMB, Global IME, Standard Chartered | Fraud, skimming, phishing. |
| Digital Wallets | Pre-loaded funds (e.g., Khalti, eSewa) stored on mobile apps. | eSewa, IME Pay | Hacking, wallet theft, PIN leaks. |
| Bank Transfers | Direct fund movement via NEPAY or internet banking. | NMB Online, SBI Anywhere | Account takeover, fake transfer links. |
| Mobile Banking | SMS/USSD-based payments (e.g., 9800 for Ncell). | Ncell Pay, NTC Pay | SIM swapping, OTP interception. |
| Cryptocurrency | Peer-to-peer transactions using blockchain (e.g., Bitcoin, NepalCoin). | Bitso, Binance | Volatility, regulatory bans. |
Key Components of EPS
1. Payment Gateways
- Definition: Middleware that processes transactions (e.g., PayPal, Khalti).
- How It Works:
- Merchant’s website redirects to the gateway (e.g., Daraz → Khalti).
- Gateway encrypts data (using SSL/TLS) and sends it to the bank.
- Bank approves/rejects → gateway sends confirmation to the merchant.
2. Security Protocols
| Protocol | Purpose | Example in Nepal |
|---|---|---|
| SSL/TLS | Encrypts data between browser and server (look for 🔒 HTTPS). | All e-commerce sites (Daraz, Sano). |
| 3D Secure | Adds OTP/SMS verification for card payments. | NMB, Global IME cards. |
| Tokenization | Replaces card details with a random token (e.g., Apple Pay). | Khalti, IME Pay. |
| Biometrics | Uses fingerprint/face ID for authentication. | Ncell Pay, Android Pay. |
3. Digital Signatures
- Definition: A cryptographic signature that proves a transaction is authentic (e.g., e-signatures for contracts).
- How It Works:
- Sender’s private key encrypts a hash of the document.
- Recipient uses the sender’s public key to verify.
- Advantages:
- Prevents repudiation (denying a transaction).
- Legally binding in Nepal (under Electronic Transactions Act, 2008).
- Disadvantages:
- Requires PKI (Public Key Infrastructure) setup (expensive for SMEs).
Risks in Electronic Payment Systems
| Risk | Description | Mitigation Strategy |
|---|---|---|
| Fraud | Unauthorized transactions (e.g., card cloning). | Use 3D Secure, tokenization. |
| Data Breach | Hackers steal customer data (e.g., Khalti hack in 2021). | PCI-DSS compliance, encryption. |
| Phishing | Fake emails/sites tricking users into revealing credentials. | Multi-factor authentication (MFA). |
| Chargeback Fraud | Buyer disputes a transaction after receiving goods. | Clear refund policies, evidence logs. |
| Regulatory Risks | Government bans (e.g., Nepal Rastra Bank’s crypto restrictions). | Stay updated with Nepal Rastra Bank guidelines. |
Real Example: eSewa Scam (2021)
- What Happened: Hackers exploited a weakness in eSewa’s API to transfer funds from users’ wallets to their accounts.
- How It Was Fixed: eSewa implemented two-factor authentication (2FA) and transaction limits.
Advantages of EPS Over Traditional Payments
| Advantage | Explanation |
|---|---|
| Convenience | Pay anywhere, anytime (e.g., Pathao rides via Khalti). |
| Speed | Instant transfers (vs. days for checks). |
| Lower Costs | No need for cash handling or physical infrastructure. |
| Security | Encryption and fraud detection reduce theft risks. |
| Audit Trail | Digital records for disputes (e.g., bank statements for NEPSE trades). |
| Global Reach | Enable cross-border payments (e.g., remittances via Western Union → Khalti). |
Disadvantages:
- Technical Barriers: Requires internet/smartphone access (challenging in rural Nepal).
- Fees: Transaction charges (e.g., 1.5% on Khalti payments).
- Privacy Concerns: Data shared with banks/payment processors.
Case Study: Online Credit Card Transaction
Scenario: You buy a $50 laptop from Sano using a Global IME debit card.
sequenceDiagram
participant User
participant SanoWebsite
participant KhaltiGateway
participant GlobalIMEBank
participant SanoBank
User->>SanoWebsite: Enters card details (PCI-DSS compliant)
SanoWebsite->>KhaltiGateway: Sends encrypted data (AES-256)
KhaltiGateway->>GlobalIMEBank: Requests authorization (3D Secure OTP)
GlobalIMEBank-->>KhaltiGateway: Approves $50 (PCI DSS compliant)
KhaltiGateway->>SanoWebsite: Returns "Success" (HMAC signature)
SanoWebsite->>User: Shows "Payment Approved"
KhaltiGateway->>GlobalIMEBank: Deducts $50 (real-time)
GlobalIMEBank->>SanoBank: Transfers funds (Nepal Rastra Bank clearing)Real Example: NEPSE Stock Trading
- Investors use digital wallets (e.g., Khalti) to buy/sell shares via Merchant Bank’s online platform.
- Security: Transactions are logged on blockchain (for transparency) and verified via OTP.
Emerging Trends in Nepal
UPI-like Systems (NEPAY)
- Nepal Rastra Bank’s NEPAY allows interoperable payments between banks (e.g., transfer from NMB to Standard Chartered).
- Example: Pay your NTC bill directly from your Global IME account.
Biometric Payments
- Ncell Pay now supports fingerprint authentication for low-value transactions (< Rs. 500).
Central Bank Digital Currency (CBDC)
- Nepal Rastra Bank is exploring a digital rupee to reduce cash dependency.
In the Real World
Khalti & eSewa
- Idea Used: Digital Wallets + Tokenization
- How: When you pay for a Pathao ride, Khalti generates a one-time token instead of sharing your card details. This reduces fraud risks.
Daraz & Sano
- Idea Used: Payment Gateways + SSL Encryption
- How: During checkout, Daraz redirects you to Khalti/eSewa, where your payment data is encrypted via TLS 1.3 before reaching the bank.
Ncell Pay for Traffic Fines
- Idea Used: Mobile Banking + USSD
- How: Instead of visiting a police station, you pay Rs. 1,500 traffic fine via Ncell Pay (9800), which directly transfers funds to the government’s account.
Nepal Investment Bank (NIBL) Loans
- Idea Used: Digital Signatures for Loan Agreements
- How: Customers e-sign loan documents using NIBL’s e-signature portal, which is legally valid under Nepal’s Electronic Transactions Act.
Exam Tip
Diagrams Are Key
- Always draw flowcharts for:
- Payment gateway workflows.
- SSL/TLS encryption steps.
- Credit card transaction processes.
- Example Question: "Illustrate the procedure for online credit card transaction." → Use a sequence diagram (like above).
- Always draw flowcharts for:
Compare EPS vs. Traditional Payments
- Memorize 3 advantages/disadvantages for each (e.g., EPS = faster, traditional = no internet needed).
Real-World Applications
- Link answers to Nepali examples:
- "Like Khalti, digital wallets use tokenization to secure transactions."
- "NEPSE uses blockchain for transparent stock trades."
- Link answers to Nepali examples:
Security Protocols
- Know the difference between SSL, 3D Secure, and tokenization.
- Example Answer:
"SSL encrypts data in transit, while 3D Secure adds an OTP layer for authentication. Tokenization replaces card numbers with random tokens (e.g., Apple Pay)."
Risk Management
- For "risks in electronic payment systems", list 4 risks + 1 mitigation (e.g., fraud → 3D Secure).
Final Note: Focus on how things work (not just definitions). Use diagrams for processes and tables for comparisons. In exams, always relate to Nepal (e.g., Khalti, NEPSE, Ncell).
Based on the TU BBM syllabus for E Commerce (IT204), unit 5.
Discussion
Loading…