E-Commerce · Unit 3 · 9 hrs
Electronic Payment System
Exam-focused notes for Electronic Payment System (E-Commerce, CSC381): what the TU syllabus asks and how it has actually been tested, with 9 solved past questions from this unit.
Electronic Payment System in short
Payment is where an e-commerce transaction becomes real money changing hands. This chapter works through the instruments used to move that money, the four-party model and message flow behind an online card payment, the SET protocol built to secure it, and how these systems have taken shape in Nepal.
What this unit covers
- E-payment System
- Online Credit Card Transaction
- Online Stored Value Payment System
- Digital and Mobile Wallet
- Smart Cards
- Social/Mobile Peer-to-Peer Payment Systems
- Digital Cash/e-cash
- E-Checks
- Virtual Currency
- Electronic Billing Presentment and Payment (EBPP) System
- Auctioning in E-commerce (English, Dutch, Vickery, Double)
- SET Protocol
- Features of SET
- Participants in SET
- Card Holder Registration
- Merchant Registration
- Purchase Request
- Dual Signature
- Payment Authorization
- Payment Capture
- Status of E-Payment Systems in Nepal
- Case Studies of Global and Local Payment Systems
Dual Signature
2081 · 10 marks
What is a dual signature? Describe the dual signature operations? How is dual signature used during purchase request operation of SET protocol?[10]
Show solved answerHide answer
Dual Signature in SET Protocol
1. What is a Dual Signature?
A dual signature is a special cryptographic mechanism used in the Secure Electronic Transaction (SET) protocol to link two separate messages intended for two different recipients, in such a way that:
- The merchant can verify the customer's order information without seeing the payment/card details.
- The bank can verify the payment information without seeing the actual order details.
- Yet both messages are cryptographically linked, so neither party can be deceived about what the other received.
It protects the privacy of the cardholder while ensuring integrity and authenticity of both the order and payment messages.
2. Dual Signature Operations
The dual signature involves the following steps and components:
Parties Involved:
- Customer (Cardholder)
- Merchant
- Bank (Payment Gateway / Issuer)
Messages Involved:
- OI = Order Information (sent to Merchant)
- PI = Payment Information (sent to Bank)
Step-by-Step Construction of Dual Signature:
Step 1: Hash the two messages separately
H(OI) = Message Digest of Order Information
H(PI) = Message Digest of Payment Information
Step 2: Concatenate the two hashes
POMD = H(PI) || H(OI)
(Payment Order Message Digest)
Step 3: Hash the concatenated result
POMD_Hash = H(POMD) = H( H(PI) || H(OI) )
Step 4: Encrypt with Customer's Private Key (Sign)
Dual Signature (DS) = E_Kc_private ( POMD_Hash )
This DS is the dual signature that the customer attaches to both messages.
Diagram of Dual Signature Construction:
OI -----> H(OI) ---|
|--> Concatenate --> H(H(PI)||H(OI)) --> Encrypt with --> DS
PI -----> H(PI) ---| Customer's
Private Key
3. Verification of Dual Signature
By the Merchant:
The merchant receives OI and DS, and also receives H(PI) (hash of payment info, not PI itself).
Verification steps:
- Compute
H(OI)from the received OI. - Concatenate received
H(PI) || H(OI). - Hash the result:
H( H(PI) || H(OI) ). - Decrypt DS using customer's public key:
D_Kc_public(DS). - Compare the two values. If equal, signature is valid.
The merchant verifies the order but never sees PI (actual card/payment data).
By the Bank:
The bank receives PI and DS, and also receives H(OI) (hash of order info, not OI itself).
Verification steps:
- Compute
H(PI)from the received PI. - Concatenate
H(PI) || H(OI). - Hash the result:
H( H(PI) || H(OI) ). - Decrypt DS using customer's public key:
D_Kc_public(DS). - Compare the two values. If equal, signature is valid.
The bank verifies the payment but never sees OI (actual order details).
4. Use of Dual Signature in SET Purchase Request Operation
The Purchase Request is the first major transaction phase in SET. The following describes how dual signature is used:
Participants:
- Customer, Merchant, Payment Gateway (Bank)
Process:
Step 1: Customer prepares two messages
- OI (Order Information): items, price, merchant ID
- PI (Payment Information): card number, amount, bank details
Step 2: Customer creates the Dual Signature
- Computes
H(OI)andH(PI) - Computes
DS = E_Kc_private( H( H(PI) || H(OI) ) )
Step 3: Customer sends to Merchant
To Merchant: OI + H(PI) + DS
- Merchant sees the order details.
- Merchant gets H(PI) but cannot see actual payment info.
Step 4: Merchant forwards to Payment Gateway (Bank)
To Bank: PI + H(OI) + DS
- Bank sees the payment details.
- Bank gets H(OI) but cannot see actual order details.
Step 5: Verification
- Merchant verifies DS using
H(OI)(computed locally) and receivedH(PI). - Bank verifies DS using
H(PI)(computed locally) and receivedH(OI). - Both use the customer's public key to decrypt DS and compare.
Summary Table:
| Recipient | Receives | Can See | Cannot See |
|---|---|---|---|
| Merchant | OI + H(PI) + DS | Order details | Payment/card info |
| Bank | PI + H(OI) + DS | Payment/card info | Order details |
5. Advantages of Dual Signature in SET
- Privacy: Card details are hidden from merchant; order details are hidden from bank.
- Integrity: Any tampering with OI or PI will invalidate the dual signature.
- Non-repudiation: Customer cannot deny having sent both OI and PI since DS is signed with their private key.
- Linkage: Both messages are cryptographically bound together, preventing substitution attacks.
Note: The above explanation is based on the SET protocol concepts covered in the curriculum. The dual signature is a core security feature that makes SET a robust protocol for e-commerce transactions.
Online Credit Card Transaction
2081 · 5 marks
What is an e-payment system? How do online credit card transactions work? [5]
Show solved answerHide answer
E-Payment System and Online Credit Card Transactions
What is an E-Payment System? (2 marks)
An Electronic Payment System (EPS) is a way of paying for goods and services electronically instead of using direct cash or physical cheque. EPS simply means online transaction of values.
New types of purchasing relationships (such as between individuals online) and new technologies (such as mobile platforms) have created both a need and an opportunity for the development of new payment systems.
Examples of E-Payment Systems include:
- Online Credit Card Transactions
- Online Stored Value Payment System
- Digital and Mobile Wallet (E-wallet)
- E-Checks
- Virtual Currency
- Smart Cards, E-cash, P2P Payments
How Online Credit Card Transactions Work (3 marks)
Online credit card transactions are processed in much the same way as in-store purchases, with the major differences being:
- The merchant never sees the actual card being used
- No card impression is taken
- No signature is available
These transactions are also called Cardholder Not Present (CNP) transactions.
Key Participants
| Participant | Role |
|---|---|
| Cardholder | Authorized holder of a credit card (e.g., Visa, MasterCard) |
| Merchant | Seller who accepts credit card payments |
| Issuer | Bank that issues the credit card to the cardholder |
| Acquirer | Bank that maintains the merchant's account and processes payments |
| Payment Gateway | Interface between the merchant's website and the payment processing bank |
| Certificate Authority | Issues digital certificates to cardholders, merchants, and gateways |
Step-by-Step Process (SET Protocol)
- Customer browses the website and decides what to purchase.
- Customer sends order and payment information (two parts: Purchase Order + Card Information).
- Merchant forwards card information to their bank (acquirer).
- Merchant's bank checks with the issuer for payment authorization.
- Issuer sends authorization back to the merchant's bank.
- Merchant's bank sends authorization to the merchant.
- Merchant completes the order and sends confirmation to the customer.
- Merchant captures the transaction from their bank.
- Issuer prints the credit card bill to the customer.
Limitations of Online Credit Card Payments
- Security risks (no physical card verification)
- Merchant risk (CNP fraud)
- Administrative and transaction costs
- Social equity issues (not everyone has access to credit cards)
Digital and Mobile Wallet
2080 · 10 marks
What is a digital wallet? How does it work? Describe the payment authorization and payment capture operations of SET.[10]
2076 · 10 marks
What is digital wallet? How it can be used in ecommerce? What issues need to be considered while designing electronic payment system?[10]
Virtual Currency
2080 · 5 marks
What is virtual currency? How does it work? Mention the usages of virtual currency in e-commerce. [5]
Digital Cash/e-cash
2079 · 10 marks
Describe how electronic payments are done using digital cash, e-checks, and electronic billing presentment and payment systems. List their advantages and disadvantages.[10]
Auctioning in E-commerce
2079 · 5 marks
How auctioning is done in e-commerce? Discuss different types of auctioning. [5]
E-payment System
2078 · 10 marks
What is e-payment? Discuss how credit card transactions, electronic checks and stored value payment system work. Mention their pros and cons.[10]
Make Unit 3 stick
Practice CSC381 with flashcards & quizzes