3 Electronic Payment System

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.

Electronic Payment System: notes

E-payment System

Electronic payment system (EPS) is a way of paying for goods and services electronically instead of using cash or a physical cheque; it is, in short, the online transfer of value. New kinds of purchasing relationship, buying between individuals online, and new technology, above all the mobile platform, have kept creating a need for new payment systems alongside the older ones.

Payment instruments in everyday use include the debit card (a prepaid card linked directly to a bank account, deducting the balance at the time of purchase and also usable at an ATM, protected by a PIN and a daily limit set by the issuing bank), the credit card (similar to a debit card but postpaid: the holder borrows funds to pay and repays the amount later, with interest charged on the balance carried), and e-banking (banking moved online, letting a customer take a loan, pay an instalment, or load a wallet from a browser or, increasingly, a mobile banking app). The remaining major instruments, smart cards, stored value systems, digital wallets, e-cash, e-cheques and virtual currency, are each significant enough to be covered on their own below.

Well designed e-payment systems share a common set of benefits: lower transaction costs than handling physical cash or cheques, stronger protection for the transaction itself, time and resource savings for both merchant and customer, faster settlement than paper-based payment, and full visibility into the payment process at every step.

Online Credit Card Transaction

Card payment rests on a four-party model: the cardholder (the consumer paying), the merchant (the seller), the issuer (the cardholder's own bank, which issued the card and holds the cardholder's account), and the acquirer (the merchant's bank, which holds the merchant's account and submits transactions into the card network on the merchant's behalf). A card network or clearinghouse (the rails operated by a card scheme such as Visa or Mastercard) sits between the acquirer and the issuer and actually routes authorization requests and settlement instructions between the two banks. Because the merchant in an online sale never sees the physical card, takes no card impression and collects no signature, an online card sale is called a card-not-present (CNP) transaction, and CNP transactions carry materially higher fraud risk than an in-person swipe or chip payment.

An online card purchase moves through three stages, in order:

  1. Authorization: the cardholder adds an item to the merchant's cart and submits card details over a connection secured with SSL/TLS. The merchant's software forwards the transaction to its acquirer, the acquirer routes the authorization request through the card network to the issuer, and the issuer checks the account and available balance and returns an approval or decline along the same path back to the merchant.
  2. Clearing: once approved, the merchant completes the order. Approved transactions are then batched and submitted by the merchant's system to the acquirer for processing.
  3. Settlement: the card network moves funds from the issuer to the acquirer, the acquirer credits the merchant's account, and the debit to the cardholder's account is reflected in their next monthly statement.

The existing card payment system carries real limitations: security (CNP fraud in particular), merchant risk (chargebacks and disputed transactions), the administrative and transaction costs merchants absorb on every sale, and questions of social equity, since a card-based system inherently excludes anyone without access to a bank account or credit history.

Online Stored Value Payment System

A stored value payment system is created by depositing funds into an account, from which money is paid out or withdrawn as needed. It targets low-value transactions, carries a low transaction cost, and does not need a bank verification step during processing; a widely used online wallet service is a typical example. Stored value cards come in two forms:

  • Closed system prepaid cards: accepted only at the single merchant that issued them, functioning as the modern replacement for a paper gift certificate. A gift card issued by a specific retail chain is a typical example, and such cards commonly carry an expiry date or a service fee.
  • Open system prepaid cards: connected to a retail electronic payment network such as Visa or Mastercard rather than to one merchant, so they can be spent anywhere that network is accepted, using the same magnetic-stripe technology as a closed system card to store the prepaid balance.

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 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:

  1. Compute H(OI) from the received OI.
  2. Concatenate received H(PI) || H(OI).
  3. Hash the result: H( H(PI) || H(OI) ).
  4. Decrypt DS using customer's public key: D_Kc_public(DS).
  5. 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:

  1. Compute H(PI) from the received PI.
  2. Concatenate H(PI) || H(OI).
  3. Hash the result: H( H(PI) || H(OI) ).
  4. Decrypt DS using customer's public key: D_Kc_public(DS).
  5. 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) and H(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 received H(PI).
  • Bank verifies DS using H(PI) (computed locally) and received H(OI).
  • Both use the customer's public key to decrypt DS and compare.

Summary Table:

RecipientReceivesCan SeeCannot See
MerchantOI + H(PI) + DSOrder detailsPayment/card info
BankPI + H(OI) + DSPayment/card infoOrder 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.

Open this answer on its own page →

Online Credit Card Transaction

2081 · 5 marks

What is an e-payment system? How do online credit card transactions work? [5]

Show solved 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

ParticipantRole
CardholderAuthorized holder of a credit card (e.g., Visa, MasterCard)
MerchantSeller who accepts credit card payments
IssuerBank that issues the credit card to the cardholder
AcquirerBank that maintains the merchant's account and processes payments
Payment GatewayInterface between the merchant's website and the payment processing bank
Certificate AuthorityIssues digital certificates to cardholders, merchants, and gateways

Step-by-Step Process (SET Protocol)

  1. Customer browses the website and decides what to purchase.
  2. Customer sends order and payment information (two parts: Purchase Order + Card Information).
  3. Merchant forwards card information to their bank (acquirer).
  4. Merchant's bank checks with the issuer for payment authorization.
  5. Issuer sends authorization back to the merchant's bank.
  6. Merchant's bank sends authorization to the merchant.
  7. Merchant completes the order and sends confirmation to the customer.
  8. Merchant captures the transaction from their bank.
  9. 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)
Open this answer on its own page →

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]

--- A digital wallet (also called an e-wallet) is a type of electronic payment system that provides a user account which can be accessed through mobile applications or web browsers. It allows people to store payment credentials, pay through websites, transfer balances, pay bills, and perform vari...

Open this answer on its own page →

2078 · 5 marks

What is digital wallet? How it works? [5]

A digital wallet (also called e-wallet or mobile wallet) is a type of electronic payment system that provides a user account which can be accessed through mobile applications. People can use it to pay through websites, transfer balance, pay bills, and perform various financial transactions electr...

Open this answer on its own page →

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]

--- A digital wallet (e-wallet) is a type of electronic payment system that provides a user account which can be accessed through mobile applications or web platforms. People can use it to pay through websites, transfer balance, pay bills, and perform various financial transactions electronically...

Open this answer on its own page →

Virtual Currency

2080 · 5 marks

What is virtual currency? How does it work? Mention the usages of virtual currency in e-commerce. [5]

A virtual currency is a digital representation of value that exists only in electronic form. It is stored and transacted through designated software, mobile applications, or computer applications. Virtual currencies are: - Issued by private parties or groups of developers - Mostly unregulated by ...

Open this answer on its own page →

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]

An Electronic Payment System (EPS) is a way of paying for goods and services electronically instead of using direct cash or physical cheques. It simply means online transaction of values. Among the various forms of EPS, digital cash (e-cash), e-checks, and electronic billing presentment and payme...

Open this answer on its own page →

Auctioning in E-commerce

2079 · 5 marks

How auctioning is done in e-commerce? Discuss different types of auctioning. [5]

E-auctioning (electronic auctioning) is the process of buying and selling goods or services over the internet through a bidding mechanism, where the price is determined dynamically by competing buyers or sellers. It is a key feature of e-commerce, especially in Consumer-to-Consumer (C2C) and Busi...

Open this answer on its own page →

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]

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 the deve...

Open this answer on its own page →