E-Commerce Payment Authentication Using Session ID and One-Time Tokens

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Man-in-the-middle (MITM) attacks pose a significant cybersecurity risk in electronic commerce transactions, compromising user payment data security and privacy, and existing systems often bring merchants within the scope of PCI compliance, increasing liability.

Innovation Solution

A two-factor authentication system using a session ID and a one-time token (OTT) is employed, with the iFrame processing user payment data through a PCI DSS validated service provider, ensuring each iFrame request is associated with a unique session ID and URL, and encrypting data transmission to mitigate MITM attacks and keep merchants out of PCI scope.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If payment data is processed directly through the merchant's information resource, then the transaction process is simple and direct, but the system becomes vulnerable to man-in-the-middle attacks and compromises user payment data security

Engineering Contradiction:
Improvepayment data securityVSAvoidpayment processing architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The payment processing system is segmented into distinct components: the merchant's information resource, the payment gateway, and the payment provider system. The payment gateway acts as a separate security layer that receives payment data from the merchant, validates it, and forwards it to the payment provider. This segmentation isolates the merchant from direct access to sensitive payment data, preventing MITM attacks while maintaining a manageable architecture through clear functional separation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The payment gateway serves as an intermediary between the merchant's information resource and the payment provider system. It receives payment data from the merchant, performs security validations, and forwards authorized transactions to the payment provider. This intermediary layer protects user payment data by ensuring it passes through security checks before reaching the payment provider, thereby preventing man-in-the-middle attacks while maintaining transaction flow efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If two-factor authentication with session ID and one-time token is implemented, then the security against MITM attacks is enhanced, but the authentication process becomes more complex and time-consuming

Engineering Contradiction:
Improveauthentication securityVSAvoidauthentication mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary authentication actions by first validating the session ID before processing any payment data. The one-time token is generated and validated in advance before the actual payment transaction occurs. This preliminary authentication ensures that only authorized users can initiate payments, enhancing security while the automated validation process minimizes manual intervention and time consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication mechanism incorporates feedback loops where the system validates the session ID and one-time token, provides feedback on authentication status, and only proceeds with payment processing if both factors are successfully verified. This feedback mechanism ensures secure authentication while the automated validation process maintains efficiency by immediately accepting or rejecting authentication attempts without requiring additional manual steps.

Inventive Principle:
Principle #23Feedback

3Reliability

If the payment gateway validates session ID and one-time token before processing payments, then the protection against unauthorized transactions is improved, but the processing time increases

Engineering Contradiction:
Improvetransaction authorizationVSAvoidpayment processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The payment gateway performs preliminary validation of the session ID and generation of the one-time token before the payment transaction is finalized. This preliminary action ensures that authentication is established in advance, and the actual payment processing can proceed quickly once the token is validated, thereby reducing overall processing time while maintaining strong authorization security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements rapid validation of the one-time token with a short expiration time, rushing through the authentication process quickly. The token is designed to be valid only for a limited duration, which accelerates the authentication process by creating urgency and reducing the window for potential attacks, thereby minimizing the time lost during authentication while ensuring thorough validation.

Inventive Principle:
Principle #21Skipping (Rushing through)

4Reliability

If the iFrame is used to decouple payment data processing from the merchant's resource, then the isolation of payment data is improved, but the implementation complexity increases

Engineering Contradiction:
Improvepayment data isolationVSAvoidsystem integration
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The iFrame acts as an intermediary element that embeds the payment gateway within the merchant's webpage but maintains logical separation. The payment data is processed within the isolated iFrame context, which communicates with the payment gateway through defined interfaces. This provides data isolation and security while the standardized interface mechanisms simplify integration complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the payment processing function into a separate iFrame that is embedded within the merchant's webpage. This segmentation allows the payment data to be processed in an isolated environment that is protected from direct access by the merchant's system, enhancing security while the embedding mechanism provides a straightforward integration approach that maintains user experience continuity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12632853B2Payment authentication system for electronic commerce transactions
Publication Date: 2026.05.19 AURUS
  • US12632853B2 patent drawing
  • US12632853B2 patent drawing
  • US12632853B2 patent drawing

AI summary

A payment managing system and method for enhancing the security of electronic user payment data can include employing a two factor authentication and keeping e-commerce host system outside the PCI scope. The two-factor authentication can include using a session ID and a one-time token (OTT). The session ID can identify a payment session that is initiated upon initiation of an e-commerce transaction. The payment managing system can provide a computing device initiating the transaction an iFrame to handle input user input data on an information resource. The OTT can be used to tokenize the user input data. The OTT can be included in payment authorization requests sent to the payment managing system. The payment managing system can obtain payment authorization without the user payment data being shared with e-commerce host systems.