Method for adapting to acquiring application and payment middleware
A middleware and configuration file technology, applied in data processing applications, payment architecture, software maintenance/management, etc., can solve problems such as poor adaptability, difficulty in unification, and complex processing of caller code, so as to improve adaptability performance, avoid upgrades, and reduce development effort
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] Please refer to figure 1 , a method for adapting an acquirer application, including steps:
[0080] S1. The payment middleware receives a call request from a third-party application to an acquiring application through a unified interface, the call request includes the identification of the acquiring application to be called, and the payment middleware is set on the third-party application and multiple between acquiring applications;
[0081] S2. The payment middleware reads the corresponding configuration file from the pre-stored script dynamic template according to the identification of the acquiring application to be called, and the script dynamic template includes the processing of parsing parameters and conditions set for different acquiring applications Corresponding scripts, wherein the dynamic template of the script is obtained through platform distribution, storage medium import or built-in payment middleware;
[0082] S3. The payment middleware converts the c...
Embodiment 2
[0088] The difference between this embodiment and Embodiment 1 is that it is further defined that invoking the acquirer application to be invoked according to the configuration file in step S3 to execute the invocation request includes:
[0089] Read the scripting language in the configuration file, execute the scripting language through a code parser, and call the unified interface provided by the payment middleware adapted to the scripting language during the execution of the scripting language to realize the treatment Invoking the invoking acquiring application and executing the invoking request;
[0090] Among them, once a new acquiring application needs to be added, only a new template file interface needs to be imported, and if an acquiring application needs to add or modify the processing flow of parameter conditions, when receiving the processing flow of adding parameter conditions or modifying parameter conditions , the payment middleware only needs to modify the corr...
Embodiment 3
[0095] The difference between this embodiment and Embodiment 1 is that steps S1 and S2 include:
[0096] The payment middleware judges whether it is cross-device according to the call request, and if so, transparently transmits the call request to another payment middleware on the device that can call the acquiring application to be called, and another The payment middleware on the device executes steps S2-S4 in sequence;
[0097] When the payment middleware on another device executes step S4, it converts the transaction result into a unified format and transparently transmits the transaction result to the payment middleware, and the payment middleware sends the transaction result to the third-party usage;
[0098] Among them, the payment middleware between different devices communicates through Bluetooth, network or serial port;
[0099] That is to say, this embodiment describes how to realize the adaptation of the acquiring application in the cross-device mode, Figure 5 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


