CN113268685A - Skip control method, device, system and medium for webpage aggregate payment - Google Patents

Skip control method, device, system and medium for webpage aggregate payment Download PDF

Info

Publication number
CN113268685A
CN113268685A CN202110773765.9A CN202110773765A CN113268685A CN 113268685 A CN113268685 A CN 113268685A CN 202110773765 A CN202110773765 A CN 202110773765A CN 113268685 A CN113268685 A CN 113268685A
Authority
CN
China
Prior art keywords
payment
url
order information
skip
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110773765.9A
Other languages
Chinese (zh)
Inventor
叶世立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nine Star Interactive Technology Co ltd
Original Assignee
Shenzhen Nine Star Interactive Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Nine Star Interactive Technology Co ltd filed Critical Shenzhen Nine Star Interactive Technology Co ltd
Publication of CN113268685A publication Critical patent/CN113268685A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a skip control method, a skip control device, a skip control system and a skip control medium for webpage aggregate payment, and belongs to the technical field of online payment. Generating a skip url of a corresponding third-party payment platform according to received order information and payment request instructions input by a user on a merchant webpage; starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page; and analyzing the skip url after the payment is completed or cancelled, acquiring order information, and skipping to the merchant webpage loaded with the corresponding order state when any browser application called currently is returned. According to the order state callback method and device, the skip url of the third-party payment platform is generated by combining the order information, and after payment is conducted on the third-party payment application, a user can skip to a webpage with an order state when returning to any browser application which is called currently through the skip url, so that the order state callback between different browsers or different terminals is achieved, and the compatibility of aggregate payment skip is improved.

Description

