CN118052543A - Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product - Google Patents
Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product Download PDFInfo
- Publication number
- CN118052543A CN118052543A CN202410304224.5A CN202410304224A CN118052543A CN 118052543 A CN118052543 A CN 118052543A CN 202410304224 A CN202410304224 A CN 202410304224A CN 118052543 A CN118052543 A CN 118052543A
- Authority
- CN
- China
- Prior art keywords
- payment
- orders
- bill
- account
- paid
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 238000004590 computer program Methods 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The application discloses an online payment method, device, equipment, storage medium and program product, and relates to the technical field of mobile interconnection. The method comprises the following steps: under the condition that the first account number is detected to log in the first terminal equipment, N first orders related to the first account number are sent to the first terminal equipment, wherein the first orders are orders with an order state of unpaid; under the condition that the payment requests corresponding to the P first orders are received, generating a payment bill according to a payment mode in the payment requests, and sending the payment bill to the first terminal equipment, wherein the P first orders are any one of the N first orders; and under the condition that callback notification corresponding to the bill payment is received, updating the order states of the P first orders from unpaid to paid. According to the embodiment of the application, the collection cost of the management cost can be reduced.
Description
Technical Field
The application belongs to the technical field of mobile interconnection, and particularly relates to an online payment method, device, equipment, storage medium and program product.
Background
In a conventional industrial park, there are many tenants of enterprises or individual tenants in one industrial park, and these tenants are required to pay management fees such as rent, property fees, parking fees, and hydropower fees to the manager of the industrial park. For most traditional industrial parks, the enterprise tenants need to pay for different charged items on a regular or monthly basis, and the collection accounts for different items may also be different banks.
In the related art, the tenant needs to pay the management fees of different charging projects to different banks, after the bank pays money into a designated industrial park management account, the bank opens a payment certificate to the tenant, and the tenant needs to check and sell to a park management department after receiving the payment certificate. The flow of the payment mode of the management cost is too complex, and the payment cost is high.
Disclosure of Invention
The embodiment of the application provides an online payment method, device, equipment, storage medium and program product, which can solve the problem of high collection cost of the existing management cost.
In a first aspect, an embodiment of the present application provides an online payment method, including:
under the condition that the first account number is detected to log in on first terminal equipment, N first orders related to the first account number are sent to the first terminal equipment, wherein the first orders are orders with an order state of unpaid, and N is a positive integer;
Under the condition that payment requests corresponding to P first orders are received, generating a payment bill according to the payment requests, and sending the payment bill to the first terminal equipment, wherein the N first orders comprise the P first orders, and P is a positive integer less than or equal to N;
And under the condition that callback notification corresponding to the bill payment is received, updating the order states of the P first orders from unpaid to paid.
In some embodiments, the generating a payment bill from the payment request includes:
acquiring order cost of each first order in the P first orders to obtain P order cost;
Determining the sum of the P order fees as a fee to be paid of the bill to be paid;
Acquiring a payment identifier corresponding to a payment mode in the payment request according to the fee to be paid;
and generating the payment bill according to the payment identifier and the fee to be paid.
In some embodiments, the payment identifier includes a payment code and account information, and the obtaining, according to the fee to be paid, a payment identifier corresponding to a payment manner in the payment request includes:
Under the condition that the payment mode is code scanning payment, acquiring a payment code according to the fee to be paid;
and under the condition that the payment mode is online banking payment, acquiring account information of a first account related to the server.
In some embodiments, after updating the order status of the P first orders from unpaid to paid, the method further comprises:
acquiring the total payment amount corresponding to the P first orders;
dividing the total payment amount into at least two account dividing amounts according to account dividing rules associated with the P first orders;
and transferring the at least two account amounts to accounts corresponding to the account amounts respectively.
In some embodiments, after the generating a payment bill according to the payment request and transmitting the payment bill to the first terminal device, the method further includes:
Under the condition that callback notification is not received within a first time period after a first time, inquiring an account list of a first account related to the payment platform, wherein the account list is recorded with transaction details of the first account related to the payment platform, and the first time is the time of sending the payment bill;
and updating the order states of the P first orders from unpaid to paid under the condition that the payment records corresponding to the payment bills exist in the account detail table.
In some embodiments, after updating the order status of the P first orders from unpaid to paid in the case of receiving the callback notification corresponding to the bill for payment, the method further includes:
acquiring a communication number of the first terminal equipment;
Generating a first short message according to the updated order states of the P first orders, wherein the first short message is used for indicating that the updated order states of the P first orders are paid;
and sending the first short message to the first terminal equipment according to the communication number.
In some embodiments, after updating the order status of the P first orders from unpaid to paid in the case of receiving the callback notification corresponding to the bill for payment, the method further includes:
acquiring an account list of a first account associated with the paymate;
Acquiring a transaction detail set of a previous time period at the current moment in the account detail table;
And generating alarm information under the condition that the transaction detail set is not matched with the order states of the N first orders on the payment platform.
In a second aspect, an embodiment of the present application further provides an online payment method, where the method includes:
Displaying N first orders corresponding to a first account under the condition that a user logs in the first terminal equipment through the first account, wherein N is a positive integer;
Receiving and responding to first input of a user on P first orders, and generating payment requests corresponding to the P first orders, wherein the N first orders comprise the P first orders, and P is a positive integer smaller than or equal to N;
sending the payment request to the payment platform, and receiving a payment bill fed back by the payment platform based on the payment request;
And responding to the payment input of the user to the payment bill, generating a callback notification corresponding to the payment bill based on the payment result of the payment input, and sending the callback notification to the server.
In some embodiments, before generating the callback notification corresponding to the bill for payment based on the payment result of the payment input in response to the payment input of the user to the bill for payment, the method includes:
displaying the bill payment on a display interface of the first terminal device;
Receiving a second input of the user on the bill payment, wherein the second input is selected as a payment mode;
And responding to the second input, and displaying payment mode information corresponding to the payment mode on the payment bill.
In a third aspect, an embodiment of the present application provides an online payment apparatus, including:
the sending module is used for sending N first orders related to the first account to the first terminal equipment under the condition that the first account is detected to log in on the first terminal equipment, wherein the first orders are orders with an unpaid order state, and N is a positive integer;
The generation module is used for generating a payment bill according to the payment request under the condition that the payment request corresponding to P first orders is received, and sending the payment bill to the first terminal equipment, wherein the N first orders comprise the P first orders, and P is a positive integer smaller than or equal to N;
and the updating module is used for updating the order states of the P first orders from unpaid to paid under the condition that callback notification corresponding to the bill payment is received.
In a fourth aspect, an embodiment of the present application provides an online payment apparatus, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the online payment method as described above.
In a fifth aspect, embodiments of the present application provide a computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement an online payment method as above.
In a sixth aspect, embodiments of the present application provide a computer program product comprising computer program instructions which, when executed by a processor, implement an online payment method as above.
In the application, under the condition that an order inquiry request sent by a first terminal device based on a first account is received, a server side can send N first orders which are associated with the first account and are unpaid to the first terminal device which logs in the first account, then the server side can receive payment requests corresponding to P first orders which are selected by a user in the N first orders and are required to be paid, generate a payment bill based on the payment requests, send the payment bill to the first terminal device, the user finishes payment on the first terminal device through the payment bill, and feed back a callback notification generated after the payment is successful to the server side, so that the server side updates the order states of the P first orders from unpaid to paid. In this way, the service end can acquire the payment intention of the user on line, then generate a payment bill according to the payment intention of the user, send the payment bill to the terminal equipment of the user, realize on-line payment according to the payment bill on the terminal equipment by the user, and the service end can also automatically update the state of the order after payment. Therefore, the user can pay a plurality of item fees on line at one time, the user payment flow is simplified, and the payment cost of the item fees is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flow chart of an online payment method according to an embodiment of the present application;
FIG. 2 is a flow chart of an online payment method according to an embodiment of the present application;
FIG. 3 is a flow chart of an online payment method according to another embodiment of the present application;
Fig. 4 is a schematic structural diagram of an online payment device according to an embodiment of the present application;
Fig. 5 is a schematic hardware structure of an online payment device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the particular embodiments described herein are meant to be illustrative of the application only and not limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
It should be noted that, in the technical scheme of the application, the acquisition, storage, use, processing and the like of the data all conform to the relevant regulations of national laws and regulations.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The embodiments will be described in detail below with reference to the accompanying drawings.
In particular, in order to solve the problems in the prior art, embodiments of the present application provide an online payment method, apparatus, device, storage medium, and program product. The online payment method provided by the embodiment of the application is first described below.
Fig. 1 is a schematic flow chart of an online payment method according to an embodiment of the present application. The method is applied to a paymate, and comprises the following steps:
S110, under the condition that the first account number is detected to log in on first terminal equipment, N first orders related to the first account number are sent to the first terminal equipment, wherein the first orders are orders with an order state of unpaid, and N is a positive integer.
In this embodiment, the payment platform may be used to implement online payment for the platform user to the administrator, where the administrator of the payment platform may log in an application program corresponding to the payment platform on the second terminal device, and then import a plurality of payment orders to the payment platform. Each payment order may include an order number, a payment item, a payment amount, a payment user identifier, a payment status, related remark content, and the like, and the payment platform may associate the payment order with the account number of each platform user according to the payment user identifier of each payment order.
When detecting that a platform user logs in an application program corresponding to a payment platform on a first terminal device through a first account, N first orders associated with the first account can be sent to the first terminal device, and the user can view the first orders through the application program on the first terminal device.
And S120, under the condition that the payment requests corresponding to the P first orders are received, generating a payment bill according to the payment requests, and sending the payment bill to the first terminal equipment, wherein the N first orders comprise the P first orders, and P is a positive integer less than or equal to N.
In this embodiment, after the first terminal device receives N first orders, the user may perform selection input on P first orders in the N first orders to select the P first orders for payment, and further select a payment manner of the P first orders, and after the first terminal device receives the selection input, may generate payment requests corresponding to the P first orders based on the P first orders and the payment manner thereof that are selected and input, and send the payment requests to the payment platform.
After receiving the payment request, the payment platform can generate a payment bill according to the contents of the P first orders corresponding to the payment request and the payment mode selected by the user, and send the payment bill back to the first terminal device, and the user can perform payment operation on the first terminal device through the payment bill so as to complete payment of the P first orders.
And S130, updating the order states of the P first orders from unpaid to paid under the condition that callback notification corresponding to the bill payment is received.
In this embodiment, after sending the bill for payment to the first terminal device, the user may perform a payment operation on the first terminal device through the bill for payment, and if the payment is successful, the first terminal device may generate a callback notification. And sending the callback notification to the paymate in a network request manner so as to notify the paymate that the bill payment is successful. The paymate can update the order status of the P first orders from unpaid to paid.
In this embodiment, when receiving an order query request sent by a first terminal device based on a first account, the server may send N first orders that are associated with the first account and are unpaid to the first terminal device that logs in to the first account, and then the server may receive payment requests corresponding to P first orders that are selected by a user from the N first orders and are desired to be paid, generate a payment bill based on the payment requests, send the payment bill to the first terminal device, complete payment by the user on the first terminal device through the payment bill, and feed back a callback notification generated after successful payment to the server, so that the server updates the order status of the P first orders from unpaid to paid. In this way, the service end can acquire the payment intention of the user on line, then generate a payment bill according to the payment intention of the user, send the payment bill to the terminal equipment of the user, realize on-line payment according to the payment bill on the terminal equipment by the user, and the service end can also automatically update the state of the order after payment. Therefore, the user can pay a plurality of item fees on line at one time, the user payment flow is simplified, and the payment cost of the item fees is reduced.
As shown in fig. 2, as an alternative embodiment, S120 includes:
s121, acquiring order cost of each first order in the P first orders to obtain P order cost;
S122, determining the sum of the P order fees as a fee to be paid of the bill to be paid;
s123, acquiring a payment identifier corresponding to a payment mode in the payment request according to the fee to be paid;
s124, generating the payment bill according to the payment identifier and the fee to be paid.
As an optional embodiment, the payment identifier includes a payment code and account information, and the obtaining, according to the fee to be paid, a payment identifier corresponding to a payment manner in the payment request includes:
Under the condition that the payment mode is code scanning payment, acquiring a payment code according to the fee to be paid;
and under the condition that the payment mode is online banking payment, acquiring account information of a first account related to the server.
In this embodiment, when the user selects to pay by using a payment manner such as internet banking payment or code scanning payment on the P first orders, the payment platform may generate a payment bill according to the payment manner selected by the user and the information of the P first orders. The payment bill includes payment amount, payment item, payment method information, and the like.
When the payment mode selected by the user is code scanning payment, the payment mode information is a payment code for payment, and the payment code can be a two-dimensional code or a bar code; when the payment mode selected by the user is internet banking payment, the payment mode information is the bank card number, the bank name, the account opening information and the like of the first account of the receiving user.
The first terminal device displays the bill for payment after receiving the bill for payment, so that the user can complete payment by scanning the payment code or by account information.
By the method, the user can finish payment from one of a plurality of payment modes on line, so that the cost of payment is reduced, and the flexibility of payment is improved.
As an optional embodiment, after updating the order status of the P first orders from unpaid to paid, the method further includes:
acquiring the total payment amount corresponding to the P first orders;
dividing the total payment amount into at least two account dividing amounts according to account dividing rules associated with the P first orders;
and transferring the at least two account amounts to accounts corresponding to the account amounts respectively.
In this embodiment, since each platform user may need to pay the administrator for different charging items periodically, the P first orders may include a plurality of charging items that the same platform user needs to pay, and the collection account of each charging item may be a different account. Therefore, after the user pays the total payment amount corresponding to the P first orders to the first account associated with the payment platform, the first account needs to divide the total payment amount into at least two account dividing amounts according to the account dividing rules associated with the P first orders, and then each account dividing amount is transferred into the account corresponding to the charging item.
The account dividing rule can be pre-recorded into account dividing ratios among accounts corresponding to a plurality of charging items of the payment platform, for example, the account dividing ratio of the first charging item and the second charging item can be 8:2; the billing rules may also be any other billing rules that are user-defined.
By the method, the user can finish the payment of the fees of the plurality of charging items only through one-time payment, and after finishing one-time payment, the payment platform can automatically distribute the one-time-collected total payment amount to the collection account corresponding to each charging item, so that the payment efficiency is improved.
As an optional embodiment, after the generating a payment bill according to the payment request and transmitting the payment bill to the first terminal device, the method further includes:
Under the condition that callback notification is not received within a first time period after a first time, inquiring an account list of a first account related to the payment platform, wherein the account list is recorded with transaction details of the first account related to the payment platform, and the first time is the time of sending the payment bill;
and updating the order states of the P first orders from unpaid to paid under the condition that the payment records corresponding to the payment bills exist in the account detail table.
In this embodiment, the account list of the first account refers to a list in which the transaction details of the first account are recorded. The account list contains all transaction records of the first account in a period of time, including deposit, withdrawal, transfer, transaction fee, interest and other information. The transaction records are arranged in time sequence and detail the date, transaction type, transaction amount, transaction counterpart, transaction description, etc. of each transaction.
Therefore, if the paymate generates the payroll bill corresponding to the P first orders, and sends the payroll bill to the first terminal device, and the paymate does not receive the callback notification within the first duration after the first moment, it may be that the user does not complete the payment, or that the user does not generate the corresponding callback notification after completing the payment, or that the callback notification is lost.
In order to avoid errors in order status of the P first orders caused by the failure to generate the callback notification or the callback notification loss, the account list of the first account can be queried under the condition that the callback notification is not received within the first time after the first time, if the account list of the first account has no payment records corresponding to the P first orders, the user is considered to have no payment, and if the account list of the first account has payment records corresponding to the P first orders, the user is considered to have no corresponding callback notification generated after the user finishes payment, or the callback notification is lost. In this case too, the order status of the P first orders needs to be updated from unpaid to paid.
By the method, the situation that the corresponding callback notification is not generated after the user finishes payment or the callback notification is lost to cause the order state error can be avoided, and the accuracy of the order state is improved.
As an optional embodiment, after updating the order status of the P first orders from unpaid to paid in the case of receiving the callback notification corresponding to the bill for payment, the method further includes:
acquiring a communication number of the first terminal equipment;
Generating a first short message according to the updated order states of the P first orders, wherein the first short message is used for indicating that the updated order states of the P first orders are paid;
and sending the first short message to the first terminal equipment according to the communication number.
In this embodiment, the communication number associated with each account may be recorded on the payment platform, after the first account logs in through the first terminal device, the communication number associated with the first account may be determined as the communication number of the first terminal device, and then a first short message is generated and sent to the first terminal device.
Therefore, the user can be informed that the order is paid in a short message mode, and the user can be ensured to know the order state in time.
As an optional embodiment, after updating the order status of the P first orders from unpaid to paid in the case of receiving the callback notification corresponding to the bill for payment, the method further includes:
acquiring an account list of a first account associated with the paymate;
Acquiring a transaction detail set of a previous time period at the current moment in the account detail table;
And generating alarm information under the condition that the transaction detail set is not matched with the order states of the N first orders on the payment platform.
In this embodiment, the account list of the first account is a list in which the transaction details of the first account are recorded. Therefore, every time period, the first order and the account list in the last time period on the payment platform can be matched, if the order state of the first order is matched with the account list, the order state of each order in the payment platform in the last period is considered to be updated correctly, and if the order state of the first order is not matched with the account list, alarm information can be generated and sent to an administrator of the payment platform.
In this way, the order and the account list can be checked in each period, so that the error of the payment state of the order in the payment platform is avoided.
Fig. 3 is a flow chart of an online payment method according to an embodiment of the present application. The method is applied to the first terminal equipment and comprises the following steps:
S210, displaying N first orders corresponding to a first account under the condition that a user logs in the first terminal equipment through the first account, wherein N is a positive integer;
S220, receiving and responding to first input of a user to P first orders, and generating payment requests corresponding to the P first orders, wherein the N first orders comprise the P first orders, and P is a positive integer less than or equal to N;
S230, sending the payment request to the payment platform, and receiving a payment bill fed back by the payment platform based on the payment request;
S240, responding to the payment input of the user to the payment bill, generating a callback notification corresponding to the payment bill based on the payment result of the payment input, and sending the callback notification to the server.
As an optional embodiment, before the responding to the payment input of the user to the payment bill and generating the callback notification corresponding to the payment bill based on the payment result of the payment input, the method includes:
displaying the bill payment on a display interface of the first terminal device;
Receiving a second input of the user on the bill payment, wherein the second input is selected as a payment mode;
And responding to the second input, and displaying payment mode information corresponding to the payment mode on the payment bill.
In this embodiment, the payment mode information corresponding to the payment mode may be a payment code or internet banking information. When the payment mode selected by the user is code scanning payment, the payment mode information is a payment code used for payment, and the payment code can be a two-dimensional code or a bar code; when the payment mode selected by the user is internet banking payment, the payment mode information is the bank card number, the bank name, the account opening information and the like of the first account of the receiving user.
By the method, the user can finish payment from one of a plurality of payment modes on line, so that the cost of payment is reduced, and the flexibility of payment is improved.
Based on the online payment method provided by the embodiment, correspondingly, the application further provides a specific implementation mode of the online payment device. Please refer to the following examples.
Referring first to fig. 4, an online payment device 400 provided in an embodiment of the present application includes the following modules:
A sending module 401, configured to send, when it is detected that a first account logs in on a first terminal device, N first orders associated with the first account to the first terminal device, where the first order is an order with an order status of unpaid, and N is a positive integer;
The generating module 402 is configured to generate a payment bill according to a payment request corresponding to P first orders, and send the payment bill to the first terminal device, where the N first orders include the P first orders, and P is a positive integer less than or equal to N;
And the updating module 403 is configured to update the order status of the P first orders from unpaid to paid under the condition that a callback notification corresponding to the bill payment is received.
The device may receive an order inquiry request sent by the first terminal device based on the first account, the server may send N first orders that are associated with the first account and not paid to the first terminal device that logs in the first account, then the server may receive payment requests corresponding to P first orders that are selected by the user from the N first orders and that want to be paid, generate a payment bill based on the payment requests, send the payment bill to the first terminal device, complete payment by the user on the first terminal device through the payment bill, and feed back the generated callback notification to the server after the payment is successful, so that the server updates the order status of the P first orders from not paid to paid. In this way, the service end can acquire the payment intention of the user on line, then generate a payment bill according to the payment intention of the user, send the payment bill to the terminal equipment of the user, realize on-line payment according to the payment bill on the terminal equipment by the user, and the service end can also automatically update the state of the order after payment. Therefore, the user can pay a plurality of item fees on line at one time, the user payment flow is simplified, and the payment cost of the item fees is reduced.
As an implementation manner of the present application, the generating module 402 may include:
The first acquisition unit is used for acquiring the order cost of each first order in the P first orders to obtain P order cost;
A determining unit, configured to determine the sum of the P order charges as a charge to be paid of the bill to be paid;
The second acquisition unit is used for acquiring a payment identifier corresponding to a payment mode in the payment request according to the fee to be paid;
And the generation unit is used for generating the payment bill according to the payment identifier and the fee to be paid.
As an implementation manner of the present application, the second obtaining unit may include:
The first generation subunit is used for acquiring a payment code according to the to-be-paid fee under the condition that the payment mode is code scanning payment;
And the second generation subunit is used for acquiring account information of the first account associated with the server side under the condition that the payment mode is internet banking payment.
As an implementation manner of the present application, the online payment apparatus 300 may further include:
the acquisition module is used for acquiring the total payment amount corresponding to the P first orders;
The account dividing module is used for dividing the total payment amount into at least two account dividing amounts according to account dividing rules related to the P first orders;
And the transfer module is used for transferring the at least two account amounts to accounts corresponding to the account amounts respectively.
As an implementation manner of the present application, the online payment apparatus 300 may further include:
the inquiring module is used for inquiring an account list of a first account related to the payment platform under the condition that callback notification is not received within a first time after a first moment, wherein the account list is recorded with transaction details of the first account related to the payment platform, and the first moment is the moment of sending the payment bill;
And the verification module is used for updating the order states of the P first orders from unpaid to paid under the condition that the payment records corresponding to the payment bills exist in the account detail table.
As an implementation manner of the present application, the above-mentioned online payment apparatus 300 may also be used for:
acquiring a communication number of the first terminal equipment;
Generating a first short message according to the updated order states of the P first orders, wherein the first short message is used for indicating that the updated order states of the P first orders are paid;
and sending the first short message to the first terminal equipment according to the communication number.
As an implementation manner of the present application, the above-mentioned online payment apparatus 300 may also be used for:
acquiring an account list of a first account associated with the paymate;
Acquiring a transaction detail set of a previous time period at the current moment in the account detail table;
And generating alarm information under the condition that the transaction detail set is not matched with the order states of the N first orders on the payment platform.
The online payment device provided by the embodiment of the invention can realize each step in the method embodiment, and in order to avoid repetition, the description is omitted here.
Fig. 5 shows a schematic hardware structure of an online payment device according to an embodiment of the present application.
The online payment device may include a processor 1001 and a memory 1002 storing computer program instructions.
In particular, the processor 1001 may include a Central Processing Unit (CPU), or an Application SPECIFIC INTEGRATED Circuit (ASIC), or may be configured as one or more integrated circuits that implement embodiments of the present application.
Memory 1002 may include mass storage for data or instructions. By way of example, and not limitation, memory 1002 may include a hard disk drive (HARD DISK DRIVE, HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) drive, or a combination of two or more of the foregoing. The memory 1002 may include removable or non-removable (or fixed) media, where appropriate. Memory 1002 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 1002 is a non-volatile solid state memory.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to methods in accordance with aspects of the present disclosure.
The processor 1001 reads and executes the computer program instructions stored in the memory 1002 to implement any of the online payment methods of the above embodiments.
In one example, the online payment device may also include a communication interface 1003 and a bus 1010. As shown in fig. 5, the processor 1001, the memory 1002, and the communication interface 1003 are connected to each other by a bus 1010, and communicate with each other.
The communication interface 1003 is mainly used for implementing communication among the modules, devices, units and/or apparatuses in the embodiment of the application.
Bus 1010 includes hardware, software, or both, coupling components of the online payment device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. Bus 1010 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
The online payment device may be based on the above embodiments, thereby implementing the online payment method and apparatus described above in combination.
In addition, in combination with the online payment method in the above embodiment, the embodiment of the present application may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by the processor, implement any of the online payment methods in the above embodiments, and achieve the same technical effects, and in order to avoid repetition, will not be described here again. The computer readable storage medium may include a non-transitory computer readable storage medium, such as Read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or optical disk, and the like, which are not limited herein.
In addition, the embodiment of the application also provides a computer program product, which comprises computer program instructions, wherein the computer program instructions can realize the steps and corresponding contents of the embodiment of the method when being executed by a processor.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. The method processes of the present application are not limited to the specific steps described and shown, but various changes, modifications and additions, or the order between steps may be made by those skilled in the art after appreciating the spirit of the present application.
The functional blocks shown in the above block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. The present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.
Claims (13)
1. An online payment method, wherein the method is applied to a paymate, the method comprising:
under the condition that the first account number is detected to log in on first terminal equipment, N first orders related to the first account number are sent to the first terminal equipment, wherein the first orders are orders with an order state of unpaid, and N is a positive integer;
Under the condition that payment requests corresponding to P first orders are received, generating a payment bill according to the payment requests, and sending the payment bill to the first terminal equipment, wherein the N first orders comprise the P first orders, and P is a positive integer less than or equal to N;
And under the condition that callback notification corresponding to the bill payment is received, updating the order states of the P first orders from unpaid to paid.
2. The online payment method of claim 1, wherein the generating a payment bill from the payment request comprises:
acquiring order cost of each first order in the P first orders to obtain P order cost;
Determining the sum of the P order fees as a fee to be paid of the bill to be paid;
Acquiring a payment identifier corresponding to a payment mode in the payment request according to the fee to be paid;
and generating the payment bill according to the payment identifier and the fee to be paid.
3. The online payment method according to claim 1, wherein the payment identifier includes a payment code and account information, and the obtaining, according to the fee to be paid, the payment identifier corresponding to the payment manner in the payment request includes:
Under the condition that the payment mode is code scanning payment, acquiring a payment code according to the fee to be paid;
and under the condition that the payment mode is online banking payment, acquiring account information of a first account related to the server.
4. The online payment method of claim 1, wherein after updating the order status of the P first orders from unpaid to paid, the method further comprises:
acquiring the total payment amount corresponding to the P first orders;
dividing the total payment amount into at least two account dividing amounts according to account dividing rules associated with the P first orders;
and transferring the at least two account amounts to accounts corresponding to the account amounts respectively.
5. The online payment method according to claim 1, wherein after generating a bill for payment according to the payment request and transmitting the bill for payment to the first terminal device, the method further comprises:
Under the condition that callback notification is not received within a first time period after a first time, inquiring an account list of a first account related to the payment platform, wherein the account list is recorded with transaction details of the first account related to the payment platform, and the first time is the time of sending the payment bill;
and updating the order states of the P first orders from unpaid to paid under the condition that the payment records corresponding to the payment bills exist in the account detail table.
6. The online payment method according to claim 1, wherein, in the case of receiving a callback notification corresponding to the bill for payment, after updating the order status of the P first orders from unpaid to paid, the method further comprises:
acquiring a communication number of the first terminal equipment;
Generating a first short message according to the updated order states of the P first orders, wherein the first short message is used for indicating that the updated order states of the P first orders are paid;
and sending the first short message to the first terminal equipment according to the communication number.
7. The online payment method according to claim 1, wherein, in the case of receiving a callback notification corresponding to the bill for payment, after updating the order status of the P first orders from unpaid to paid, the method further comprises:
acquiring an account list of a first account associated with the paymate;
Acquiring a transaction detail set of a previous time period at the current moment in the account detail table;
And generating alarm information under the condition that the transaction detail set is not matched with the order states of the N first orders on the payment platform.
8. An online payment method, wherein the method is applied to a first terminal device, the method comprising:
Displaying N first orders corresponding to a first account under the condition that a user logs in the first terminal equipment through the first account, wherein N is a positive integer;
Receiving and responding to first input of a user on P first orders, and generating payment requests corresponding to the P first orders, wherein the N first orders comprise the P first orders, and P is a positive integer smaller than or equal to N;
sending the payment request to the payment platform, and receiving a payment bill fed back by the payment platform based on the payment request;
And responding to the payment input of the user to the payment bill, generating a callback notification corresponding to the payment bill based on the payment result of the payment input, and sending the callback notification to the server.
9. The online payment method of claim 1, wherein, in response to a user's payment input for the bill for payment, before generating a callback notification corresponding to the bill for payment based on the payment result of the payment input, the method comprises:
displaying the bill payment on a display interface of the first terminal device;
Receiving a second input of the user on the bill payment, wherein the second input is selected as a payment mode;
And responding to the second input, and displaying payment mode information corresponding to the payment mode on the payment bill.
10. An online payment device, the device comprising:
the sending module is used for sending N first orders related to the first account to the first terminal equipment under the condition that the first account is detected to log in on the first terminal equipment, wherein the first orders are orders with an unpaid order state, and N is a positive integer;
The generation module is used for generating a payment bill according to the payment request under the condition that the payment request corresponding to P first orders is received, and sending the payment bill to the first terminal equipment, wherein the N first orders comprise the P first orders, and P is a positive integer smaller than or equal to N;
and the updating module is used for updating the order states of the P first orders from unpaid to paid under the condition that callback notification corresponding to the bill payment is received.
11. An online payment device, the online payment device comprising: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements an online payment method as claimed in any one of claims 1-9.
12. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the online payment method according to any one of claims 1 to 9.
13. A computer program product, characterized in that it comprises computer program instructions which, when executed by a processor, implement the online payment method according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410304224.5A CN118052543A (en) | 2024-03-18 | 2024-03-18 | Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410304224.5A CN118052543A (en) | 2024-03-18 | 2024-03-18 | Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118052543A true CN118052543A (en) | 2024-05-17 |
Family
ID=91048182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410304224.5A Pending CN118052543A (en) | 2024-03-18 | 2024-03-18 | Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118052543A (en) |
-
2024
- 2024-03-18 CN CN202410304224.5A patent/CN118052543A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112184240A (en) | Refund request processing method and device | |
CN105637569A (en) | Toll payment collection with communication device | |
CN107730390B (en) | Data processing method and device, computer readable medium and electronic equipment | |
CN115271697A (en) | Payment method, payment device, payment equipment, readable storage medium and computer program product | |
CN110889686A (en) | Multi-level account data processing method, device, equipment and readable storage medium | |
CN112700237A (en) | Payment management method and device, electronic equipment and storage medium | |
CN118052543A (en) | Online payment method, online payment device, online payment equipment, online payment storage medium and online payment program product | |
CN116862494A (en) | Payment method and device based on payment cash register and readable storage medium | |
CN115983966A (en) | Real-time interest bearing method, device, equipment and computer storage medium | |
CN115099801A (en) | Payment information processing method and device based on public cloud | |
CN116205641A (en) | Payment method, device, equipment, medium and product | |
CN116151816A (en) | Payment method, device, equipment, medium and product | |
CN114661740A (en) | Data processing method, device, equipment, computer storage medium and program product | |
CN110163606B (en) | Refund method and device based on blockchain and electronic equipment | |
CN112163858A (en) | Transaction method, device and equipment | |
CN109658084B (en) | Offline payment method and system | |
CN117437076B (en) | Account checking method, device, equipment and medium based on account checking code | |
CN114598559B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN116188130A (en) | Method, apparatus, device, storage medium and program product for resource clearing | |
CN117764754A (en) | Data processing method, device, equipment and storage medium | |
CN113657881A (en) | Bill payment method, system, device, equipment and storage medium | |
CN114049104A (en) | Parking monthly card fee payment method and device | |
CN118428941A (en) | Information processing method, device, equipment, medium and product | |
CN115983799A (en) | Generating method, device and equipment of payment information and computer storage medium | |
CN117745352A (en) | Information processing method, device, equipment, medium and product |
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 |