A WeChat payment-based online payment method and device suitable for a conference system

By adopting an online payment method based on WeChat Pay in the conference system, the convenience, security and applicability limitations of traditional payment methods have been resolved, fast and secure conference fee payment has been achieved, market coverage has been expanded and user experience has been improved.

CN119784373BActive Publication Date: 2025-10-14ZHEJIANG UNIV HIGH-END EQUIP RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411830227.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-10-14
Estimated Expiration
2044-12-12

AI Technical Summary

Technical Problem

Existing conference payment methods have limitations in convenience, security, cost and scope of application, and cannot meet the fast and secure payment needs of modern conferences.

Method used

An online payment method based on WeChat Pay is adopted. Users fill in registration information, generate payment orders, lock user information, use the WeChat Pay platform to generate pre-payment transaction links and scan code payments. Combined with distributed locks and database transaction processing, the security and consistency of the payment process are ensured.

Benefits of technology

It provides a fast and secure payment method, broadens the market coverage of conference systems, and improves user experience and conference organization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119784373B_ABST
    Figure CN119784373B_ABST
Patent Text Reader

Abstract

The application discloses a kind of online payment method and device based on wechat payment suitable for meeting system, including: user fills out registration information, after registration fee related information, meeting payment system gives required cost, user sends payment request, meeting payment system generates user registration order and payment order, simultaneously, it is called the ordering interface of wechat payment platform to generate prepayment transaction, and according to prepayment transaction link, payment two-dimensional code is generated for user to scan code, after completion, wechat payment platform asynchronously informs meeting system payment result, meeting payment system updates local payment state and user registration order state, and prompts registration success to user.The application provides a kind of quick, safe payment mode to handle meeting fee payment, improves user experience and meeting organization efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of Internet, and particularly relates to an online payment method and device based on WeChat payment suitable for a conference system. BACKGROUND

[0002] As an important platform for business communication, the conference system is a key link to ensure the smooth progress of the conference, which involves the collection of conference fees, financial management and settlement and other aspects. An effective conference payment system can ensure the timely, accurate and secure processing of conference fees, which is crucial for improving conference organization efficiency and participant experience. However, the traditional payment method has been unable to meet the needs of modern conferences, and conference participants need a quick and secure payment method to handle conference fees. The existing conference payment methods such as cash settlement, bank transfer, credit card payment and the like have serious shortcomings. For example, the limitation of cash settlement is that the payment amount is limited and cannot meet the demand of large payment, and the limitation of bank transfer is that although it is safe, the transfer time is long, which is not conducive to immediate settlement, and when it involves cross-border transactions, it may generate additional handling fees and exchange rate losses, and it also involves complex financial management and accounting, and there is a problem of fund occupation, which is not flexible for small or temporary organized conferences. In short, the existing conference payment methods have great limitations in convenience, security, cost and scope of application. Therefore, new payment solutions are needed, such as payment methods based on mobile payment platforms, which are of great significance for improving conference payment efficiency and user experience. SUMMARY

[0003] In view of the deficiencies of the prior art, the present application provides an online payment method and device based on WeChat payment suitable for a conference system, which is used in the scene of online payment of conference fees by conference participants.

[0004] The specific technical solutions are as follows:

[0005] An online payment method based on WeChat payment suitable for a conference system, comprising the following steps:

[0006] S1: The user fills in the registration information, selects the registration fee related information and submits it to the conference payment system; the registration fee related information includes: conference registration fee, hotel accommodation, catering; the conference payment system calculates the required fee of the user according to the registration fee related information and shows it to the user, and saves the registration information in the database;

[0007] S2: the user selects to start payment, sends a payment request to the conference payment system; the conference payment system checks whether there is a valid registration order for the user, if yes, executes S3; if not, executes S4; the registration order includes: registration order ID, associated user ID, associated payment order ID, registration order status, order total amount; the registration order status includes: successfully completed, not paid, cancelled; the cancelled registration order is invalid; the payment order is generated according to the registration order and is associated with the registration order;

