Online transaction with 3D Secure
Published: 2020-07-23 03:53:30

---
title:  Online transaction with 3D Secure
published: true
description:
Tags: Security
cover_image: https://cheapsslsecurity.com/blog/wp-content/uploads/2014/11/SSL-Certificate.jpg
---
These days, Online transaction is a very popular topic because a lot of people mainly buy and sell their items online. But, Lot of people don't know how that transaction network happens. Therefore, they don't know how to prevent frauds in online credit and debit card transactions. There is an additional security layer to do it.
 
3-D Secure is an XML-based protocol that provides an additional security layer for online credit and debit card transactions.

To explain how 3D Secure works we will compare a regular, non-3D Secure credit card payment with a 3D Secure credit card payment.

<h3>Non-3D Secure Payment:</h3>

There are 4 primary parties involved in a regular credit card transaction:
<ul>
<li>The cardholder - The person shopping online who has the credit card details</li>
<li>Merchant - The "gateway" of the online merchant from whom the cardholder is purchasing</li>
<li>The acquiring bank - Merchant's acquiring bank through which we process credit card payments</li>
<li>The issuing bank - The bank who issued the cardholder with their credit card</li>
</ul>
In a regular credit card transaction without 3D Secure, the (simplified) process flow is as follows:
<ol>
<li>The cardholder enters their card information (16 digit card number, expiry date etc.) on Merchant</li>
<li>Merchant submits the data to our acquiring bank</li>
<li>Our acquiring bank authorises the transaction (by communicating with the credit card network and issuing bank)</li>
<li>The response (success or failure) is passed back up the chain to the cardholder</li>
</ol>
<img src="https://payfast.kayako.com/base/media/url/Hvz1KJvcaBmoacCQWXIPCFaCVDuM9PCQ"/>
<center><small><b>In this flowchart PayFast is the merchant</b></small></center>

<h3>3D Secure Payment:</h3>

With 3D Secure, a number of additional steps are added to the credit card process with the aim of authenticating the cardholder performing the transaction.

A (very simplified) 3D Secure process is as follows:
<img src="https://payfast.kayako.com/base/media/url/uis5O57arVoGpoKRSo3WCliJqbAwSmcR"/>
<center><small><b>In this flowchart PayFast is the merchant</b></small></center>
<ol>
<li>The cardholder enters their card information (16 digit card number, expiry date etc.) on Merchant</li>
<li>Merchant contacts a directory server to see whether the card is enrolled in 3D Secure</li>
<li>The directory server responds with a message indicating that the card is registered</li>
<li>Merchant uses the message to redirect the cardholder to a "3D Secure" page served by the issuing bank</li>
<li>The cardholder authenticates themselves to the issuing bank on the 3D Secure page by entering an OTP (One Time Pin) or known password etc.</li>
<li>The result of this authentication is returned to Merchant.</li>
<li>The merchant submits the card information and the 3D Secure authentication result to our acquiring bank</li>
<li>Our acquiring bank authorises the transaction (by communicating with the credit card network and issuing bank)</li>
<li>The response (success or failure) is passed back up the chain to the cardholder.</li>
</ol>
<i>Note:<b> There are additional authentication and authorization process in this scenario. That is very important thing in the 3D secure.</b></i>