Skip control method, device, system and medium for webpage aggregate payment
Technical Field
The invention relates to the technical field of online payment, in particular to a skip control method, a skip control device, a skip control system and a skip control medium for webpage aggregate payment.
Background
At present, when various network malls are developed, third-party payment is required to be accessed, such as WeChat payment, Payment treasures and Internet banking payment, which are the most common, but the payment interfaces of each platform are different, and the cost is greatly improved regardless of development or maintenance, so in order to improve the development efficiency and reduce the maintenance cost, a common method is to aggregate all interfaces of the third-party payment platform to form an independent payment plug-in unit, all order payments are executed from the payment plug-in unit, namely only one uniform aggregation payment inlet is arranged, and skip payment is automatically identified according to a payment channel selected by a user.
However, when the merchant web payment, especially when the merchant web payment is performed through the mobile terminal, because the brand, model, and system version of the mobile terminal are numerous, the current aggregated payment has a compatibility problem, and when the payment skips and returns to the merchant web page, if the returned page is not the current order-placing page, for example, the mobile terminal opens a new merchant web window or opens a new browser, the problem that the previous order data of the user cannot be obtained occurs.
In chinese patent application CN111861452A, an aggregate payment method is disclosed, which comprises obtaining payment information of an order from a merchant; generating a first access request according to the payment information; receiving redirection address information generated based on the first access request; generating a second access request according to the redirection address information; receiving a payment request based on the second access request; and making a payment according to the payment request; the order information comprises one or more of an order number and/or order details; generating redirection address information through proxy service; the first access request comprises user side information, merchant side information, a code sending mechanism classification code and a receiving mechanism ID; the redirect address information also includes acquirer information. The method is used for aggregate payment during code scanning payment of the handheld terminal, cannot be applied to webpage payment, and still has the problem that previous order data of a user cannot be acquired if the returned page is not the current order page during webpage aggregate payment.
The defects of the prior art are as follows:
1. the existing aggregated payment has compatibility problems, and when payment is skipped and a merchant webpage is returned, if the returned webpage is not the current ordering page, the problem that previous order data of a user cannot be acquired occurs.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a skip control method, a device, a system and a medium for webpage aggregate payment, which are used for receiving order information and a payment request instruction input by a user on a merchant webpage and generating a skip url of a corresponding third-party payment platform according to the order information and the payment request instruction; starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page; and when the user completes or cancels the payment on the payment page, analyzing the skip url, and skipping to the merchant webpage loaded with the corresponding order state when returning to any browser application called currently according to the order information in the skip url obtained through analysis. According to the embodiment of the invention, the skip url of the third-party payment platform is generated by combining the order information, so that a user can skip to a webpage with an order state when returning to any browser application which is called currently through the skip url after payment operation is carried out on the third-party payment application, order state callback between different browsers or different terminals is realized, and the compatibility of aggregate payment skip is improved.
The invention provides a skip control method for webpage aggregate payment, which comprises the following steps:
receiving order information input by a user on a merchant webpage and a generated payment request instruction, and generating a skip url of a third-party payment platform according to the order information and the payment request instruction, wherein the third-party payment platform corresponds to a third-party payment platform requested in the payment request instruction;
starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page;
when the user finishes or cancels payment on the payment page, analyzing the skip url;
and according to the order information in the jump url obtained by analysis, when any browser application which is called currently is returned, jumping to a merchant webpage loaded with a corresponding order state.
Preferably, before receiving order information and payment request instructions input by a user at a merchant webpage, the method further comprises the following steps:
and obtaining payment codes SDKs corresponding to different third-party payment platforms in advance, and respectively implanting each payment code SDK into the payment plug-in of the merchant webpage.
Preferably, the method includes the steps of receiving order information and a payment request instruction input by a user on a merchant webpage, and generating a skip url of a third-party payment platform according to the order information and the payment request instruction, and specifically includes:
receiving order information and a payment request instruction input by a user on a merchant webpage, wherein the order information at least comprises website data, account data, order data and payment parameters;
encrypting the order information, submitting the encrypted order information to a merchant background, and performing handshake verification;
after the order information passes the verification, the order information is subjected to url coding processing;
calling a payment code SDK corresponding to a third-party payment platform according to the third-party payment platform currently selected by the user in the payment request instruction, and carrying out payment identification on payment parameters;
generating a payment url according to the payment identification result;
and splicing the order information processed by the url coding with the payment url to generate a jump url.
Preferably, encrypting the order information and submitting the encrypted order information to a merchant background for handshake verification, specifically comprising:
encrypting the order information through a preset public key and transmitting the encrypted order information to a merchant background;
and decrypting the encrypted order information by using a preset private key at the merchant background, and if the decryption is successful, passing the handshake verification.
Preferably, starting a corresponding third party payment application and loading a corresponding payment page according to the skip url specifically includes:
starting an intermediate page of a third-party payment platform currently selected by a user according to the skip url;
carrying out payment verification on the merchant webpage on the intermediate page;
after the payment verification is passed, starting a third party payment application corresponding to a third party payment platform currently selected by the user;
loading a corresponding payment page in the third party payment application.
Preferably, the payment verification of the merchant webpage on the intermediate page specifically includes:
and carrying out payment verification on the network environment parameter, the merchant parameter and the skip url aging parameter of the merchant webpage on the intermediate page.
Preferably, when the user completes or cancels the payment on the payment page, the skip url is analyzed, and according to the order information in the skip url obtained through analysis, when any browser application called currently is returned, the merchant webpage loaded with the corresponding order state is skipped to, specifically including:
detecting the payment state of the payment page;
when the payment is successful or cancelled, analyzing the skip url to obtain order information in the skip url;
when any browser application which is called currently is returned, skipping to a merchant webpage corresponding to the website data according to the website data in the order information;
and loading payment related information corresponding to the current order in the merchant webpage, wherein the payment related information comprises account data, order data and a payment state.
The invention also provides a skip control device for webpage aggregate payment, which comprises:
the url generation module is used for receiving order information and a payment request instruction input by a user on a merchant webpage and generating a jump url of a corresponding third-party payment platform according to the order information and the payment request instruction;
the skip starting module is used for starting the corresponding third-party payment application according to the skip url and loading the corresponding payment page;
and the analysis returning module is used for analyzing the jump url when the user completes or cancels the payment on the payment page, jumping to a merchant webpage corresponding to the website data according to the website data in the order information when returning any current invoked browser application according to the order information in the jump url obtained through analysis, and loading the payment related information corresponding to the current order.
The invention also provides a skip control system for webpage aggregate payment, which comprises at least one memory and at least one processor, wherein the at least one memory is in communication connection with the at least one processor;
the processor executes instructions stored in the memory which is in communication connection with the processor, and the instructions execute the jump control method of the webpage aggregate payment.
The invention also provides a nonvolatile computer readable storage medium, wherein the nonvolatile computer readable storage medium stores computer executable instructions which execute the jump control method of webpage aggregate payment.
Compared with the prior art, the invention has the following beneficial effects:
1. according to the invention, the skip url of the corresponding third-party payment platform is generated by combining the order information, so that a user can skip to a merchant webpage with an order state when returning to any browser application which is called currently through the skip url after payment operation is carried out on the third-party payment application, order state callback between different browsers or different terminals is realized, and the compatibility of aggregate payment skip is improved.
Drawings
FIG. 1 is a flow diagram of a jump control method of web page aggregate payments according to an embodiment of the invention;
FIG. 2 is a flow chart of a jump control method of webpage aggregate payment according to yet another embodiment of the invention;
FIG. 3 is a flowchart of receiving order information and a payment request instruction input by a user at a merchant webpage, and generating a skip url of a third party payment platform according to the order information and the payment request instruction according to an embodiment of the present invention;
FIG. 4 is a flow diagram of launching a corresponding third party payment application and loading a corresponding payment page in accordance with the jump url, in accordance with one embodiment of the present invention;
FIG. 5 is a flowchart of an embodiment of the present invention, in which when a user completes or cancels payment on a payment page, a jump url is parsed, and when any currently invoked browser application is returned, a jump is made to a merchant webpage loaded with a corresponding order status according to order information in the jump url obtained through parsing;
FIG. 6 is a flow diagram of a jump control method of web page aggregate payments according to an embodiment of the invention;
FIG. 7 is a schematic diagram of a jump control apparatus for webpage aggregate payment according to an embodiment of the invention;
FIG. 8 is a diagram of a jump control system for webpage aggregate payments, according to an embodiment of the invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings.
The invention provides a skip control method for webpage aggregate payment, which comprises the following steps:
receiving order information input by a user on a merchant webpage and a generated payment request instruction, and generating a skip url of a third-party payment platform according to the order information and the payment request instruction, wherein the third-party payment platform corresponds to a third-party payment platform requested in the payment request instruction;
starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page;
when the user finishes or cancels payment on the payment page, analyzing the skip url;
and according to the order information in the jump url obtained by analysis, when any browser application which is called currently is returned, jumping to a merchant webpage loaded with a corresponding order state.
As a preferred embodiment, before receiving order information and payment request instructions input by a user at a merchant webpage, the method further comprises the following steps:
and obtaining payment codes SDKs corresponding to different third-party payment platforms in advance, and respectively implanting each payment code SDK into the payment plug-in of the merchant webpage.
As a preferred embodiment, the method includes the steps of receiving order information and a payment request instruction input by a user on a merchant webpage, and generating a skip url of a third-party payment platform according to the order information and the payment request instruction, and specifically includes:
receiving order information and a payment request instruction input by a user on a merchant webpage, wherein the order information at least comprises website data, account data, order data and payment parameters;
encrypting the order information, submitting the encrypted order information to a merchant background, and performing handshake verification;
after the order information passes the verification, the order information is subjected to url coding processing;
calling a payment code SDK corresponding to a third-party payment platform according to the third-party payment platform currently selected by the user in the payment request instruction, and carrying out payment identification on payment parameters;
generating a payment url according to the payment identification result;
and splicing the order information processed by the url coding with the payment url to generate a jump url.
As a preferred embodiment, encrypting the order information and submitting the encrypted order information to a merchant background for handshake verification, specifically including:
encrypting the order information through a preset public key and transmitting the encrypted order information to a merchant background;
and decrypting the encrypted order information by using a preset private key at the merchant background, and if the decryption is successful, passing the handshake verification.
As a preferred embodiment, starting a corresponding third party payment application and loading a corresponding payment page according to the skip url specifically includes:
starting an intermediate page of a third-party payment platform currently selected by a user according to the skip url;
carrying out payment verification on the merchant webpage on the intermediate page;
after the payment verification is passed, starting a third party payment application corresponding to a third party payment platform currently selected by the user;
loading a corresponding payment page in the third party payment application.
As a preferred embodiment, the payment verification of the merchant webpage on the intermediate page specifically includes:
and carrying out payment verification on the network environment parameter, the merchant parameter and the skip url aging parameter of the merchant webpage on the intermediate page.
As a preferred embodiment, when the user completes or cancels payment on the payment page, the skip url is analyzed, and according to the order information in the skip url obtained through analysis, when any browser application called currently is returned, a merchant webpage loaded with a corresponding order state is skipped to, specifically including:
detecting the payment state of the payment page;
when the payment is successful or cancelled, analyzing the skip url to obtain order information in the skip url;
when any browser application which is called currently is returned, skipping to a merchant webpage corresponding to the website data according to the website data in the order information;
and loading payment related information corresponding to the current order in the merchant webpage, wherein the payment related information comprises account data, order data and a payment state.
The invention also provides a skip control device for webpage aggregate payment, which comprises:
the url generation module is used for receiving order information and a payment request instruction input by a user on a merchant webpage and generating a jump url of a corresponding third-party payment platform according to the order information and the payment request instruction;
the skip starting module is used for starting the corresponding third-party payment application according to the skip url and loading the corresponding payment page;
and the analysis returning module is used for analyzing the jump url when the user completes or cancels the payment on the payment page, jumping to a merchant webpage corresponding to the website data according to the website data in the order information when returning any current invoked browser application according to the order information in the jump url obtained through analysis, and loading the payment related information corresponding to the current order.
The invention also provides a skip control system for webpage aggregate payment, which comprises at least one memory and at least one processor, wherein the at least one memory is in communication connection with the at least one processor;
the processor executes instructions stored in the memory which is in communication connection with the processor, and the instructions execute the jump control method of the webpage aggregate payment.
The invention also provides a nonvolatile computer readable storage medium, wherein the nonvolatile computer readable storage medium stores computer executable instructions which execute the jump control method of webpage aggregate payment.
Example 1
Referring to fig. 1, a skip control method for webpage aggregate payment according to an embodiment of the present invention is described in detail.
The invention provides a skip control method for webpage aggregate payment, which comprises the following steps:
s100, receiving order information and a payment request instruction input by a user on a merchant webpage and generating a skip url of a corresponding third-party payment platform according to the order information and the payment request instruction;
s200, starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page;
s300, when the user completes or cancels the payment on the payment page, the jump url is analyzed, and the merchant webpage loaded with the corresponding order state is jumped to when the order information in the jump url obtained through analysis is returned to any browser application which is called currently.
In this embodiment, when a user purchases and pays for a commodity through a pre-established merchant website via a browser application of a mobile terminal, first receiving order information input by the user on a merchant webpage and a payment request instruction input by the user after confirming the order information, the user selecting a third party payment platform in the payment request instruction to pay for the order, generating a skip url (uniform resource locator) corresponding to the third party payment platform according to the order information and the payment request instruction, performing payment skip via the skip url, starting a corresponding third party payment application such as a WeChat, a Paibao, a network bank and the like, loading a corresponding payment page in the third party payment application, performing payment verification by receiving verification information such as a payment password and the like input by the user in the third party payment application, and after the user completes or cancels payment on the payment page, according to the generated jump url, analyzing and acquiring order information in the jump url, when returning to any browser application which is called currently through the order information, returning and skipping to the merchant webpage loaded with the corresponding order state, for example, returning to the order web page of the original browser application, or returning to the new web page window of the original browser application, or returning to other browser applications except the original browser application, or copying the jump url to open in the browser at the PC end, etc., namely, no matter which browser and which web page window the user jumps to after the payment operation is carried out, the order state of the current payment operation can be automatically identified according to the jump url, and the order state call-back between different browsers or different terminals is realized, and the compatibility of aggregate payment skip is effectively improved.
Example 2
Referring to fig. 2 to 6, a skip control method for web page aggregate payment according to another embodiment of the present invention will be described in detail.
The invention provides a skip control method for webpage aggregate payment, which comprises the following steps:
the method comprises the steps of obtaining payment codes SDKs corresponding to different third-party payment platforms in advance, and respectively implanting the payment codes SDKs into payment plug-ins of a merchant webpage;
in order to realize efficient and low-maintenance-cost aggregated payment of a unified portal, a payment code SDK (Software Development Kit) disclosed by different third-party payment platforms (such as WeChat, Payment treasure, Internet banking and the like) needs to be obtained in advance, that is, the payment code SDK of each third-party payment platform is an execution script code corresponding to a payment environment of third-party payment application, the payment code SDKs of the different third-party payment platforms are split and then implanted into a payment plugin of a merchant webpage, that is, a unified payment plugin is packaged, and the payment code SDKs of the different third-party payment platforms are aggregated and implanted into the plugin, so that aggregated payment identification skip of the unified payment portal is realized.
Receiving order information and a payment request instruction input by a user on a merchant webpage, wherein the order information at least comprises website data, account data, order data and payment parameters;
encrypting the order information, submitting the encrypted order information to a merchant background, and performing handshake verification, wherein the method specifically comprises the following steps:
encrypting the order information through a preset public key and transmitting the encrypted order information to a merchant background;
decrypting the encrypted order information by a preset private key at a merchant background, and if the decryption is successful, passing handshake verification;
after the order information passes the verification, the order information is subjected to url coding processing;
calling a payment code SDK corresponding to a third-party payment platform according to the third-party payment platform currently selected by the user in the payment request instruction, and carrying out payment identification on payment parameters;
generating a payment url according to the payment identification result;
splicing the order information processed by the url coding with the payment url to generate a skip url;
in this embodiment, when a skip url of a third-party payment platform is generated, corresponding order information is obtained according to details, quantity, price, and the like of a commodity selected and purchased by a user on a shopping mall web page, where the order information at least includes website data, account data, order data, and payment parameters, and specifically the website data includes a website of an order web page; the account data comprises a user name and a password of a current shopping mall web page login account; the order data comprises commodity details, quantity, unit price and total price in the current order; the payment parameters comprise a total transaction amount, a transaction type, a currency type, time and a merchant order number, when a user confirms that order information is correct, a payment request instruction can be input, specifically, after a certain third-party payment platform is selected, the order is clicked and submitted, and the payment request instruction is triggered; after the order information is encrypted, submitting the encrypted order information to a merchant background for handshake verification so as to ensure the transmission security of the current order information, and after the verification is passed, carrying out url coding processing on the order information to obtain order data in a url format for subsequent data processing; after the user triggers the payment request instruction, according to the selected third-party payment platform, through the payment codes SDK of different third-party payment platforms in the uniform payment plug-in, the received payment parameters are automatically identified, the background of the third-party payment platform generates a corresponding payment url according to the identification result and returns the payment url to the merchant background, the merchant background processes and encapsulates the received payment url and the order information which is processed and encapsulated into the url format by url coding, a uniform jump url is generated after splicing, jump payment and return are realized through the uniform jump url, the jump url of the third-party payment platform is generated by combining the order information during jump of the aggregated payment in the embodiment, the method and the device have the advantages that the requirement of skip payment is met, aggregate payment of a uniform interface is achieved, and the problem that the order page cannot be returned when the browser page changes due to the problem of poor compatibility of the mobile terminal can be avoided when skip returning is conducted.
Starting a corresponding third party payment application according to the skip url and loading a corresponding payment page, which specifically comprises the following steps:
starting an intermediate page of a third-party payment platform currently selected by a user according to the skip url;
carrying out payment verification on the merchant webpage on the intermediate page; the method specifically comprises the following steps:
payment verification is carried out on the network environment parameters, the merchant parameters and the skip url aging parameters of the merchant webpage on the intermediate page;
after the payment verification is passed, starting a third party payment application corresponding to a third party payment platform currently selected by the user;
loading a corresponding payment page in the third party payment application;
in the embodiment, the order information is encrypted and handshake verification is realized through a pair of keys, after the order information is obtained, the order information is encrypted through a preset public key and is transmitted to a merchant background, the merchant background decrypts the order information by using a preset private key matched with the preset public key after receiving the encrypted order information, if decryption is successful, a handshake verification process is completed, namely the preset public key and the preset private key are generated for the merchant background, wherein the preset public key is public, a front-end webpage can obtain the preset public key to encrypt the order information, and the merchant background performs handshake decryption by using the preset private key which is not public, so that information leakage of the order information in the transmission process is prevented, specifically, the order information is encrypted preferably by adopting asymmetric encryption modes such as RSA, ECC and the like, and the security of the asymmetric encryption mode is good, the method can effectively avoid the user information leakage caused by the leakage of the key in the transmission process.
In this embodiment, three types of payment verification need to be performed on the merchant webpage, where the payment verification of the network environment parameters is to verify whether a terminal IP delivered by a unified order placed by the merchant side is consistent with a terminal IP detected by a third-party payment platform when a user actually invokes payment, and whether a network during unified order placement and during invoking payment has a change, such as a WIFI network during order placement, when order placement is successful, the network is switched to a 4G network to invoke payment, at this time, payment verification failure is caused, it is considered that a security vulnerability exists in the network environment, and an operation prompt that the network environment fails security verification is output on a middle page; the payment verification of the merchant parameters is to verify parameters such as an authorized domain name and the like submitted by the merchant on the third-party payment platform, if the merchant parameters are not configured or are wrong, the payment verification fails, and an operation prompt that the merchant parameters are wrong is output on an intermediate page; the payment verification of the skip url aging parameter is to judge the time length of the skip url generated after the current order is placed, preset an effective time, for example, 5 minutes, if the time length of the skip url exceeds the effective time, it is indicated that the current skip url has failed the overtime payment verification, payment is started after a new skip url needs to be generated again, and an operation prompt of payment request overtime is output on a middle page, so that the timeliness and the safety of payment skip are ensured.
In this embodiment, when a payment skip is performed through the skip url, an intermediate page of a third-party payment platform currently selected by a user is called in a current browser according to the skip url, a payment check is performed on a merchant webpage in the intermediate page, for example, a wechat payment platform is taken as an example, after the user selects wechat payment and submits an order, a unified skip url is generated in a merchant background by combining order information and is output to a front-end browser, after the front-end browser obtains the skip url, the current browser skips to the intermediate page of the wechat payment first, the payment check is performed on the intermediate page, whether the current payment condition meets the platform requirement is determined, if the payment check fails, it is indicated that the current payment condition does not meet the requirement of the wechat payment platform, at this time, a third-party payment application, namely the wechat application, is not started, and a corresponding operation prompt is directly output to the user in the intermediate page, the power consumption waste and system blockage caused by the fact that the third-party payment application is still opened in the case of invalid payment are avoided, a user returns to adjust the current payment condition according to the corresponding operation prompt, the WeChat application corresponding to the WeChat payment platform is started until the payment verification is passed, the payment page is loaded in the WeChat application, the payment page comprises information such as a payee name, a commodity name and a transaction amount, the user can verify payment operations such as passwords, fingerprints and faces by clicking an 'immediate payment' button of the payment page, the fact that valid payment operations are carried out every time the third-party payment application is opened is guaranteed, and the payment efficiency of aggregated payment is improved.
Detecting the payment state of the payment page;
when the payment is successful or cancelled, analyzing the skip url to obtain order information in the skip url;
when any browser application which is called currently is returned, skipping to a merchant webpage corresponding to the website data according to the website data in the order information;
and loading payment related information corresponding to the current order in the merchant webpage, wherein the payment related information comprises account data, order data and a payment state.
In this embodiment, when the skip return is performed, the payment state of the payment page is detected first, if the payment is successful or the payment is cancelled, the skip url is analyzed to obtain order information therein, then the skip is performed in any browser application which is called currently, that is, the browser application which is originally returned to when the order is placed can be used, other browser applications can be started, or the skip url is copied to the browser application at the PC end for skipping, according to the website data in the order information, the skip is performed in the browser application which is called currently and returned to the merchant webpage corresponding to the website data, and the account data, the order data and the payment state corresponding to the current order are loaded in the returned merchant webpage, that is, after the user completes the payment or cancels the payment in the third party payment application, the skip return can be performed after automatically identifying the order information, the method has the advantages that whether the current browser or webpage called up is the browser and the webpage when placing an order is not needed to be considered, automatic identification jumping and information loading can be achieved through jumping order information in the url, information such as a login account, order details and a payment state of the current order is displayed for a user, and therefore the problem of browser payment compatibility between different mobile terminal brands, models, system versions and an aggregation payment interface is effectively solved.
Example 3
Referring to fig. 7, a skip control apparatus for web page aggregate payment according to an embodiment of the present invention will be described in detail.
The jump control device 1 for webpage aggregate payment provided by the invention comprises:
the generation module 11 is used for receiving order information and a payment request instruction input by a user on a shopping mall webpage and generating a skip url of a corresponding third-party payment platform according to the order information and the payment request instruction;
the skip starting module 12 is used for starting the corresponding third-party payment application according to the skip url and loading the corresponding payment page;
and the analysis returning module 13 is configured to analyze the skip url after the user completes or cancels the payment on the payment page, and when returning to any currently invoked browser application according to the order information in the skip url obtained through analysis, skip to a mall web page loaded with a corresponding order state according to the website data in the order information.
The generating module 11, the jump starting module 12, and the parsing and returning module 13 are connected in sequence, and for a specific implementation, reference is made to the corresponding method embodiment described above, which is not described herein again.
Example 4
Referring to fig. 8, a skip control system for web page aggregate payment according to an embodiment of the present invention will be described in detail.
The skip control system 10 for webpage aggregate payment provided by the invention comprises:
one or more processors 110 and a memory 120, where one processor 110 is illustrated in fig. 4, the processor 110 and the memory 120 may be connected by a bus or other means, and fig. 4 illustrates a connection by a bus as an example.
Processor 110 is used to implement various control logic for system 10, which may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a single chip, an ARM (Acorn RISC machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Also, the processor 110 may be any conventional processor, microprocessor, or state machine. Processor 110 may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The memory 120 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the skip control method for webpage aggregate payment in the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the system 10, i.e., implementing the jump control method of web page aggregate payment in the above-described method embodiments, by running the nonvolatile software programs, instructions, and units stored in the memory 120.
The memory 120 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the system 10, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from processor 110, which may be connected to system 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more units are stored in the memory 120, and when executed by the one or more processors 110, perform the jump control method of web page aggregate payment in any of the above-described method embodiments, for example, performing the above-described method steps S100 to S300 in fig. 1, and may also perform the method shown in fig. 2.
Example 5
The present invention also provides a non-transitory computer-readable storage medium storing computer-executable instructions for execution by one or more processors, for example, to perform steps S100-S300 of the method of fig. 1 described above, and also to perform the method shown in fig. 2.
By way of example, non-volatile storage media can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Synchronous RAM (SRAM), dynamic RAM, (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The disclosed memory components or memory of the operating environment described herein are intended to comprise one or more of these and/or any other suitable types of memory.
Example 6
There is also provided, in accordance with a particular embodiment of the present invention, a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a processor, cause the processor to perform the jump control method for webpage aggregate payment of the above-described method embodiment. For example, the method shown in fig. 2 may also be performed by performing the method steps S100 to S300 in fig. 1 described above.
In summary, in the skip control method, device, system and medium for webpage aggregate payment disclosed by the invention, the method receives the order information and the payment request instruction input by the user on the webpage of the mall, and generates the skip url of the corresponding third-party payment platform according to the order information and the payment request instruction; starting a corresponding third-party payment application according to the skip url, and loading a corresponding payment page; and when the user finishes or cancels the payment on the payment page, analyzing the jump url, and jumping to the mall webpage loaded with the corresponding order state when returning to any browser application called currently according to the order information in the jump url obtained through analysis. According to the embodiment of the invention, the skip url of the corresponding third-party payment platform is generated by combining the order information, so that a user can skip to a shopping mall webpage with an order state when returning to any currently-called browser application through the skip url after payment operation is carried out on the third-party payment application, order state callback between different browsers or different terminals is realized, and the compatibility of aggregate payment skip is improved.
The above-described embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. With this in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer electronic device (which may be a personal computer, a server, or a network electronic device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and a certain sequence does not necessarily exist between the above steps, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention, and in different embodiments, the above steps may have different execution sequences, that is, may be executed in parallel, or may be executed interchangeably. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A jump control method for webpage aggregate payment is characterized by comprising the following steps:
receiving order information input by a user on a merchant webpage and a generated payment request instruction;
generating a skip url of a third-party payment platform according to the order information and the payment request instruction, wherein the third-party payment platform corresponds to the third-party payment platform requested in the payment request instruction;
starting a corresponding third-party payment application according to the skip url and loading a corresponding payment page;
when the user finishes or cancels payment on the payment page, analyzing the skip url;
and according to the order information in the jump url obtained by analysis, when any browser application which is called currently is returned, jumping to a merchant webpage loaded with a corresponding order state.
2. The jump control method for webpage aggregate payment according to claim 1, further comprising, before receiving order information and payment request instruction input by a user at a merchant webpage, the following steps:
and obtaining payment codes SDKs corresponding to different third-party payment platforms in advance, and respectively implanting each payment code SDK into the payment plug-in of the merchant webpage.
3. The jump control method for webpage aggregate payment according to claim 1, wherein receiving order information and a payment request instruction input by a user at a merchant webpage, and generating a jump url of a third party payment platform according to the order information and the payment request instruction specifically comprises:
receiving order information and a payment request instruction input by a user on a merchant webpage, wherein the order information at least comprises website data, account data, order data and payment parameters;
encrypting the order information, submitting the encrypted order information to a merchant background, and performing handshake verification;
after the order information passes the verification, the order information is subjected to url coding processing;
calling a payment code SDK corresponding to a third-party payment platform according to the third-party payment platform currently selected by the user in the payment request instruction, and carrying out payment identification on payment parameters;
generating a payment url according to the payment identification result;
and splicing the order information processed by the url coding with the payment url to generate a jump url.
4. The jump control method for webpage aggregate payment according to claim 3, wherein encrypting the order information and submitting the encrypted order information to a merchant background for handshake verification comprises:
encrypting the order information through a preset public key and transmitting the encrypted order information to a merchant background;
and decrypting the encrypted order information by using a preset private key at the merchant background, and if the decryption is successful, passing the handshake verification.
5. The skip control method for webpage aggregate payment according to claim 1, wherein starting a corresponding third party payment application and loading a corresponding payment page according to the skip url specifically includes:
starting an intermediate page of a third-party payment platform currently selected by a user according to the skip url;
carrying out payment verification on the merchant webpage on the intermediate page;
after the payment verification is passed, starting a third party payment application corresponding to a third party payment platform currently selected by the user;
loading a corresponding payment page in the third party payment application.
6. The jump control method for webpage aggregate payment according to claim 5, wherein the payment verification of the merchant webpage on the intermediate page specifically comprises:
and carrying out payment verification on the network environment parameter, the merchant parameter and the skip url aging parameter of the merchant webpage on the intermediate page.
7. The jump control method for webpage aggregate payment according to claim 1, wherein when a user completes or cancels payment on the payment page, the jump url is parsed, and according to order information in the jump url obtained through parsing, when an arbitrary browser application called currently is returned, a merchant webpage loaded with a corresponding order state is jumped to, specifically comprising:
detecting the payment state of the payment page;
when the payment is successful or cancelled, analyzing the skip url to obtain order information in the skip url;
when any browser application which is called currently is returned, skipping to a merchant webpage corresponding to the website data according to the website data in the order information;
and loading payment related information corresponding to the current order in the merchant webpage, wherein the payment related information comprises account data, order data and a payment state.
8. A jump control device for webpage aggregate payment is characterized by comprising:
the url generation module is used for receiving order information and a payment request instruction input by a user on a merchant webpage and generating a jump url of a corresponding third-party payment platform according to the order information and the payment request instruction;
the skip starting module is used for starting the corresponding third-party payment application according to the skip url and loading the corresponding payment page;
and the analysis returning module is used for analyzing the jump url when the user completes or cancels the payment on the payment page, jumping to a merchant webpage corresponding to the website data according to the website data in the order information when returning any current invoked browser application according to the order information in the jump url obtained through analysis, and loading the payment related information corresponding to the current order.
9. A skip control system for webpage aggregate payment is characterized by comprising at least one memory and at least one processor, wherein the at least one memory is in communication connection with the at least one processor;
the processor executes instructions stored on the memory in communicative connection therewith, the instructions performing the jump control method of web page aggregate payments of any of claims 1-7.
10. A non-transitory computer readable storage medium storing computer executable instructions for performing the skip control method for webpage aggregate payments according to any one of claims 1 to 7.
CN202110773765.9A 2021-03-26 2021-07-08 Skip control method, device, system and medium for webpage aggregate payment Pending CN113268685A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110328515.4A CN112966196A (en) 2021-03-26 2021-03-26 Skip control method, device, system and medium for webpage aggregate payment
CN2021103285154 2021-03-26

Publications (1)

Publication Number Publication Date
CN113268685A true CN113268685A (en) 2021-08-17

Family

ID=76278592

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110328515.4A Pending CN112966196A (en) 2021-03-26 2021-03-26 Skip control method, device, system and medium for webpage aggregate payment
CN202110773765.9A Pending CN113268685A (en) 2021-03-26 2021-07-08 Skip control method, device, system and medium for webpage aggregate payment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110328515.4A Pending CN112966196A (en) 2021-03-26 2021-03-26 Skip control method, device, system and medium for webpage aggregate payment

Country Status (1)

Country Link
CN (2) CN112966196A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947398A (en) * 2021-10-19 2022-01-18 北京有竹居网络技术有限公司 Payment method, payment device, electronic equipment and computer readable medium
CN114217890A (en) * 2021-11-18 2022-03-22 深圳市优克联新技术有限公司 Interface control method and device, aggregation payment platform and storage medium
CN115018484A (en) * 2022-06-06 2022-09-06 易联支付有限公司 Skip payment method, aggregate payment platform, storage medium and computer equipment
CN115018485A (en) * 2022-06-06 2022-09-06 易联支付有限公司 Aggregated payment operation management platform and aggregated payment method
CN115049377A (en) * 2022-06-06 2022-09-13 易联支付有限公司 Main scanning payment method, aggregation payment platform, storage medium and computer equipment

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537994A (en) * 2021-06-25 2021-10-22 浙江吉利控股集团有限公司 Resource transfer method, device, equipment and medium
CN113657890A (en) * 2021-08-04 2021-11-16 支付宝(杭州)信息技术有限公司 Page rebound method and device
CN114372791A (en) * 2022-01-10 2022-04-19 中国民航信息网络股份有限公司 Order payment method, device and server
CN114707976A (en) * 2022-03-24 2022-07-05 中国银联股份有限公司 Payment method, user terminal, device, equipment, system and medium
CN114493564B (en) * 2022-03-31 2022-09-02 深圳九星互动科技有限公司 Webpage aggregate payment skip system and method based on delayed response

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592215A (en) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 Rapid online payment method and server
CN106557962A (en) * 2015-09-24 2017-04-05 腾讯科技(深圳)有限公司 Method of payment, apparatus and system
CN112232794A (en) * 2020-09-11 2021-01-15 微民保险代理有限公司 Payment method and device, storage medium and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592215A (en) * 2011-12-31 2012-07-18 北京百度网讯科技有限公司 Rapid online payment method and server
CN106557962A (en) * 2015-09-24 2017-04-05 腾讯科技(深圳)有限公司 Method of payment, apparatus and system
CN112232794A (en) * 2020-09-11 2021-01-15 微民保险代理有限公司 Payment method and device, storage medium and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113947398A (en) * 2021-10-19 2022-01-18 北京有竹居网络技术有限公司 Payment method, payment device, electronic equipment and computer readable medium
CN114217890A (en) * 2021-11-18 2022-03-22 深圳市优克联新技术有限公司 Interface control method and device, aggregation payment platform and storage medium
CN115018484A (en) * 2022-06-06 2022-09-06 易联支付有限公司 Skip payment method, aggregate payment platform, storage medium and computer equipment
CN115018485A (en) * 2022-06-06 2022-09-06 易联支付有限公司 Aggregated payment operation management platform and aggregated payment method
CN115049377A (en) * 2022-06-06 2022-09-13 易联支付有限公司 Main scanning payment method, aggregation payment platform, storage medium and computer equipment
CN115049377B (en) * 2022-06-06 2023-09-15 易联支付有限公司 Main scanning payment method, aggregate payment platform, storage medium and computer equipment

Also Published As

Publication number Publication date
CN112966196A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN113268685A (en) Skip control method, device, system and medium for webpage aggregate payment
US11640600B2 (en) Using on-demand applications to process encrypted data from a contactless card
CN105512881B (en) A kind of method and terminal for completing payment based on two dimensional code
US9530126B2 (en) Secure mobile payment processing
CN105099688A (en) Operation method for electronic account, display method and apparatus for payment page
US6654600B1 (en) Method and apparatus for authorizing use of cellular telephone units
US20140214671A1 (en) Server side mobile payment processing and authentication
US9819687B2 (en) Reducing web browsing overheads with external code certification
CN103561040A (en) File downloading method and system
CN112150136A (en) Payment method, system and device for embedded webpage in application
CN103281187A (en) Security authentication method, equipment and system
CN115082185A (en) Method, device, equipment and medium for channel fast access loan service system
CN110969428A (en) Static two-dimensional code payment method and device based on mobile terminal
CN108846741B (en) Payment processing method and approval document processing method
CN102055764A (en) Method and device for monitoring operation of accessing business system
CN105100145B (en) Obtain the method and device thereof with interacting user information
CN115499122B (en) External partner access method, electronic device, and computer storage medium
US11436601B2 (en) Pre-built user interface for payment system and method
CN110942297A (en) Two-dimensional code payment method and system for mobile terminal
CN111105304B (en) Data processing method and device, storage medium and electronic terminal
CN109801075A (en) Method of payment, device, computer equipment and storage medium
CN112947963A (en) Interface operation and maintenance method and device, computer equipment and storage medium
CN118138620A (en) Financial business transaction routing method and device based on OpenAPI technology
CN116091056A (en) U-shield-based transaction method and device, computer storage medium and electronic equipment
CN117580002A (en) Service handling method, system and device based on mobile terminal information distribution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210817