[0008] S3: pre-checking the existing registration order, judging whether the existing registration order is completed, if yes, prompting the user that the payment is completed, ending the payment process; if not, closing the existing payment order, cancelling the existing registration order, and releasing the inventory of the accommodation room type selected by the user;

[0009] S4: generating a new registration order, locking the user registration information associated with the new registration order, and reducing the inventory of the accommodation room type selected by the user;

[0010] S5: generating a payment order, calling the order interface of the WeChat payment platform to generate a prepayment transaction, the WeChat payment platform returning a prepayment transaction link to the conference payment system, and the conference payment system saving the prepayment transaction link in the payment order information;

[0011] S6: the conference payment system generates a payment QR code according to the prepayment transaction link and displays it to the user;

[0012] S7: the user scans the QR code and returns the prepayment transaction link to the WeChat payment platform, the WeChat payment platform verifies the validity of the prepayment transaction link, and returns the user for payment authorization; the user inputs a payment password and submits the payment authorization to the WeChat payment platform, the WeChat payment platform verifies the payment authorization, and completes the payment transaction;

[0013] S8: the WeChat payment platform asynchronously notifies the conference payment system of the payment result, the conference payment system updates the local payment state, and prompts the user that the registration is successful.

[0014] Further, the S3 is implemented through the following sub-steps:

[0015] S3.1: judging whether the state of the existing registration order is successfully completed, if yes, executing S3.5, otherwise executing S3.2;

[0016] S3.2: confirming whether the state of the payment order is not paid, if yes, executing S3.3; if not, it is indicated that the state of the payment order is closed, and S4 is directly executed;

[0017] S3.3: the conference payment system applies for payment state synchronization to the WeChat payment platform;

[0018] S3.4: Confirm whether the status of the payment order is paid, if yes, execute S3.5; if no, end the pre-check and jump to execute S4;

[0019] S3.5: Prompt the user that the payment has been completed and there is no need to repeat the payment, and end the payment process.

[0020] Further, the user registration information includes: name, contact information, email, participation identity, affiliated unit or school, and invoice information.

[0021] Further, the registration order is provided with an expiration time, and the registration information associated with the registration order is locked within the expiration time. After the expiration time is exceeded, the registration order is invalid.

[0022] Further, there are two ways to unlock the locked registration information:

[0023] (1) The user actively cancels the registration order, and the registration information is unlocked at the same time the registration order is canceled;

[0024] (2) Set a timing task to check the invalid registration orders in the database at regular intervals, and cancel these invalid registration orders;

[0025] After the registration order is canceled, the accommodation room type inventory occupied by the registration order is released, the status of the registration order is updated to canceled, the status of the payment order is updated to closed, and a general closing interface provided by the WeChat payment platform is called to close the prepayment transaction associated with the payment order.

[0026] Further, the information of the payment order includes: payment order ID, associated registration order ID, WeChat prepayment transaction link, payment completion time, payment order status, order total amount, payer information, payment scene description, payment product description, and expiration time; the payment order status includes: paid, unpaid, and closed.

[0027] Further, when the registration order and payment order status are updated, a distributed lock is set in a distributed high-concurrency scenario to prevent inconsistent data, and a database transaction is also set.

[0028] Further, the two-dimensional code is provided with an expiration time, and the user needs to complete the payment within the specified expiration time; after the expiration time is exceeded, the user needs to refresh the payment two-dimensional code to make a new payment, and the conference payment system generates a new payment two-dimensional code to display to the user.

[0029] The application discloses an online payment device based on WeChat payment suitable for a conference system, and relates to the technical field of online payment.

[0030] The registration and online payment page rendering module is used for rendering a front-end page for user registration and provides an interactive operation interface for user registration and online payment, and does not contain business data flow storage processing logic.

[0031] The conference online payment module is used for providing online payment for conference fees, and comprises a conference registration information management module, a conference online payment submodule, a WeChat payment platform asynchronous callback processing submodule and a timing CronJob submodule.

