HBT 2306: Electronic Commerce Course Description
HBT 2306: Electronic Commerce Course Description
Course description
Internet and WWW, database, various types of electronic commerce
applications, virtual value chain, business models, electronic payment methods,
mobile com-merce and processes pertaining to electronic commerce,
introduction to the elec-tronic commerce framework. Strategic frameworks,
marketing and channel strate-gies, legal, ethical, cultural and social issues of E-
Commerce and the impact of the Internet and the Web on businesses. Security
controls tosecure e-commerce web sites and protect electronic transactions.
Identify the risks, threats and vulnera-bilities of the Internet and how to defend
against security breaches by identifying effective countermeasures to be taken
against identified vulnerabilities. Develop an ecommerce application.
Prerequisite: None
Course aims
The course Electronic Commerce is to enable the student effectively
conceptualize, design, plan and implement e commerce projects in
Information and Communica-tion Technology. The course imparts knowledge,
skills and ethics for systematic execution of electronic commerce.
Course Purpose
Course Objectives
Upon completing this course the students should be able to:
ii
3. Employ the skills necessary for developing and managing an e-
business or e-commerce department of a larger business.
Instruction methodology
Lectures and tutorials, Case studies, Review of projects, theses and Journal articles
Course Journals
1. E-Commerce and Tax Law Journal
2. E-Commerce-journal
Assessment information
The module will be assessed as follows;
iii
• 60% of marks from written Examination to be administered at JKUAT main
campus or one of the approved centres
iv
Contents
1 Electronic Commerce 1
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Merits of E Commerce . . . . . . . . . . . . . . . . . . . . 3
• To the Buyer . . . . . . . . . . . . . . . . . . . . 3
• The seller . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Demerits of E Commerce . . . . . . . . . . . . . . . . . . . 3
• The Buyer . . . . . . . . . . . . . . . . . . . . . 3
• The seller . . . . . . . . . . . . . . . . . . . . . 4
1.1.3 Why Electronic Commerce . . . . . . . . . . . . . . . . . . 4
1.1.4 Challenges to EC . . . . . . . . . . . . . . . . . . . . . . . 5
v
CONTENTS CONTENTS
5 Introduction 1
5.0.4 Microsoft Commerce sever. . . . . . . . . . . . . . . . . . 1
5.0.5 What is a shopping Cart? . . . . . . . . . . . . . . . . . . . 1
5.0.6 Server-Side Cart . . . . . . . . . . . . . . . . . . . . . . . 2
5.0.7 Client-Side Cart . . . . . . . . . . . . . . . . . . . . . . . 3
• Object Persistence in JavaScript . . . . . . . . . . 4
5.0.8 Storing Data in the Parent Frame . . . . . . . . . . . . . . . 4
5.0.9 User-Defined Objects . . . . . . . . . . . . . . . . . . . . 5
vi
CONTENTS CONTENTS
7 What is EDI? 1
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . ....... 1
• ANSI x12 . . . . . . . . . . . . . . . ....... 2
• EDIFACT...................... 3
7.1.1 Characteristics of EDI . . . . . . . . . . . . . . . . . . . . 3
7.1.2 Serial communications . . . . . . . . . . . . . . . . . . . . 4
7.1.3 Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
7.1.4 Peer-to-Peer . . . . . . . . . . . . . . . . . . . . . . . . . 4
7.1.5 Value-added networks . . . . . . . . . . . . . . . . . . . . 4
7.1.6 Benefits of EDI . . . . . . . . . . . . . . . . . . . . . . . . 5
7.1.7 Disadvantages of EDI . . . . . . . . . . . . . . . . . . . . . 5
vii
CONTENTS CONTENTS
viii
HBT 2306 Electronic Commerce
LESSON 1
Electronic Commerce
Prerequisite:
1. Web development
2. Object orientation
Learning outcomes
Upon completing this topic, you should be able to:
1. Differentiate between e commerce and e business.
3. List the merits and demerits of E-commerce to client and the merchant.
1.1. Introduction
The term electronic commerce or simply EC is been one of the major
milestones in technological advancements made in the information age. The
ability to trans-act and do business online has been welcome with mixed
feelings of intrigue and suspicion, its benefits outweighing the negativity
around this topic. To start us off let us define the following terms:
• e-Commerce
• e-Business
1
HBT 2306 Electronic Commerce
• The ubiquitous nature of the Internet and its global reach gives it
much of its power.
• The Internet opens up new opportunities for both small and large firm
It is important to note that ec follows the principle of commerce where by the con-
cerned parties (that is the buyer and seller) somehow come together to trade or
do business. In ec however these two parties take advantage of technological
advance-ments in networks and the internet to achieve this same goal.
2
HBT 2306 Electronic Commerce
The seller
1. Maintaining an online store is cheaper than an actual store
3. The seller can now reach a much larger market. (Global reach)
5. More efficient process and a larger market reach will bring profitability
3
HBT 2306 Electronic Commerce
The seller
1. The seller is exposed to risks of fraudulent dealings
4
HBT 2306 Electronic Commerce
Traditional Rivals: these are known competitors to organizations products. They most
likely will exist within the same regional boundary. Threat of new Entrants has been
known to cause uneasiness to organizations in the same trade. In Kenya when there
was talk of a third mobile provide After Safaricom and the former Celtel there were
price wars and speculations of the impact a third provider would have each company
trying to formulate structures to retain their market share. Threat of substitute product
or services is also a substantial force that in the past has caused large organizations
to make huge decisions i.e. the Kenya breweries and castle larger came to an
agreement that Kenya breweries to retain the Kenyan market while Castle moved to
Tanzania to take over the Breweries plant there. Bargaining Power of suppliers is
mostly seen in cases where we have groups of organized suppliers such as oil
cartels. These are known to influence the markets considerable and in so doing is a
force for the organization to consider Bargaining power of Customers may also
present considerable forces to the organization especially if the customers band
together as one they may determine the cost of products or services.
1.1.4. Challenges to EC
• Transactional challenges: challenges associated with payments,
money, ac-ceptability issues, taxation issues,
5
HBT 2306 Electronic Commerce
6
HBT 2306 Electronic Commerce
Revision Questions
1. The buyer
2. The seller
1. Structure
2. Information Technology
7
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
8
HBT 2306 Electronic Commerce
LESSON 2
The Internet and EC
Learning outcomes
Upon completing this topic, you should be able to:
1. Differentiate between e commerce and e business.
3. List the merits and demerits of E commerce to client and the merchant.
2.1. Introduction
9
HBT 2306 Electronic Commerce
2.1.2. Extranets
This is a semi private network using internet technologies. It is also known
as an eextended intranet, providing secure links to the intranets of
associated companies such as:
• Suppliers
• Customers
• Financial services
10
HBT 2306 Electronic Commerce
This platform is commonly used for Supply Chain Management (SCM) and Cus-
tomer Relations Management (CRM) systems. For example an institution such
as JKUAT wanting to make fee collection easier would link its finance system
with the banks where student make the payment. When a student makes a
payment the statement is automatically reflected in the JKUAT finance system.
Extranets form part of infrastructure for e-commerce whose benefits include:-
• Enhanced communications
• Enhanced productivity
• Business enhancement
• Information delivery
11
HBT 2306 Electronic Commerce
that take place only within the organization while other processes take
place across the organizations boundary to either the suppliers or the
distributors. The figure below describes the value system.
12
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 5. Discuss the role of the value system with regard to the
Intranet and extranets
EXERCISE 6. Give two examples of Value Added network providers you know.
• Prentice Hall
• Paper, 672 pp
13
HBT 2306 Electronic Commerce
LESSON 3
Building E-commerce Applications And Infrastructure
Learning outcomes
Upon completing this topic, you should be able to:
• Discuss the major steps in developing an EC application.
3.1. Introduction
3.1.1. MAJOR E-COMMERCE APPLICATIONS AND THEIR FUNCTION-
ALITY
Once it has been determined that a business can benefit from an online
presence, the business type, the product line, the business’s organization, and
the budget dic-tate what functionality the Web site should have and how the Web
site should be developed. Companies can choose from a number of different
types of Web sites, including B2C, B2B, exchanges, and the like. Sites of a
particular type (e.g., re-tailer, provider of business services, manufacturer,
distributor/wholesaler, media, travel/entertainment) usually use the same
underlying applications and provide sim-ilar sorts of functionality. Although this
simplifies the task of creating the underly-ing application architecture, the site
requirements must still be considered carefully. Before discussing the best
approach to developing the site, it is useful to consider the major characteristics,
functionality, and requirements of an EC system. The fol-lowing discussion
focuses on these considerations for some of the more common EC applications.
1
HBT 2306 Electronic Commerce
By Sector Interaction
The different sectors in the business environment include:
2
HBT 2306 Electronic Commerce
7. Non-business EC
8. Intra-business EC
Discover, search for, evaluate, and compare product offerings, allowing prospective buyers Select pro
• An electronic payment function enables the customer to pay for the order and,
thus, complete the transaction. Payment options may include credit card,
3
HBT 2306 Electronic Commerce
debit card, COD, check (before delivery), and invoice (after delivery).
Secu-rity is very important in the electronic payment function. The
function should provide the necessary security through Secure Socket
Layer (SSL), Secure Electronic Transactions (SET), or some other
protocol, and customers should be apprised of the security provisions.
• An order fulfillment function provides for the delivery of the product to the
customer. The delivery can be digital for products such as music, software,
and information. This function is linked to the enterprise’s inventory system
so that the inventory database can be updated when the order is fulfilled.
• The product support function provides assistance to the customer after the
product has been received. This support may include initial setup and
installa-tion, regular operation, troubleshooting, return policy, ongoing
maintenance, and warranty or non warranty repair or replacement.
4
HBT 2306 Electronic Commerce
3.1.5. E-PROCUREMENT
An e-procurement site is an online intermediary that offers businesses access
to hundreds of parts and services provided by suppliers .E-procurement
systems come in several variations, each with its own specialized capabilities.
Aggregating Catalogs
In large organizations, multiple buyers are involved in making purchases from a large
number of suppliers. One way to reduce costs and other inefficiencies in the
purchase process is to aggregate the items from approved suppliers into a single
online catalog. Some of the specialized requirements for this type of site include:
3. Ordering mechanism
5
HBT 2306 Electronic Commerce
6
HBT 2306 Electronic Commerce
5. Facilitytohelpprepare,issue,manage,andrespondtoabuyer’srequestforquotes (RFQs)
1. Both the seller and the buyer complete the online registration process, includ-
ing providing shipping points and regulatory and banking information.
2. The seller starts an auction by listing the product, the asking price,
and the quantity on a form.
3. The buyer chooses a bid product and indicates a bid price and quantity.
The buyer may also set the maximum price and bid increments.
7
HBT 2306 Electronic Commerce
3.1.8. Exchanges
An exchange is an e-marketplace that connects many buyers with many
suppliers. In addition to combining the functionalities of buy-side, e-
procurement, and auction sites, they also have a number of other capabilities:
2. Community services
3. Web-automated workflow
8. Transaction-flow managers
9. Negotiation mechanisms
8
HBT 2306 Electronic Commerce
3.1.9. Portals
A portal is a single Web interface that provides personalized access to
information, applications, business processes, and much more. With portal
technology, an or-ganization can lower development and deployment costs and
significantly increase productivity. Using a portal, information can be aggregated
and integrated within a particular working environment, application, or service, or
a single interface can be used to target an individual user’s needs and interests.
Portals help to harmonize content, commerce, and collaboration with business
goals. A list of different types of portals and their capabilities follows
9
HBT 2306 Electronic Commerce
10
HBT 2306 Electronic Commerce
Revision Questions
1. B2B
2. B2C
EXERCISE 10. Briefly explain two types of E-commerce sites where the
models can be used.
1. Electronic catalog
2. Shopping cart
4. Value chain
• Prentice Hall
• Paper, 672 pp
11
HBT 2306 Electronic Commerce
LESSON 4
DEVELOPMENT OPTIONS FOR E-COMMERCE
APPLICATIONS
Learning outcomes
Upon completing this topic, you should be able to:
1. Discuss various EC application outsourcing options, including application
service providers (ASPs), software as a service (SaaS), and utility computing.
4.1. Introduction
If the desired Web site is relatively simple, a firm may decide to build the
Web site itself. However, the firm must ask a few questions:
If the firm does not have these capabilities, it is usually best to turn over the task to a
professional developer. The ideal developer is one who can design a site with the
correct look and feel, who has an in-depth knowledge of search engine optimization,
and who is able to correctly handle any complex coding that may be required.
Regardless of the complexity of the site, three basic options for developing
an EC Web site are available:
1
HBT 2306 Electronic Commerce
Development Options
Developers have three major options for developing an application:
Build from scratch. This option is used rarely. It should be considered only
for specialized applications for which components are not available.
It is expen-sive and slow, but it may provide the best fit.
2
HBT 2306 Electronic Commerce
3
HBT 2306 Electronic Commerce
4
HBT 2306 Electronic Commerce
via the Internet or VANs through a standard Web browser interface. Such an ar-
rangement provides a full range of services for the company using the ASP: Ap-
plications can be scaled, upgrades and maintenance can be centralized, physical
security over the applications and servers can be guaranteed; and the necessary crit-
ical mass of human resources can be efficiently utilized. The determinants of ASP
adoption as an innovation are discussed by Daylami et al. (2005). The end user
businesses pay a licensing fee. Monthly fees are separate and are paid to the maker
of the software and to the ASP “host” of the software. In general, these fees include
payment for the application software, hardware, service and support, maintenance,
and upgrades. The fee can be fixed or may be based on utilization. Leasing from an
ASP is a particularly desirable option for SMEs, for which in-house development and
operation of IT applications can be time consuming and expensive. Leasing from
ASPs saves various expenses (e.g., labor costs) in the initial development stage. It
also helps reduce software maintenance, upgrading, and user training costs in the
long run. A company can select other software products from the same ASP to meet
its changing needs and does not have to invest further in upgrading the existing one.
Thus, overall business competitiveness can be strengthened through reducing time-
to-market and enhancing the firm’s ability to adapt to changing mar-ket conditions.
ASPs are particularly effective for IT applications for which timing, flexibility, and
agility are crucial.
4.2.3. EC SUITES
An EC suite is a type of merchant server software that consists of an integrated collection
of a large number of EC tools and components that work together for EC applications
development. EC suites offer builders and users greater flexibility, spe-cialization,
customization, and integration in supporting complete front- and back-office functionality.
In an EC suite, the functionality is distributed across a number of servers and databases
instead of relying on a single server and database, as with less sophisticated merchant
server systems. The elements displayed in are indica-tive of the components contained in
a typical EC suite, the processes supported by an EC suite, and the back-end databases
and operational systems utilized by the pro-cesses. Over the past few years, the EC suite
market space has experienced a sub-stantial amount of consolidation. Among the major
products that remain on the mar-
ket isMicrosoft’sCommerceServer2007(microsoft.com/commerceserver/default.mspx),IBM’sWebSphe
5
HBT 2306 Electronic Commerce
306.ibm.com/software/websphere/),andOracle’sECapplications(downloadeast.oracle.com/docs/cd/B10
Up-and-coming EC suites include SalesPro (webbusconnect.com/serve.aspx?page=ec_ecomm_suite),
OnLine Suites (onlinesuites.com),andAIT,Inc.’sE-CommerceSuite(ait.com/ecommercesuite.php).
Microsoft’sCommerceServer2007(microsoft.com/commerceserver/default.mspx) of-
fers a comprehensive framework for building tailored EC solutions.The
framework consists of six main systems:
6
HBT 2306 Electronic Commerce
sites, respectively. All three editions are built on top of Microsoft’s Windows op-
erating system, SQL Server database,and the Visual Studio .NET development en-
vironment.All three editions also operate seamlessly with Microsoft’s other .NET
servers (e.g., Microsoft BizTalk Server and Microsoft’s Content Management
Server). The new version of Commerce Server, released in late 2006
(Microsoft.com 2007a), enables enterprises to accelerate and automate the
delivery of online services and products to drive their revenue growth and reduce
operational costs. An example of a business portal built using Microsoft’s
Commerce Server 2007 and BizTalk Server 2006 is described in Case.
develop the site in-house,either from scratch or with off the shelf
components; buy a packaged application designed for a particular
type of EC site; or lease the application from a third party.
7
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 13. Discuss five benefits that are associated with the Global Internet
EXERCISE 14. Mr. Khados is a small fresh juice equipment retailer with
one store in Nairobi-Kenya. He has a strategy to make his business
online. Currently he carries out the following activities:
Opens his store from 9am-5pm from Monday to Friday.
He sells mainly within Nairobi
He writes the customers phone numbers in a booklet, which he keeps in
one of the drawers in his store.
He pays his suppliers after a month and often has to travel to his
supplier’s office to drop the cheque or cash
New stock is delivered a week after he submits the orders mainly due to
processing of the order documents.
He advertises his business through word of mouth and posters on walls in
the main streets including tom Mboya.
For each of the activities outlined above discuss the kind of changes and benefits
associated with the changes expected if he were to implementing an online model.
EXERCISE 16. List some of the technologies you would need to be familiar
with in order to Build a site from scratch
8
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
9
HBT 2306 Electronic Commerce
LESSON 5
Introduction
Learning outcomes
Upon completing this topic, you should be able to:
1. Define a shopping cart application.
3. Use ASP as one of the server side technologies for developing shopping carts.
1
HBT 2306 Electronic Commerce
The only trick is making sure that the file name you pick isn’t used by anyone else. A
common technique for this is to keep a separate counter file on the server that
2
HBT 2306 Electronic Commerce
records the last order number used. When the cart first loads, the counter file
is checked, incremented, and the new number is used as the new cart file
name. To make certain that this happens at the correct time, create the cart
file when the user first enters the catalog as part of the catalog.cgi script.
Additionally, as each catalog page generates, it’s necessary to include
information back to the browser identifying the name of the cart file. This is
done in one of two ways:
The hidden field is a bit less obtrusive, but either method works.
Additional information you may want to pass back to the browser may include:
The total number of items selected.
The total cost of all selected items.
A side-effect of using server-side temporary files is the potential for the user to
"wander off" your site if they decide not to continue shopping, or to be disconnected
from their provider due to a bad internet connection. This results in a temporary file
lying around on your system, which can be handled in one of two ways:
2. Switch to storing the shopping cart on the client computer within the
user’s browser, using cookies.
3
HBT 2306 Electronic Commerce
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- begin hide
...
your code can go here
...
// end hide -->
</SCRIPT>
<FRAMESET ...>
...
</FRAMESET>
With this used as the parent document, any pages loaded within child frames
reaches back and accesses any functions or objects by simply prefacing any
references to the desired JavaScript component with parent., as follows:
parent.object Or Function
This is, of course, assuming that the document making the call is a direct child of the
parent. A direct child is loaded within the frames defined by the <FRAME>tags in
4
HBT 2306 Electronic Commerce
the parent. If any of the children are themselves framesets with their own
children, you have to preface the object call with another parent.:
parent.parent.object Or Function
This process continues for every level deeper you get into the frame
structure-although at some point, it becomes impractical to nest frames
too deeply. If you’re not certain how deep you’re getting in your frames,
you can always access your objects from the top instead of the bottom.
The JavaScript top property is a syn-onym for the topmost window within
the browser. Because your parent document is loaded first, it is the
topmost window, meaning that you can access objects within it by:
top.object Or Function
Which will work properly no matter what child (or child of a child) window
you’re in within the site.
With your object type defined, you simply create an array (the "cart") that stores another item each tim
5
HBT 2306 Electronic Commerce
/cgi-bin/purchase.cgi"> ...
<INPUT TYPE=BUTTON VALUE="Pick one Up" ONCLICK="PickOneUp()"> </FORM>
CAUTION When indexing into a complex array-one that holds objects, not just simple
properties or s This simple loop structure keeps the total count of objects in numItems, and the
total cost of the cart in total Cost. Note that when adding to the value
stored in total Cost, it’s a good idea to use the parseFloat() method to
ensure that the value retrieved from the Cost field of the form is treated as
a number. JavaScript tends to be fond of strings and assuming that it will
treat a number as a number is not a good idea.
Shopping Cart Example employing vb scripts
<%
''
A Simple Shopping Cart'
'This is just a simple example of how to start ' 'Shopping cart
for your site. You can Add/Delete' 'and View your items'
'
Dim Basket' This will hold our shopping cart information
dim tmpItems ' This will hold all of the items we have in our Shopping Cart
6
HBT 2306 Electronic Commerce
7
HBT 2306 Electronic Commerce
"<BR>" & err.Description & "<P>" 'display error info Response.Write "QueryString
Item: " & trim(Request.QueryString("Item")) & "<P>" 'Display end if tmpItems =
Basket.Items
'Set tmpItems to hold all of our items in the basket set
Session("ShopCart") = Basket 'Save our session so we can use it later
tmpItems = Basket.Items
'Set tmpItems to hold all of our items in the basket for i = 0 to Basket.Cou 'Loop to show whats
currently in our basket
'writes the value of the current item(i) and gives the option to
delete it Response.Write i + 1 & ": "
& tmpItems(i) & " - <a href='./Basket.asp?action=Del&Item=" & i & "'>Delete< next
end if
%>
8
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 17. Discuss five benefits that are associated with the Global Internet?
EXERCISE 18. List any three server side technologies used in creating
shopping carts.
9
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
10
HBT 2306 Electronic Commerce
LESSON 6
The e Commerce Architecture
Learning outcomes
Upon completing this topic, you should be able to:
6.1. Introduction
E commerce applications similar to web based applications are based on the
client server architecture. The Traditional key components of this architecture are
the client tier and the server tier. This Architecture has however over the recent
past undergone considerable changes that have seen it change to the three tier
model which included an application logic tier and later an n tier model to in
cooperate all other modules that may be important to these applications such as
the database and its DBMS In e-commerce the client is defined as the requester
of a service and a server is the provider of the service In most cases the browser
is the client application that sends HTTP request for HTML files to the server. We
have however seen other types of clients emerge more or less similar to the
browser only that they are more specialized for electronic commerce. Products
such as the play store for the android devices (by google) are quickly gaining
popularity and provide users an easier way to shop for software products online.
The server is also a computer program that provides services to other computer
programs. We have various types of servers found on the internet some of these
include: web servers ( i.e. apache, commerce servers would also fall in this
category), file servers, database servers e.t.c Web Servers
A web server is the computer program that serves requested HTML pages or files.
• Every computer on the internet that hosts a web site must have a
web server program.
1
HBT 2306 Electronic Commerce
Most popular web servers are Apache for Open source and Microsoft’s
Internet Information Server (IIS)
Web servers are included as part of a larger package of internet and
intranet related programs for serving e-mail, downloading requests for
FTP files and building and publishing web pages.
Typically the e-commerce customer is the client and the business is the
server. Some client/ server models utilise a database server in which
RDBMS user queries can be answered directly by the server
• The client/ server model improves interraction with the system through a
graphical user interface (GUI) front end to the shared database.
• Thie cleint server model give the internet scalability such that we can add
many more clients without necessarily affecting the working of the intrenet.
Example. Fig showing the N tier architectural layout of a web based system
2
HBT 2306 Electronic Commerce
1. Interoperability
2. Firewall traversal
3. Complexity
3
HBT 2306 Electronic Commerce
The SOA architecture is built on these notions that business processes are
the same across the world hence in terms of applications being developed
they may be reused time and again instead of developing them time and
again. SOA is known to provide agility, flexibility, reuse, data rationalization,
and integration and reduced costs in developing business solutions SOA
Applications are created from loosely coupled web services.
4
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 21. Discuss five benefits that are associated with the Global
Internet EXERCISE 22. List the components of a web service.
5
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
6
HBT 2306 Electronic Commerce
LESSON 7
What is EDI?
Learning outcomes
Upon completing this topic, you should be able to:
7.1. Introduction
What is EDI? Electronic Data Interchange is the computer-to-computer
exchange of business data and documents between companies using
standard formats rec-ognized both nationally and internationally. EDI provides
a technical basis for commercial "conversations" between two entities, either
internal or external The information used in EDI is organized according to a
specified format set by both companies participating in the data exchange.
The general idea behind EDI was originated by a group of railroad companies
in the mid-1960’s, in the United States. Much of the early work on EDI was
driven by the industry sectors for the following purposes:
1. transportation
2. pharmaceuticals
3. groceries
4. automobiles
5. banking
1
HBT 2306 Electronic Commerce
ANSI x12
Accredited Standards Committee (ASC) X12 was created in 1979 by the
American National Standards Institute. It is a not-for-profit membership.
Members meet three times each year to develop, maintain and build on the
EDI standards. Its purpose: To standardize the EDI formatting and exchanges
between companies in order to make the transfers less time consuming, due
to differences in formatting and information presentation i.e.
Note: Linefeeds and "(Continued)" notes inserted for clarity ISA*00* *00* *01*123454321
*01(Continued) *012341234 *031016*2359*U*00401*987600111*0*P*: \GS*RA*123454321
*012341234*031016*2359*987600111*X*004010 \ST*820*987600111 \BPR*C*77.77*C*A
\REF*AA*EDI6 \N1*PR*WHIZCO OF AMERICA INC \N3*
2
HBT 2306 Electronic Commerce
EDIFACT
Electronic Data Interchange for Administration, Commerce, and Transport is
the international set of EDI standards Became a UN standard in 1987
Maintenance and further development is the responsibility of the United
Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT)
Includes syntax rules and im-plementation guidelines, message design
guidelines, data elements, code sets, and other definitions Used for business-
to-business (B2B) communication rather than business-to-consumer (B2C)
Allows multi-country and multi-industry exchange Europe adopted EDIFACT
early and has a large installed base indicating its contin-ued use i.e.
UNB+IATB:1+1APPC+LHPPC+940101:0950+1' UNH+1+PAORES:93:1:IA'
MSG+1:45' IFT+3+?*XYZCOMPANY AVAILABILITY?*' ERC+A7V:1:AMD'
IFT+3+NO MORE FLIGHTS' ODI' TVL+240493:1000::1220+FRA+JFK+DL+400+C'
PDI++C:3+Y::3+F::1' APD+74C:0:::6++++++1A' TVL+240493:1740
::2030+JFK+MIA+DL+081+C' PDI++C:4' APD+EM2:0:1630::6+++++++DA'
UNT+13+1' UNZ+1+1'
• Point-to-point integration
3
HBT 2306 Electronic Commerce
7.1.3. Internet
7.1.4. Peer-to-Peer
EDI standards are written such that trading partners could connect directly to each
other. For example, an automotive manufacturer might maintain a modem-pool that
all of its hundreds suppliers are required to dial into to perform EDI. However, if a
supplier does business with several manufacturers, it may need to acquire a different
modem (or VPN device, etc.) and different software for each one.
• telecommunication companies;
4
HBT 2306 Electronic Commerce
An interchange consists of: Service String Advice UNA Conditional _____ Inter-
change Header UNB Mandatory | ___ Functional Group Header UNG Conditional
| | _ Message Header UNH Mandatory | | | User Data Segments As required | | |_
Message Trailer UNT Mandatory | |___ Functional Group Trailer UNE Conditional
|_____ Interchange Trailer UNZ Mandatory —————————————– |Es-
tablishment |CONNECTION| Termination | A CONNECTION contains one ——
————–|——————– or more interchanges. | The technical protocols | for
establishment | maintenance and | termination etc. are not +——————-+——
————-+ part of this standard. | | —————————————– |Interchange
5
HBT 2306 Electronic Commerce
6
HBT 2306 Electronic Commerce
Revision Questions
• UN/EDIFACT
• X.12
• XML/EDI
7
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
• Univ. of Texas-Austin EDI Server: includes registration how to, list of partic-
ipants, and FAQ’s http://www.utexas.edu/student/giac/speede/ediserv.html
• MIT Distribution Center: download the freeware version of PGP 6.5.8 http://web.mit.edu/network
8
HBT 2306 Electronic Commerce
LESSON 8
Electronic Payment System
8.1. Introduction
Good atomicity: A good payment system should allow for atomic types of trans-
actions either on the side of the goods or the money being exchanged.
1
HBT 2306 Electronic Commerce
• On-line
– Trusted third party, e.g. online bank, holds customers’ cash accounts I.e
in the mpesa system the money is stored in mpesa servers on behalf
of the customer. A draw back to this type of storage is that when the
third party is ofline the customer may be inconvenienced.
• Off-line
Digital Cash
Refers to some form of digital equivalent of money that is exchangeable in place of
physical money. It is usually in the form of bits that computers and other dig-ital
systems understand. This type of money is exchangeable electronically over a
network and is provided by a third party specifically for online trading to allow
customers buy and merchants to sell their products without physically coming into
contact with each other. The Primary advantage of e cash is with purchase of items
costing less than $10. Credit cards have been known to charge high transaction fee
2
HBT 2306 Electronic Commerce
1. E cash technologies
2. CyberCash
3. Mondex
4. Magnex
5. Bank verifies that e-cash is valid, Parties complete transaction: e.g., merchant
present e-cash to issuing back for deposit once goods or services are delivered
3
HBT 2306 Electronic Commerce
• Transferable electronically over any available medium. i.e one can send
the money electronically to facilitate payment for a good or service.
4
HBT 2306 Electronic Commerce
• Anybody can use it, unlike credit cards, and does not require special
autho-rization
Disadvantages
• CyberCash: Combines features of cash and cheques offering credit card, mi-
cropayment, and check payment services Connects merchants directly with
credit card processors to provide authorizations for transactions in real time.
No delays in processing prevent insufficient e-cash to pay for the transaction
5
HBT 2306 Electronic Commerce
Microsoft Wallet
• Comes pre-installed in Internet Explorer 4.0, but not in Netscape
Agile Wallet
• Developed by CyberCash
• Does not support smart cards or CyberCash, but company expects to soon
6
HBT 2306 Electronic Commerce
eWallet
• Developed by Launchpad Technologies
• Free wallet software that stores credit card and personal information
on users’ computer, not on a central server; info is dragged into
payment form from eWallet
• Magnetic stripe
• Memory cards
– i.e the smart bus cards which were available in Nairobi used to board the buses
• Microprocessor cards
– Embedded microprocessor
7
HBT 2306 Electronic Commerce
Some of these technologies have been around for over 10 years. Most have not
been successful in U.S., but are popular in Europe, Australia, and Japan. Part of the
reason they have been unsuccessful in U.S. is because there are few card readers
available Smart cards gradually reappearing in U.S.; success depends on:
These cards are however popular in the local market especially as storage
mech-anisms for loyalty points, they are also common in fuel stations as
fuel cards for making purchases of fuel product. Some insurance
companies use them to provide cover for their clients
• Authentication, ID
• Medical records
• Ecash
• Personal profiles
• Government
– Licenses
• Mall parking
8
HBT 2306 Electronic Commerce
3. (Potentially) anonymous
5. (Potentially) currency-neutral
Disadvantages:
1. Low maximum transaction limit (not suitable for B2B or most B2C) High
Disadvantages
• Does not work for small amount (too expensive)
9
HBT 2306 Electronic Commerce
• No spending limit
10
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 30. The following are some of the ills associated with the
internet. Discuss these
i. Theft of Personal Information
ii. Spamming
iii. Virus Threat .
EXERCISE 32. list any four commercial electronic wallets available in the
mar-ket?
11
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
12
HBT 2306 Electronic Commerce
LESSON 9
Security of Electronic Payments
Learning outcomes
Upon completing this topic, you should be able to:
1
HBT 2306 Electronic Commerce
9.1. Introduction
9.1.1. Payment Acceptance and Processing
There is a lot that goes on before a financial transaction is concluded online. There is
usually a complex process of checking with financial institution before a payment
goes through. To be able to transact money online one requires a payment gateway.
This is a body or firm that authorizes payments to be done online. It facilitates se-
cure transfer of funds from one financial institution to the next. Some international
banks offer this as additional service hence one does not need to approach a third
party. PayPal is a good example of an organization the offers a payment gateway. A
simple payment card processing would go through the following:
• Merchants are required by most payment processing agencies to set up
merchant accounts to accept payment cards
• Payment card transaction requires:
– Merchant to authenticate payment card
– Merchant must check with card issuer to ensure funds are available and
to put hold on funds needed to make current charge
– Settlement occurs in a few days when funds travel through banking
system into merchant’s account
The law prohibits charging payment card until merchandise is shipped to
preferred destination.
2
HBT 2306 Electronic Commerce
A merchant account
Most payment gateways have a facility on their website that assists merchants to
create an account easily without necessarily visiting them. As a merchant
however you will require to have bank account with a bank that will support you
receiving money through a payment gateway The Merchant bank is also called
acquiring bank. This bank does business with merchants that want to accept
payment cards. Merchant will receive an account where they deposit card sales
totals. Value of sales slips is credited to merchant’s account
3
HBT 2306 Electronic Commerce
Tellan
Provides PCAuthorize for smaller commerce sites and WebAuthorize for
larger enterprise-class merchant sites Both systems capture credit card
information from the merchant’s form and connect directly to the bank
network using dial-up or pri-vate, leased lines Bank network receives credit
information, performs credit autho-rization, and deposits the money in the
merchant’s bank account The merchant’s web site receives confirmation or
rejection of the transaction, which is communi-cated to the customer
IC Verify
Provides electronic transaction processing for merchants for all major credit
and debit cards Also allows check guarantees and verification transactions
A CyberCash company
Authorize.Net Online, real time service that links merchants with issuing banks by
simply inserting a small block of HTML code into their transaction page
4
HBT 2306 Electronic Commerce
5
HBT 2306 Electronic Commerce
IMPLEMENTATION OF SSL
Open SSL is an implementation of the SSL and the TLS (TRANSPORT LAYER
SECURITY) protocols. [OpenSSL is used by the HTTPS and SMTPS protocols.
When your browser connects with a web server to which you have to upload your
credit card or banking information, your browser is most likely to be using the HTTPS
protocol in its interaction with the server. SMTPS is for the secure transfer of email
between hosts in the internet. Another closely related protocol that uses the libssl
library component of the OpenSSL implementation is OpenSSH which is an
implementation of the SSH protocol “Secure Shell,” which is used for logging into
remote machines and for executing commands at those machines.]
6
HBT 2306 Electronic Commerce
7
HBT 2306 Electronic Commerce
Revision Questions
EXERCISE 36. Differentiate he between open loop and closed loop precess
of payment systems
8
HBT 2306 Electronic Commerce
• Prentice Hall
• Paper, 672 pp
9
HBT 2306 Electronic Commerce
LESSON 10
Legal and Ethical Issues
Learning outcomes
Upon completing this topic, you should be able to:
1. Data protection legislation.
2. Personal data.
10.1. Introduction
We live in an information world and because of increase in information and the
value of information, there is need to protect it. Different countries have come up
with independent legislations to protect and govern the use and dissemination of
information. The data Protection Act is one such piece of legislation(DPA).
• Property – who owns the information, and how can ownership be transferred?
Also to consider:-
1
HBT 2306 Electronic Commerce
• Accurate
• Secure
• Marketers should comply with the relevant national data protection laws
• Not sent if the recipient has expressed a wish not to receive them
Opt-in
2
HBT 2306 Electronic Commerce
Opt-out
• Tends to be centrally administered e.g. the mailing preference service,
and telephone preference service. In the UK, it is illegal to phone or mail
someone who has purposely expressed their wish to be left alone
Customer data can be broken down into the following three categories:-
Contact information, profile information and behavioural information
• Contact information – the most basic details
• Behavioural information
- On a single site
-Across multiple sites
Cookies
Cookies are small text files containing information such as user name, start
page, user preferences, possibly contents of a shopping cart usually written
using JavaScript. Cookies are known to be insecure since they can be
used by other programs to analyse users. Cookies have also been used to
support junk e mail and pop up advertising which some people find
annoying. In some countries cookies are considered illegal.
i. Authentication The process of the process by which one entity verifies that
an-other entity is who they claim to be by checking credentials of some sort
ii. Authorization The process that ensures that a person has the right to
access certain resources
iii. Integrity As applied to data, the ability to protect data from being altered or
4
HBT 2306 Electronic Commerce
a
Revision Questions
EXERCISE 38. The following are some of the ills associated with the
internet. Discuss these
i. Theft of Personal Information
ii. Spamming
iii. Virus Threat .
• Prentice Hall
• Paper, 672 pp
5
HBT 2306 Electronic Commerce
Solutions to Exercises
Exercise 1.
‘E-commerce covers outward-facing processes that touch customers, suppliers and
external partners, including sales, marketing, order taking, delivery, customer ser-
vice, purchasing of raw materials and supplies for production and procurement of
indirect operating-expense items, such as office supplies. It involves new business
models and the potential to gain new revenue or lose some existing revenue to new
competitors.’E-business-“..............includes e-commerce but also covers inter-
nal processes such as production, inventory management, product
development, risk management, finance, knowledge management and
human resources. E-business strategy is more complex, more focused on
internal processes, and aimed at cost savings and improvements in
efficiency, productivity and cost savings.’Bartels 00] Exercise 1
Exercise 5.
The value system describes the various tasks or functions of the
organization with reference to utilization of private or extended private
networks and how these net-works fit in to meet organizational bjectives
Exercise 5
Exercise 10.
B2C:Electronic stores www.amazon.com www.dell.com Electronic malls http://www.evvmall.com
-B2B: Auctions such as e bay Exercise 10
Exercise 16.
HTML, XML, CSS, XHTML, SOAP, SOA, PHP/ASP, SQL Exercise 16
Exercise 18.
ASP/ PHP
SQL
VB SCRIPT
Exercise 18
Exercise 22.
6
HBT 2306 Electronic Commerce
Exercise 23.
Interoperability
Firewall traversal
Complexity Exercise 23
Exercise 25.
Exercise 27.
Exercise 30.
i. Theft of Personal Information If you use the Internet for online banking, social
networking or other services, you may risk a theft to your personal information
7
HBT 2306 Electronic Commerce
such as name, address, credit card number etc. Unscrupulous people can
access this information through unsecured connections or by planting
software and then use your personal details for their benefit. Needless to
say, this may land you in serious trouble.
ii. Spamming Spamming refers to sending unwanted e-mails in bulk, which provide
no purpose and needlessly obstruct the entire system. Such illegal activities can be
very frustrating for you as it makes your Internet slower and less reliable.
iii. Virus Threat Internet users are often plagued by virus attacks on their systems.
Exercise 30
Exercise 34.
security should have security features, it should not be easy to alter and should
not allow double. Anonymity not attached to any particular person, ie negotiable.
Divisibility several denominations. Ease of use storable and retrievable.
Exercise 34
Exercise 37.
Copyright This refers to an exclusive grant from the government that allows
the owner to reproduce a work, in whole or in part, and to distribute, perform,
or display it to the public in any form or manner, including the Internet.
Trademarks A trademark is a symbol used by businesses to identify their
goods and services; government registration of the trademark confers
exclusive legal right to its use.
Patent This is a document that grants the holder exclusive rights on an invention for
a fixed number of years. Exercise 37
Exercise 38.
i. Theft of Personal Information If you use the Internet for online banking,
social networking or other services, you may risk a theft to your personal
information such as name, address, credit card number etc. Unscrupulous
people can access this information through unsecured connections or by
planting software and then use your personal details for their benefit.
Needless to say, this may land you in serious trouble.
ii. Spamming Spamming refers to sending unwanted e-mails in bulk, which provide
8
HBT 2306 Electronic Commerce
no purpose and needlessly obstruct the entire system. Such illegal activities can
be very frustrating for you as it makes your Internet slower and less reliable.
iii. Virus Threat Internet users are often plagued by virus attacks on their systems.
Virus programs are Exercise 38