Answer
E-commerce is the use of the internet and the web to transact business. More formally, digitally enabled commercial transactions between and among organization and individuals.
E-commerce is more than just buying, selling products online. It encompasses the entire online process of developing, marketing, selling, delivering, servicing and paying for goods or services transacted on internet worked, global marketplace of customers with the support of a worldwide network of business partner.
Fig below shows the secure electronic payment system with many payment alternatives
A payment gateway server facilitates the transfer of information between a payment portal (such as a website, mobile phone or IVR service) and the Front End Processor or acquiring bank. When a customer orders a product from a payment gateway-enabled merchant, the payment gateway performs a variety of tasks to process the transaction
A customer places order on website by pressing the ‘Submit Order’ or equivalent button, or perhaps enters their card details using an automatic phone answering service.
If the order is via a website, the customer’s web browser encrypts the information to be sent between the browser and the merchant’s web server. This is done via SSL (Secure Socket Layer) encryption.
The merchant then forwards the transaction details to their payment gateway. This is another SSL encrypted connection to the payment server hosted by the payment gateway.
The payment gateway forwards the transaction information to the payment processor used by the merchant’s acquiring bank.
The payment processor forwards the transaction information to the card association (e.g., Visa/MasterCard)
The credit card issuing bank receives the authorization request and does fraud and credit or debit checks and then sends a response back to the processor (via the same process as the request for authorization) with a response code [eg: approved, denied]. In addition to communicating the fate of the authorization request, the response code is used to define the reason why the transaction failed (such as insufficient funds, or bank link not available). Meanwhile, the credit card issuer holds an authorization associated with that merchant and consumer for the approved amount. This can impact the consumer’s ability to further spend (eg: because it reduces the line of credit available or because it puts a hold on a portion of the funds in a debit account).
The processor forwards the authorization response to the payment gateway.
The payment gateway receives the response, and forwards it on to the website (or whatever interface was used to process the payment) where it is interpreted as a relevant response then relayed back to the merchant and cardholder. This is known as the Authorization or “Auth”
The merchant then fulfills the order and the above process is repeated but this time to “Clear” the authorization by consummating the transaction. Typically the “Clear” is initiated only after the merchant has fulfilled the transaction (eg: shipped the order). These results in the issuing bank ‘clearing’ the ‘auth’ (ie: moves auth-hold to a debit) and prepares them to settle with the merchant acquiring bank.
The merchant submits all their approved authorizations, in a “batch” (eg: end of day), to their acquiring bank for settlement via its processor.
The acquiring bank makes the batch settlement request of the credit card issuer.
The credit card issuer makes a settlement payment to the acquiring bank (eg: the next day)
The acquiring bank subsequently deposits the total of the approved funds in to the merchant’s nominated account (eg: the day after). This could be an account with the acquiring bank if the merchant does their banking with the same bank, or an account with another bank.