[0032] The conference registration information management module is used for managing registration information filled by users and registration fee related information selected by users; the registration information and the registration fee related information can be modified in an unlocked state.

[0033] The conference online payment module is used for processing online payment applications of users, generating registration orders and payment orders, locking user registration information and interacting with a WeChat payment platform for a prepayment transaction link and a two-dimensional code of a user.

[0034] The WeChat payment platform asynchronous callback processing module is used for processing asynchronous notifications of whether payment is completed pushed by the WeChat payment platform; the WeChat payment platform carries out asynchronous notification pushing according to a callback address of the conference payment system configured when a prepayment transaction link is generated.

[0035] The timing CronJob submodule is used for processing invalid registration orders in a timing manner.

[0036] The WeChat client is used for enabling users to scan a code to pay conference fees.

[0037] The WeChat payment platform is used for implementing core logic of WeChat payment, interacting with the conference payment system and completing payment related functions, and comprises generating a prepayment transaction link, prepayment transaction link single, payment result asynchronous notification and payment authorization verification.

[0038] The database is used for storing data generated by conference registration and online payment, and comprises user registration information, registration fee related information, registration order information and payment order information.

[0039] Further, the data communication between the registration and online payment page rendering module and the conference online payment module, between the conference online payment module and the WeChat payment platform, and between the WeChat client and the WeChat payment platform adopts the HTTPS form.

[0040] The present application has the following advantages:

[0041] The present application provides a quick and safe payment method to process conference fee payment, widens the market coverage of the conference system, and improves user experience and conference organization efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0042] Figure 1 is a flowchart of the online payment method based on WeChat payment suitable for the conference system in the embodiments of the present application.

[0043] Figure 2 is a functional module schematic diagram of the online payment device based on WeChat payment suitable for the conference system in the embodiments of the present application.

[0044] In the figure, the registration and online payment page rendering module 100; the conference online payment module 200, the conference registration information management module 201, the conference online payment submodule 202, the WeChat payment platform asynchronous callback processing submodule 203, the timing CronJob submodule 204; the WeChat client 300, the WeChat payment platform 400, and the database 500. DETAILED DESCRIPTION

[0045] The present application will be described in detail below according to the drawings and preferred embodiments, and the purposes and effects of the present application will become more apparent. The present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0046] As shown in Figure 1 , an online payment method based on WeChat payment suitable for a conference system specifically includes the following steps:

[0047] S001: A user (usually a conference participant) fills in the registration information and selects the registration fee related information. The user registration information includes name, contact information, email, participant identity, affiliated unit or school, invoice information, etc. The registration fee related information includes conference registration fee, hotel accommodation, catering, etc.

[0048] S002: The conference payment system calculates the total required fee according to the registration fee related information, saves the corresponding registration information in the database, and finally displays the total fee to the user.

[0049] S003: The user selects to start payment and sends a payment request to the conference payment system.

[0050] S004: The conference payment system checks whether there is a valid registration order for the user, and if so, performs S005 for pre-checking; if not, it jumps to perform S007.

[0051] The registration order includes: registration order ID (unique identifier), associated user ID, associated payment order ID (payment order unique identifier), registration order status (including "successful", "unpaid", "canceled" three states, where "canceled" indicates that the registration order is invalid), total order amount, expiration time.

[0052] Among them, the payment order is generated according to the registration order and is associated with it. The information of the payment order includes: payment order ID (unique identifier), associated registration order ID (registration order unique identifier), WeChat prepayment transaction link, payment completion time, payment order status (including "paid", "unpaid", "closed" three states), total order amount, payer information, payment scenario description, payment description of goods (i.e. the description of the registration and competition fee of the conference), expiration time.

[0053] S005: Pre-checking the existing registration order to avoid duplicate payment, which is implemented through the following sub-steps:

[0054] (S5.1) Determine whether the state of the existing registration order is "successful", if so, jump to perform (S5.5), otherwise perform (S5.2).

[0055] (S5.2) Since the existing registration order corresponds to a valid payment order, and on the conference payment system side, the states of the registration order and the payment order are kept consistent by using database transactions, for example, when the payment is successful, the payment order state is updated to "paid" at the same time The registration order state is also updated to "successful", so the state of the payment order at this time cannot be "paid", but only in the "unpaid" or "closed" state. However, since the result of the WeChat payment platform notifying the merchant system (here, the conference payment system) of the successful payment is asynchronous, the payment status may not be consistent between the WeChat payment platform and the conference payment system side, so the intermediate state is difficult to confirm, and therefore it is necessary to further confirm whether the state of the payment order is unpaid, if so, perform (S5.3); if not, it means that the state of the payment order is "closed", and directly jump to perform S006.

[0056] (S5.3) Remote (WeChat payment platform) to local (conference payment system) payment state synchronization. Since the WeChat payment platform will asynchronously notify the merchant system (here is the conference payment system) of the payment success result, there is a synchronization lag between the payment order state of the conference payment system and the prepayment transaction state of the WeChat payment platform, which cannot always be consistent. Therefore, when (S5.2) judges that the state of the payment order is not paid, the conference payment system needs to actively pull the payment state information of the prepayment transaction from the WeChat payment platform once (i.e. to perform a payment state synchronization), and then update it to the conference payment system.

[0057] (S5.4) Confirm whether the state of the payment order is paid, if paid, execute (S5.5), if not paid, end the pre-check and jump to S006.

[0058] (S5.5) Remind the user that the payment has been completed and does not need to be repeated, and end the payment process.

[0059] S006: Close the existing payment order, cancel the existing registration order, and release the occupied hotel inventory. Specifically:

[0060] Call the open general close order interface provided by the WeChat payment platform to close the prepayment transaction associated with the existing registration order, update the corresponding payment order state to closed, and update the state of the existing registration order to canceled, and then release the hotel inventory occupied by the registration order. Here, in a distributed high-concurrency scenario, a distributed lock also needs to be added to prevent data inconsistency. At the same time, a database transaction needs to be added to keep the related database operations atomic, consistent, and isolated.

[0061] S007: Generate a new registration order and lock the user registration information. Specifically:

[0062] Generate a new registration order, add an expiration time to the registration order, for example, 30 minutes, and associate it with the user registration information, and lock the user registration information for the expiration time, during which the user is not allowed to modify the registration information. After the expiration time, the registration order state is ready to be updated to "canceled".

[0063] And there are two ways to unlock the corresponding registration information: the first is that the user actively cancels the registration order, and as soon as the registration order is canceled, the user registration information is unlocked, and after unlocking, the user can modify the registration information; The second is to start a timed CronJob (task) to check the expired registration orders in the database, and then the system automatically cancels these expired registration orders. However, the implementation logic of the two ways to cancel the registration order is consistent, and the steps are as follows:

[0064] (1) Release the hotel room type inventory occupied by the registration order.

[0065] (2) Update the status of the registration order to "Cancelled".

[0066] (3) Update the status of the payment order corresponding to the registration order to "Closed", and directly call the open and general close order interface provided by the WeChat payment platform to close the prepayment transaction order associated with the payment order.

[0067] S008: The hotel room type selected by the user is deducted from the inventory. The hotel room type arranged for each conference is limited by the inventory, so the corresponding hotel room type selected by the user is subjected to a deduction operation.

[0068] S009: Generate a payment order and call the order interface of the WeChat payment platform. Specifically:

[0069] According to the registration order, a payment order is generated, the payment order and the registration order are associated, and then the WeChat payment platform provides an open and general order interface according to the payment order.

[0070] S010: The order interface of the WeChat payment platform generates a prepayment transaction, returns the prepayment transaction link to the merchant system, and the conference payment system saves the prepayment transaction link in the payment order information. The ID (unique identifier) of the payment order corresponds to TradeNo in the prepayment transaction of the WeChat payment platform, which is used to uniquely identify an order on the WeChat payment platform side.

[0071] S011: The conference payment system generates a payment QR code according to the prepayment transaction link, and then displays the payment QR code picture to the user. The payment QR code corresponding to the payment order also has a validity time, and the user needs to complete the payment within the specified validity time. Once the payment QR code is invalid, the user needs to refresh the payment QR code to pay again, and the conference payment system will generate a new payment QR code and display it to the user.

[0072] S012: The user opens the WeChat client and uses the scan function to submit the prepayment transaction link. Specifically, the user opens the mobile WeChat client, uses the WeChat scan function, scans out the prepayment transaction link, and submits it to the WeChat payment platform.

[0073] S013: The WeChat payment platform verifies the validity of the prepayment transaction link and returns the user for payment authorization.

[0074] S014: The user confirms the payment, inputs the WeChat payment password, and submits the payment authorization to the WeChat payment platform.

[0075] S015: The WeChat payment platform verifies the payment authorization, completes the payment transaction, and asynchronously notifies the merchant system of the payment result.

[0076] S016: The conference payment system processes asynchronous callback of the WeChat payment platform, and updates the local payment state. Specifically, the conference payment system processes asynchronous callback of the WeChat payment platform, and updates the local payment state.

[0077] After the conference payment system receives the result of successful payment, the payment state is synchronized to the payment order on the conference payment system side, and the state of the user's registration order is modified to payment success. The user's registration information is permanently locked and cannot be modified, that is, the conference registration is successful.

[0078] S017: The user is shown that the registration and payment are successful, and the conference registration is successful.

[0079] In order to realize the online payment method based on the WeChat payment suitable for the conference system, the embodiment of the application also provides an online payment device based on the WeChat payment suitable for the conference system, as shown in the accompanying drawings, the device comprises: a registration and online payment page rendering module 100, a conference online payment module 200, a WeChat client 300, a WeChat payment platform 400, and a database 500. The registration and online payment page rendering module 100, the conference online payment module 200, and the database 500 belong to the conference payment system. Figure 2

[0080] The registration and online payment page rendering module 100 is used for front-end page rendering of user registration and conference, and provides an interactive operation interface for user registration and online payment, and does not include business data flow storage and processing logic.

[0081] The conference online payment module 200 is used for providing online payment of conference fees related business, and comprises: a conference registration information management module 201, a conference online payment submodule 202, a WeChat payment platform asynchronous callback processing submodule 203, and a timing CronJob submodule 204.

[0082] The conference registration information management module 201 is used for managing user registration information, and the user fills in and submits the registration information and selects registration fee related information. The registration information and the registration fee related information can be modified in an unlocked state.

[0083] The conference online payment module 202 is used for processing online payment application of the user, generating a registration order and a payment order, locking the user registration information, then interacting with the WeChat payment platform, the WeChat payment platform generating a prepayment transaction link, returning to the conference payment system, and finally generating a payment two-dimensional code according to the prepayment transaction link and returning to the user for scanning code payment.

[0084] ​The WeChat payment platform asynchronous callback processing module 203 is configured to process the asynchronous notification of whether the payment is completed fed back by the WeChat payment platform. After the user completes the payment by scanning the code, the WeChat payment platform will asynchronously push the payment completion result to the conference payment system, and the WeChat payment platform pushes the result according to the callback address of the conference payment system configured when the pre-payment transaction link is generated.

[0085] The timing CronJob submodule 204 is configured to process the invalid registration order in a timing manner. When the user requests online payment, the registration order is generated, the registration order has an invalid time, and the user's participation registration information is locked (the user is not allowed to modify the registration information), so the registration order exceeding the valid time needs to be processed in a timing manner. The processing logic is that a CronJob is started in the background to scan the expired registration order in a timing manner, the invalid registration order is processed one by one, the registration order state is updated to "canceled", the payment order associated with the registration order is processed, the hotel room type inventory occupied by the registration order is released, and finally the user's registration information is updated from the locked state to the unlocked state.

[0086] The WeChat client 300 is configured to be used for the user to scan the code to pay the conference fee.

[0087] The WeChat payment platform 400 is configured to realize the core logic of the WeChat payment, to interact with the conference payment system, to complete the generation of the pre-payment transaction link, the pre-payment transaction closing, the WeChat payment result asynchronous notification of the merchant system, the verification of the WeChat user authorization to complete the payment, and the like.

[0088] The database 500 is configured to store the data generated by the conference participation registration and online payment, for example, to store the user registration information, the registration order information, the payment order information, and the like.

[0089] Further, the data communication between the registration participation and online payment page rendering module 100 and the conference online payment module 200, between the conference online payment module 200 and the WeChat payment platform 400, and between the WeChat client 300 and the WeChat payment platform 400 is in the form of HTTPS. Because HTTPS uses the SSL / TLS protocol to encrypt data, the security of the data in the network transmission process is ensured, which means that the communication between the user and the server is encrypted, and a third party cannot easily intercept and read the data, and the use of HTTPS can prevent user data (such as login credentials, personal information, and transaction data) from being stolen by a man-in-the-middle attacker. This is particularly important for e-commerce websites, online banking services, and any website that requires users to input sensitive information. Therefore, the conference payment system of the present application provides a secure online payment environment by using HTTPS.

[0090] The application integrates the WeChat payment into the conference system, can greatly facilitate Chinese users, and also widens market coverage of the conference system, improves user experience and conference organization efficiency.

[0091] Those skilled in the art can understand that the above description is only preferred examples of the application and is not used to limit the application, although the application is described in detail with reference to the foregoing examples, those skilled in the art can still modify the technical solutions recorded in the foregoing examples or make equivalent replacement for part of the technical features. Any modification, equivalent replacement, etc. made within the spirit and principle of the application shall be included in the protection scope of the application.

Claims

1. An online payment method based on WeChat payment applicable to a conference system, characterized in that: The following steps are involved: S1: The user fills in the registration information, selects the registration fee information and submits it to the conference payment system; Registration fee information includes: conference registration fee, hotel accommodation, and meals. The conference payment system calculates the user's conference fee based on the registration fee information and displays it to the user, and saves the registration information in the database. S2: The user chooses to start payment and sends a payment request to the conference payment system. The conference payment system checks whether the user has a valid registration order. If so, it executes S3; if not, it jumps to S4. The registration order includes: registration order ID, associated user ID, associated payment order ID, registration order status, and total order amount. The registration order status includes: successful, unpaid, and canceled. If canceled, the registration order is invalid. The payment order is generated based on the registration order and is associated with it. S3: Perform a pre-verification on the existing registration order to determine whether the payment for the existing registration order has been completed. If so, the user is notified that the payment has been completed and the payment process ends. If not, the existing payment order is closed, the existing registration order is canceled, and the inventory occupied by the accommodation type selected by the user is released; S4: Generate a new registration order, lock the user registration information associated with it, and reduce the inventory of the accommodation type selected by the user; S5: Generate a payment order and call the WeChat payment platform's order interface to generate a prepayment transaction. The WeChat payment platform returns the prepayment transaction link to the conference payment system, which saves the prepayment transaction link in the payment order information. S6: The conference payment system generates a payment QR code based on the pre-payment transaction link and displays it to the user; S7: After the user scans the QR code, a pre-payment transaction link is returned to the WeChat payment platform. The WeChat payment platform verifies its validity and returns it to the user for payment authorization. The user enters the payment password and submits the payment authorization to the WeChat payment platform. The WeChat payment platform verifies the payment authorization and completes the payment transaction. S8: The WeChat payment platform asynchronously notifies the conference payment system of the payment result. The conference payment system updates the local payment status and prompts the user that the registration is successful.

2. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: S3 is specifically implemented through the following sub-steps: S3.1: Check whether the status of the existing registration order is successful. If so, jump to S3.5; otherwise, execute S3.2; S3.2: Check whether the payment order status is unpaid. If so, execute S3.

3. If not, the payment order status is closed, and directly jump to S4. S3.3: The conference payment system applies to the WeChat payment platform for payment status synchronization; S3.4: Confirm whether the payment order status is paid. If so, execute S3.5; if not, end the pre-check and jump to S4; S3.5: The user is prompted that the payment has been completed and there is no need to pay again, and the payment process is ended.

3. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: The user registration information includes: name, contact information, email address, participant identity, affiliated unit or school, and invoice information.

4. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: The registration order is set with an expiration time, and the registration information associated with the registration order is locked within the expiration time. After the expiration time, the registration order becomes invalid.

5. The online payment method based on WeChat payment applicable to a conference system according to claim 4, characterized in that: There are two ways to unlock locked registration information: (1) The user actively cancels the registration order. At the same time, the registration information is unlocked; (2) Set up a scheduled task to regularly check the invalid registration orders in the database and cancel these invalid registration orders; After canceling the registration order, the accommodation room inventory occupied by the registration order is released, the registration order status is updated to canceled, the payment order status is updated to closed, and the open and universal closing interface provided by the WeChat payment platform is called to close the prepaid transaction associated with the payment order.

6. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: The payment order information includes: payment order ID, associated registration order ID, WeChat prepayment transaction link, payment completion time, payment order status, total order amount, payer information, payment scenario description, paid product description, and expiration time; the payment order status includes: paid, unpaid, and closed.

7. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: When the registration order and payment order status are updated, in a distributed high-concurrency scenario, a distributed lock is set to prevent data inconsistency, and a database transaction is set at the same time.

8. The online payment method based on WeChat payment applicable to a conference system according to claim 1, characterized in that: The QR code is set with an expiration time, and the user must complete the payment within the specified expiration time; after the expiration time, the user needs to refresh the payment QR code to make another payment, and the conference payment system will regenerate a payment QR code and display it to the user.

9. An online payment device based on WeChat Pay applicable to a conference system, used to implement the online payment method based on WeChat Pay applicable to a conference system according to any one of claims 1 to 8, characterized in that: include: Conference registration and online payment page rendering module, conference online payment module, WeChat client, WeChat payment platform, database; the conference registration and online payment page rendering module, conference online payment module, and database belong to the conference payment system; The registration and online payment page rendering module is used to render the front-end page for users to register for the conference, providing users with an interactive operation interface for registration and online payment. It does not contain business data flow, storage and processing logic; The conference online payment module is used to provide online payment services for conference fees, including: conference registration information management module, conference online payment submodule, WeChat payment platform asynchronous callback processing submodule, and timed CronJob submodule; The conference registration information management module is used to manage the registration information filled in by the user and the registration fee related information selected; the registration information and registration fee related information can be modified in the unlocked state; The conference online payment submodule is used to process the user's online payment application, generate registration orders and payment orders, lock the user's registration information, and interact with the WeChat payment platform for pre-payment transaction links and the user's QR code; The WeChat payment platform asynchronous callback processing submodule is used to process the asynchronous notification of whether the payment is completed pushed by the WeChat payment platform; the WeChat payment platform pushes the asynchronous notification according to the callback address of the conference payment system configured when generating the prepayment transaction link; The scheduled CronJob submodule is used to process expired registration orders on a scheduled basis; The WeChat client is used for users to scan the code to pay the conference fee; The WeChat payment platform is used to implement the core logic of WeChat payment and interact with the conference payment system to complete payment-related functions, including: generating prepayment transaction links, prepayment transaction closing, asynchronous payment result notification, and verifying payment authorization; The database is used to store data generated by conference registration and online payment, including user registration information, registration fee related information, registration order information, and payment order information.

10. The online payment device based on WeChat payment applicable to a conference system according to claim 9, characterized in that: Data communications between the registration and online payment page rendering module and the conference online payment module, between the conference online payment module and the WeChat payment platform, and between the WeChat client and the WeChat payment platform all adopt HTTPS format.

Citation Information

Patent Citations

  • WeChat payment method and system

    CN106529935A

  • WeChat-based network service platform

    CN107220715A