CN106447308A - APP third-party calling payment method and device - Google Patents
APP third-party calling payment method and device Download PDFInfo
- Publication number
- CN106447308A CN106447308A CN201610886367.7A CN201610886367A CN106447308A CN 106447308 A CN106447308 A CN 106447308A CN 201610886367 A CN201610886367 A CN 201610886367A CN 106447308 A CN106447308 A CN 106447308A
- Authority
- CN
- China
- Prior art keywords
- payment
- server
- app
- client
- information
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/02—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q20/023—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] the neutral party being a clearing house
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses an APP third-party calling payment method and device. The APP third-party calling payment method comprises the steps of generating payment order information when a settlement instruction of a user for selected commodities is acquired; sending the generated payment order information to an APP server so as to enable the APP server to call a unified ordering application program interface corresponding to a payment mode in the payment order information, thereby enabling a third-party payment server corresponding to the payment mode to generate a prepayment order comprising an order number, returning the prepayment order to the APP server, and enabling the APP server to generate client payment information with a signature of the APP server in allusion to the prepayment order; and receiving the client payment information which is returned by the APP server and provided with the signature, and calling a third-party payment client corresponding to the third-party payment server to perform payment according to the client payment information. Compared with the prior art, an APP completes a function of mobile payment with the help of the third-party payment system by applying the embodiment of the invention.
Description
Technical field
The present invention relates to mobile payment technical field, call Third-party payment method and device particularly to a kind of APP.
Background technology
With the rise of Intelligent mobile equipment, mobile Internet has swept across All Around The World, moves payment also rapid
Emerging, people now only need to move finger and just can complete to buy the operation paying in the mobile devices such as mobile phone, and this is very big
Facilitate daily life.
Nowadays the APP of substantial amounts of mobile Internet company is required to mobile payment function, say, that present user makes
Substantial amounts of APP be required to mobile payment function.But it is not that each mobile Internet company has the movement of oneself
Payment system, and, if each mobile Internet company oneself develops a set of mobile-payment system and not only needs necessarily
Manpower go exploitation, but also need certain development cost and maintenance cost, this is clearly unpractiaca.
So, how to complete mobile payment function by third-party payment system, be a problem demanding prompt solution.
Content of the invention
The embodiment of the invention discloses a kind of APP and call Third-party payment method and device, be used for making APP by third party
Payment system completes mobile payment function.Technical scheme is as follows:
First aspect, embodiments provides a kind of APP and calls Third-party payment method, be applied to APP client,
Described method includes:
When obtaining user to the tally order of selected commodity, generate pay invoice information;
The pay invoice information of described generation is sent to APP server, so that paying described in described APP server calls
The corresponding unification of the means of payment in sequence information places an order application programming interfaces, so that the corresponding with the described means of payment the 3rd
Side's paying server generates and includes the advance order of order number, and returns to described APP server, make described APP server for
Described advance order generates the client payment information of the signature with described APP server;Wherein, the signature of described APP server
For registration code in described Third-party payment server for the described APP server registration;
Receive the client payment information with described signature that described APP server returns, and call and described third party
Paying server corresponding Third-party payment client pays according to described client payment information.
Alternatively, the process that described Third-party payment client pays according to described client payment information includes:
Described Third-party payment client sends and described client payment information pair to described Third-party payment server
The payment request answered, so that described payment request is verified by described Third-party payment server according to described advance order, as
Fruit is proved to be successful, and returns and authorizes guidance information;Wherein, described payment asks to include described order number and described signature, described
Guidance information is authorized to be used for indicating that user inputs authorization message;
Receive the authorization message based on described mandate guidance information input for the user, and described authorization message is submitted to described
Third-party payment server, so that described authorization message is verified by described Third-party payment server, if be proved to be successful,
Perform delivery operation to the corresponding described APP server of described signature.
Second aspect, embodiments provides a kind of APP and calls Third-party payment method, be applied to APP server,
Described method includes:
Receiving the pay invoice information that APP client sends, described pay invoice information is that described APP client is obtaining
Generated when user is to the tally order of selected commodity;
Call the corresponding unification of the means of payment in described pay invoice information to place an order application programming interfaces so that with described
The means of payment corresponding Third-party payment server generates the advance order including order number, and returns to described APP server;
Receive the advance order that described Third-party payment server returns, the client of the signature with described APP server for the generation
End payment information, and return to described APP client, so that described APP client call and described Third-party payment server
Corresponding Third-party payment client pays according to described client payment information;Wherein, the signature of described APP server
For registration code in described Third-party payment server for the described APP server registration.
Alternatively, described method also includes:
Receive and preserve the payment result that described Third-party payment server returns, and the information being properly received is sent to
Described Third-party payment server, is used for referring to so that described Third-party payment server returns to described Third-party payment client
Showing the successful information of payment, described payment result is that described Third-party payment server is in described Third-party payment client
Payment is generated after finishing.
Alternatively, after the information being properly received being sent to described Third-party payment server, described method also includes:
Call the payment result after Third-party payment client pays described in inquiry application interface polls, and will
The described payment result inquiring returns to APP client.
The third aspect, embodiments provides a kind of APP and calls Third-party payment device, be applied to APP client,
Described device includes:
Generation module, for when obtaining user to the tally order of selected commodity, generates pay invoice information;
Sending module, for being sent to APP server by the pay invoice information of described generation, so that described APP services
Device calls the corresponding unification of the means of payment in described pay invoice information and places an order application programming interfaces so that with described payment
Mode corresponding Third-party payment server generates the advance order including order number, and returns to described APP server, makes described
APP server generates the client payment information of signature with described APP server for described advance order;Wherein, described APP
The signature of server is registration code in described Third-party payment server for the described APP server registration;
Calling module, is used for receiving the client payment information with described signature that described APP server returns, and calls
Corresponding Third-party payment client pays according to described client payment information with described Third-party payment server.
Alternatively, the process that described Third-party payment client pays according to described client payment information includes:
Described Third-party payment client sends and described client payment information pair to described Third-party payment server
The payment request answered, so that described payment request is verified by described Third-party payment server according to described advance order, as
Fruit is proved to be successful, and returns and authorizes guidance information;Wherein, described payment asks to include described order number and described signature, described
Guidance information is authorized to be used for indicating that user inputs authorization message;
Receive the authorization message based on described mandate guidance information input for the user, and described authorization message is submitted to described
Third-party payment server, so that described authorization message is verified by described Third-party payment server, if be proved to be successful,
Perform delivery operation to the corresponding described APP server of described signature.
Fourth aspect, embodiments provides a kind of APP and calls Third-party payment device, be applied to APP server,
Described device includes:
Receive sequence information module, for receiving the pay invoice information that APP client sends, described pay invoice information
Generated when acquisition user is to the tally order of selected commodity by described APP client;
Calling the interface module that places an order, the corresponding unification of the means of payment for calling in described pay invoice information places an order should
With routine interface, so that generate the advance order including order number with the described means of payment corresponding Third-party payment server, and
Return to described APP server;
Receive advance order module, for receiving the advance order that described Third-party payment server returns, generate the described APP of band
The client payment information of the signature of server, and return to described APP client, so that described APP client call and institute
State Third-party payment server corresponding Third-party payment client to pay according to described client payment information;Wherein,
The signature of described APP server is registration code in described Third-party payment server for the described APP server registration.
Alternatively, described device also includes:
Preserve payment result module, be used for receiving and preserving the payment result that described Third-party payment server returns, and
The information being properly received is sent to described Third-party payment server, so that described Third-party payment server is to the described 3rd
Side's payment client terminal returns and is used for indicating the successful information of payment, and described payment result is described Third-party payment server
Generated after described Third-party payment client pays and finishes.
Alternatively, described device also includes:
Inquiry payment result module, is used for calling Third-party payment client described in inquiry application interface polls and carries out
Payment result after payment, and the described payment result inquiring is returned to APP client.
The embodiment of the invention discloses a kind of APP and call Third-party payment method and device, method includes:Obtaining user
During to the tally order of selected commodity, generate pay invoice information;The pay invoice information of described generation is sent to APP service
Device, so that single utility program connects under the corresponding unification of the means of payment in pay invoice information described in described APP server calls
Mouthful, so that generate the advance order including order number with the described means of payment corresponding Third-party payment server, and return to
Described APP server, makes described APP server generate the client of signature with described APP server for described advance order
Payment information;Wherein, the signature of described APP server is that described APP server registration is in described Third-party payment server
Registration code;Receive the client payment information with described signature that described APP server returns, and call and described third party
Paying server corresponding Third-party payment client pays according to described client payment information.Compared to existing skill
Art, applies the present embodiment, and APP completes mobile payment function by third-party payment system.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the accompanying drawing of required use is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, all right
Obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 calls the stream of Third-party payment method by the embodiment of the present invention from a kind of APP that APP client angle is provided
Cheng Tu;
Fig. 2 calls Third-party payment client in Third-party payment method by a kind of APP that the embodiment of the present invention is provided
Carry out the flow chart of payment process;
Fig. 3 calls the stream of Third-party payment method by the embodiment of the present invention from a kind of APP that APP server side is provided
Cheng Tu;
Fig. 4 calls Third-party payment method flow process in actual applications by a kind of APP that the embodiment of the present invention is provided
Schematic diagram;
Fig. 5 calls the knot of Third-party payment device by the embodiment of the present invention from a kind of APP that APP client angle is provided
Structure schematic diagram;
Fig. 6 calls the knot of Third-party payment device by the embodiment of the present invention from a kind of APP that APP server side is provided
Structure schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not paying creative work
Embodiment, broadly falls into the scope of protection of the invention.
In order to enable APP to complete mobile payment function by third-party payment system, embodiments provide APP
Call Third-party payment method and device.
The APP being provided the embodiment of the present invention first below calls Third-party payment method and is introduced.In order to clear
For the sake of, by from respectively from the angle of APP client and APP server, the APP that introducing the embodiment of the present invention is provided calls the 3rd
Side's method of payment.
From the angle of APP client, embodiments provide a kind of APP and call Third-party payment method, so that APP
Mobile payment function can be completed by third-party payment system.
It is understood that third-party payment system includes Third-party payment client and Third-party payment service
Device.
As it is shown in figure 1, a kind of APP that the present embodiment is provided calls Third-party payment method, may include steps of:
S110, when obtaining user to the tally order of selected commodity, generates pay invoice information;
Specifically, APP client is when obtaining user to the tally order of selected commodity, can generate pay invoice information.
Pay invoice information can include but is not limited to following information:The means of payment, payment, trade name, payment currency type etc..
The pay invoice information of described generation is sent to APP server by S120, so that described APP server calls institute
State the corresponding unification of the means of payment in pay invoice information to place an order application programming interfaces, so that corresponding with the described means of payment
Third-party payment server generate and include the advance order of order number, and return to described APP server, make described APP service
Device generates the client payment information of signature with described APP server for described advance order;Wherein, described APP server
Signature be registration code in described Third-party payment server for the described APP server registration;
Specifically, can send it to APP server after APP client can generate pay invoice information, APP server connects
After receiving pay invoice information, the corresponding unification of the means of payment in pay invoice information can be called and place an order application programming interfaces.
Then can generate the advance order including order number with the means of payment corresponding Third-party payment server, and advance order is returned to
APP server.After APP server receives advance order, the client generating the signature with APP server for advance order pays
Information;Wherein, the signature of APP server is registration code in Third-party payment server for the APP server registration.
It should be noted that the means of payment can be any one means of payment in prior art in the embodiment of the present invention.Example
As the means of payment is specifically as follows wechat and pays, and correspondingly, wechat pays corresponding third-party payment system and is wechat payment
System, Third-party payment server is wechat server, and Third-party payment client is wechat client.
It is understood that the advance order including order number of Third-party payment server generation can include APP
Content in the pay invoice information that client generates.For example, advance order can include but is not limited to following information:Order
Number, the means of payment, payment, trade name, payment currency type etc..
S130, receives the client payment information with described signature that described APP server returns, and calls and described the
Tripartite's paying server corresponding Third-party payment client pays according to described client payment information;
Specifically, after APP client receives the client payment information with described signature that APP server returns, meeting
Call and pay according to client payment information with Third-party payment server corresponding Third-party payment client.For example,
APP client can by call third-party payment system SDK (Software Development Kit,
SDK) mode is called and is carried out according to client payment information with Third-party payment server corresponding Third-party payment client
Payment is carried out.
For example, Third-party payment client can be such as Fig. 2 institute according to the process that client payment information pays
Show, comprise the following steps:
S210, described Third-party payment client sends and described client disbursement letter to described Third-party payment server
Cease corresponding payment to ask, so that described payment request is tested by described Third-party payment server according to described advance order
Card, if being proved to be successful, returning and authorizing guidance information;
Wherein, described payment asks to include described order number and described signature, and described mandate guidance information is used for indicating
User inputs authorization message;
Specifically, when payment request is verified by Third-party payment server according to advance order, can ask with validation of payment
Whether the order number asked is consistent with the order number in advance order, if unanimously, is then proved to be successful, and returns and authorizes guidance information,
Otherwise authentication failed, returns and pays failure information.
During it is understood that payment request is verified by Third-party payment server according to advance order, can also test
Whether the information in card advance order is consistent with corresponding information in payment request, if unanimously, is then proved to be successful, returns mandate and draw
Lead information, otherwise authentication failed, return and pay failure information.For example, it is possible to order number in checking advance order, trade name,
Whether payment is consistent with corresponding order number, trade name, payment in payment request, if unanimously, then verifies into
Work(, returns and authorizes guidance information, otherwise authentication failed, returns and pays failure information.
Specifically, guidance information is authorized to be used for indicating that user inputs authorization message.It is specifically as follows instruction user and input close
Code or instruction user input account name and password.
S220, receives the authorization message based on described mandate guidance information input for the user, and submits described authorization message to
To described Third-party payment server, so that described authorization message is verified by described Third-party payment server, if tested
Demonstrate,prove successfully, perform delivery operation to the corresponding described APP server of described signature;
Specifically, Third-party payment client receives the authorization message based on described mandate guidance information input for the user
After, authorization message can be submitted to Third-party payment server, so that authorization message is entered by described Third-party payment server
Row checking, if be proved to be successful, performs delivery operation to the corresponding APP server of described signature.
For example, authorization message can be the password of user's input, and Third-party payment client receives the close of user's input
After Ma, password being submitted to Third-party payment server, after Third-party payment server receives password, whether checking password is
The corresponding password of payment account, if it is, be proved to be successful, Third-party payment server is to the corresponding APP server of described signature
Perform delivery operation.
It is understood that Third-party payment server returns while authorizing guidance information, cancellation can also be returned and draw
Leading information, user indicates that user cancels payment.If user is not desired to continue to pay, can be by cancelling guidance information cancellation
Pay.
During it should be noted that network failure cannot connect during user pays, Third-party payment service
Device can return and pay failed information.
Application the present embodiment, APP can complete mobile payment function by third-party payment system.And, paying
During to pay request and authorization message verify, it is ensured that safety of payment.
Angle from APP server below, a kind of APP that introducing the embodiment of the present invention is provided calls Third-party payment side
Method.
As it is shown on figure 3, a kind of APP that the present embodiment is provided calls Third-party payment method, may include steps of:
S310, receives the pay invoice information that APP client sends, and described pay invoice information is described APP client
Generated when acquisition user is to the tally order of selected commodity;
Specifically, APP client is when obtaining user to the tally order of selected commodity, can generate pay invoice information.
Pay invoice information can include but is not limited to following information:The means of payment, payment, trade name, payment currency type etc..
S320, calls the corresponding unification of the means of payment in described pay invoice information and places an order application programming interfaces, so that
Generate the advance order including order number with the described means of payment corresponding Third-party payment server, and return to described APP clothes
Business device;
Specifically, APP server is after receiving the pay invoice information that APP client sends, and can call pay invoice
The corresponding unification of the means of payment in information places an order application programming interfaces.Then, the corresponding Third-party payment clothes with the means of payment
Business device can generate the advance order including order number, and advance order returns to APP server.
It should be noted that the means of payment can be any one means of payment in prior art in the embodiment of the present invention.Example
As the means of payment is specifically as follows wechat and pays, and correspondingly, wechat pays corresponding third-party payment system and is wechat payment
System, Third-party payment server is wechat server, and Third-party payment client is wechat client.May be appreciated
It is that the advance order including order number that Third-party payment server generates can include the pay invoice that APP client generates
Information.For example, advance order can include but is not limited to following information:Order number, the means of payment, payment, trade name,
Pay currency type etc..
S330, receives the advance order that described Third-party payment server returns, the signature with described APP server for the generation
Client payment information, and return to described APP client, so that described APP client call takes with described Third-party payment
Business device corresponding Third-party payment client pays according to described client payment information;Wherein, described APP server
Signature is registration code in described Third-party payment server for the described APP server registration;
Specifically, APP server is after receiving the advance order that Third-party payment server returns, and can generate band APP service
The client payment information of the signature of device, and return to APP client.APP client receives the band institute that APP server returns
After stating the client payment information of signature, can call with Third-party payment server corresponding Third-party payment client according to visitor
Family end payment information pays.
It is understood that the process that pays according to client payment information of Third-party payment client can with upper
State the process that in embodiment, Third-party payment client pays according to client payment information the same, do not repeat here to go to live in the household of one's in-laws on getting married
State.
Further, in order to be able to allow users to obtain payment result information accurately, described method can also include:
Receive and preserve the payment result that described Third-party payment server returns, and the information being properly received is sent to
Described Third-party payment server, is used for referring to so that described Third-party payment server returns to described Third-party payment client
Showing the successful information of payment, described payment result is that described Third-party payment server is in described Third-party payment client
Payment is generated after finishing.
Specifically, after Third-party payment client pays and finishes, Third-party payment server can be the related payment generating
Result and user profile are sent to APP server, and APP server needs reception processing, and returns processing result information.If
APP server receives successfully, then the information being properly received is sent to Third-party payment server.Third-party payment server connects
After receiving the information being properly received that APP server sends, return to Third-party payment client and be used for indicating payment successfully
Information.
If it is understood that what Third-party payment server received the result of the return of APP server is to connect
Receive unsuccessfully or receive time-out, then Third-party payment server can periodically resend payment result by certain strategy, this
If sample, the success rate of transmission can be improved as far as possible.Concrete transmission frequency can be 15/30/180/18003600 time/
Second.
It is understood that the payment result repeatedly sending Third-party payment server when APP server is processed
When, the state of corresponding business datum can be first checked for, it is judged that whether this payment result is processed, without processing
Process again, if processing, directly returning and being properly received.Before carrying out status checkout to business datum and processing, can
Amplifying to use data of the prior art to process and carrying out con current control to data lock, the data causing to avoid function to reentry are mixed
Disorderly.
Further, inquire about payment result for the ease of user, the information being properly received is sent to Third-party payment clothes
After business device, described method can also include:
Call the payment result after Third-party payment client pays described in inquiry application interface polls, and will
The described payment result inquiring returns to APP client.
Specifically, APP server can pass through inquiry application interface, and inquiry Third-party payment client pays
After payment result, and the described payment result inquiring is returned to APP client.
In actual applications, when network, Third-party payment server etc. occur abnormal, user cannot determine payment result
When, can pass through inquiry application interface, inquiry Third-party payment client pay after payment result, and by described
The payment result inquiring returns to APP client.
Application the present embodiment, APP can complete mobile payment function by third-party payment system.And, paying
During to pay request and authorization message verify, it is ensured that safety of payment.
Below as a example by Fig. 4, from the angle of APP client and APP server interaction, the embodiment of the present invention is provided
A kind of APP calls Third-party payment method and illustrates.
First, user opens trade company's APP client.
Then, user selects commodity in APP client and places an order;
Specifically, user is after APP client chooses commodity and places an order, and can generate the clearing to selected commodity for the user and refer to
Order.
Then, APP client request generates pay invoice;
Specifically, APP client can generate pay invoice information when obtaining user to the tally order of selected commodity,
Pay invoice information can include:Wechat payment, the 50th, Chinese textbook, RMB.And APP client can be by propping up of generating
Pay sequence information and be sent to APP server;
Then, unified application programming interfaces (the Application Programming that places an order of APP server calls
Interface, API);
Specifically, APP server can call the corresponding unification of the wechat means of payment and places an order application programming interfaces.
Then, wechat server returns advance order information to APP server;
Specifically, wechat server can generate the advance order including order number, and advance order information returns to APP service
Device.
Then, APP server generates the client payment information with signature;
Specifically, after APP server receives advance order, can be for the visitor of the signature with APP server for the advance order generation
Family end payment information;Wherein, the signature of APP server is that APP server registration is in the registration code of wechat platform.
Then, the client payment information with described signature is returned to APP client by APP server.
Then, user confirms to pay in APP client.
Then, APP client has adjusted wechat to pay according to client payment information;
Specifically, APP client is according to the wechat means of payment in the client payment information with described signature, calls micro-
Letter client pays according to client payment information.
Then, wechat client is initiated to pay request to wechat server;
Specifically, wechat client can be initiated to pay request to wechat server, and then, wechat server can be according to prepayment
Single pair of pays the information such as the payment parameter in request, APP obligation authority and verifies, if be proved to be successful, and wechat server meeting
Return to wechat client and authorize guidance information.For example, wechat server can be with the order number in validation of payment request and prepayment
Whether the order number in list is consistent, if unanimously, is then proved to be successful, and returns and authorizes guidance information, otherwise authentication failed, returns and props up
Pay failure information.
Then, user confirms to pay in wechat client, inputs password.
Then, wechat client submits payment authorization to wechat server;
Specifically, wechat client can submit payment authorization to wechat server, and then, wechat server can be believed to authorizing
Breath is verified, if be proved to be successful, payment completes, i.e. signature in client payment information for the wechat server is corresponding
APP server performs delivery operation.
Then, wechat server is to APP server asynchronous notifications payment result.
Then, APP server receives and preserves and pays notice, and returns to wechat server and inform and be properly received place
Reason.
Then, wechat server returns payment result to wechat client, sends wechat information alert.
After payment completes, if APP server does not receives payment notice, or when user needs to check payment result, also may be used
To check payment result by readjustment.
Specifically, first, APP server calls wechat inquiry API inquiry payment result, then, wechat server is to APP
Server returns payment result, and then, APP server returns payment result to APP client.Then, wechat client to
Payment result is shown at family.
Application the present embodiment, APP completes mobile payment function by wechat payment system.And, in payment process
Payment request and authorization message are verified, it is ensured that safety of payment.
Calling Third-party payment method corresponding to the above-mentioned a kind of APP being provided from APP client angle, the present invention implements
Example provides a kind of APP and calls Third-party payment device, is applied to APP client, as it is shown in figure 5, this device can include:
Generation module 510, for when obtaining user to the tally order of selected commodity, generates pay invoice information;
Sending module 520, is used for the pay invoice information of generation is sent to APP server, so that APP server calls
The corresponding unification of the means of payment in pay invoice information places an order application programming interfaces, so that corresponding with the described means of payment
Third-party payment server generates the advance order including order number, and returns to APP server, makes APP server for prepayment
The client payment information of single signature generating with APP server;Wherein, the signature of APP server be APP server registration in
Registration code in Third-party payment server;
Calling module 530, is used for receiving the client payment information with described signature that APP server returns, and calls
Pay according to client payment information with Third-party payment server corresponding Third-party payment client.
Wherein, Third-party payment client can include according to the process that client payment information pays:
Third-party payment client sends and the corresponding payment of described client payment information to Third-party payment server
Request, so that payment request is verified by described Third-party payment server according to advance order, if be proved to be successful, return is awarded
Power guidance information;Wherein, pay request and include order number and signature, authorize guidance information to be used for indicating that user inputs mandate letter
Breath;
Receive the authorization message based on mandate guidance information input for the user, and authorization message is submitted to Third-party payment clothes
Business device, so that authorization message is verified by Third-party payment server, if be proved to be successful, to the corresponding APP of described signature
Server performs delivery operation.
Applying this enforcement, APP completes mobile payment function by third-party payment system.And, in payment process
Payment request and authorization message are verified, it is ensured that safety of payment.
Calling Third-party payment method corresponding to above-mentioned from a kind of APP that APP server side is provided, the present invention implements
Example provides a kind of APP and calls Third-party payment device, is applied to APP server, and as shown in Figure 6, this device can include:
Receive sequence information module 610, for receiving the pay invoice information that APP client sends, described pay invoice
Information is generated when acquisition user is to the tally order of selected commodity by APP client;
Calling the interface module 620 that places an order, the corresponding unification of the means of payment for calling in pay invoice information places an order should
With routine interface, so that generate the advance order including order number with the described means of payment corresponding Third-party payment server, and
Return to APP server;
Receive advance order module 630, for receiving the advance order that Third-party payment server returns, generate band APP service
The client payment information of the signature of device, and return to APP client, so that APP client call and Third-party payment service
Device corresponding Third-party payment client pays according to client payment information;Wherein, the signature of APP server is APP
Registration code in Third-party payment server for the server registration.
Wherein, Third-party payment client can include according to the process that client payment information pays:
Third-party payment client sends and the corresponding payment of described client payment information to Third-party payment server
Request, so that payment request is verified by described Third-party payment server according to advance order, if be proved to be successful, return is awarded
Power guidance information;Wherein, pay request and include order number and signature, authorize guidance information to be used for indicating that user inputs mandate letter
Breath;
Receive the authorization message based on mandate guidance information input for the user, and authorization message is submitted to Third-party payment clothes
Business device, so that authorization message is verified by Third-party payment server, if be proved to be successful, to the corresponding APP of described signature
Server performs delivery operation.
Specifically, described device can also include:
Preserve payment result module (not shown in Fig. 6), for receiving and preserving propping up of Third-party payment server return
Pay result, and the information being properly received is sent to Third-party payment server, so that Third-party payment server is to third party
Payment client terminal returns and is used for indicating the successful information of payment, and described payment result is that Third-party payment server is the 3rd
Side's payment client terminal payment is generated after finishing.
Specifically, described device can also include:
Inquiry payment result module (not shown in Fig. 6), is used for calling inquiry application interface polls Third-party payment
Client pay after payment result, and the payment result inquiring is returned to APP client.
Applying this enforcement, APP completes mobile payment function by third-party payment system.And, in payment process
Payment request and authorization message are verified, it is ensured that safety of payment.
For system and device embodiment, owing to it is substantially similar to embodiment of the method, so the comparison describing is simple
Single, the part that related part sees embodiment of the method illustrates.
It should be noted that herein, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", "comprising" or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, the key element being limited by statement " including ... ", it is not excluded that
Including the process of described key element, method, article or equipment there is also other identical element.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment is can
Completing to instruct related hardware by program, described program can be stored in computer read/write memory medium,
The storage medium obtaining designated herein, as:ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All
Any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in protection scope of the present invention
In.
Claims (10)
1. an APP calls Third-party payment method, it is characterised in that be applied to APP client, and described method includes:
When obtaining user to the tally order of selected commodity, generate pay invoice information;
The pay invoice information of described generation is sent to APP server, so that pay invoice described in described APP server calls
The corresponding unification of the means of payment in information places an order application programming interfaces, so that corresponding third party props up with the described means of payment
Pay server generates and includes the advance order of order number, and returns to described APP server, makes described APP server for described
Advance order generates the client payment information of the signature with described APP server;Wherein, the signature of described APP server is institute
State registration code in described Third-party payment server for the APP server registration;
Receive the client payment information with described signature that described APP server returns, and call and described Third-party payment
Server corresponding Third-party payment client pays according to described client payment information.
2. method according to claim 1, it is characterised in that described Third-party payment client is propped up according to described client
The process that the information of paying pays includes:
Described Third-party payment client sends corresponding with described client payment information to described Third-party payment server
Pay request, so that described payment request is verified by described Third-party payment server according to described advance order, if tested
Demonstrate,prove successfully, return and authorize guidance information;Wherein, described payment asks to include described order number and described signature, described mandate
Guidance information is used for indicating that user inputs authorization message;
Receive the authorization message based on described mandate guidance information input for the user, and described authorization message is submitted to the described 3rd
Side's paying server, so that described authorization message is verified by described Third-party payment server, if be proved to be successful, to institute
State the corresponding described APP server of signature and perform delivery operation.
3. an APP calls Third-party payment method, it is characterised in that be applied to APP server, and described method includes:
Receiving the pay invoice information that APP client sends, described pay invoice information is that described APP client is obtaining user
Generated during to the tally order of selected commodity;
Call the corresponding unification of the means of payment in described pay invoice information to place an order application programming interfaces so that with described payment
Mode corresponding Third-party payment server generates the advance order including order number, and returns to described APP server;
Receiving the advance order that described Third-party payment server returns, the client generating the signature with described APP server is propped up
The information of paying, and return to described APP client, so that described APP client call is corresponding with described Third-party payment server
Third-party payment client pay according to described client payment information;Wherein, the signature of described APP server is institute
State registration code in described Third-party payment server for the APP server registration.
4. method according to claim 3, it is characterised in that described method also includes:
Receive and preserve the payment result that described Third-party payment server returns, and the information being properly received is sent to described
Third-party payment server, so that described Third-party payment server returns for instruction to described Third-party payment client
Paying successful information, described payment result is that described Third-party payment server pays in described Third-party payment client
Generated after finishing.
5. method according to claim 4, it is characterised in that the information being properly received is sent to described Third-party payment
After server, described method also includes:
Call the payment result after Third-party payment client pays described in inquiry application interface polls, and by described
The payment result inquiring returns to APP client.
6. an APP calls Third-party payment device, it is characterised in that be applied to APP client, and described device includes:
Generation module, for when obtaining user to the tally order of selected commodity, generates pay invoice information;
Sending module, for being sent to APP server by the pay invoice information of described generation, so that described APP server is adjusted
Place an order application programming interfaces with the corresponding unification of the means of payment in described pay invoice information so that with the described means of payment
Corresponding Third-party payment server generates the advance order including order number, and returns to described APP server, makes described APP
Server generates the client payment information of signature with described APP server for described advance order;Wherein, described APP clothes
The signature of business device is registration code in described Third-party payment server for the described APP server registration;
Calling module, is used for receiving the client payment information with described signature that described APP server returns, and calls and institute
State Third-party payment server corresponding Third-party payment client to pay according to described client payment information.
7. device according to claim 6, it is characterised in that described Third-party payment client is propped up according to described client
The process that the information of paying pays includes:
Described Third-party payment client sends corresponding with described client payment information to described Third-party payment server
Pay request, so that described payment request is verified by described Third-party payment server according to described advance order, if tested
Demonstrate,prove successfully, return and authorize guidance information;Wherein, described payment asks to include described order number and described signature, described mandate
Guidance information is used for indicating that user inputs authorization message;
Receive the authorization message based on described mandate guidance information input for the user, and described authorization message is submitted to the described 3rd
Side's paying server, so that described authorization message is verified by described Third-party payment server, if be proved to be successful, to institute
State the corresponding described APP server of signature and perform delivery operation.
8. an APP calls Third-party payment device, it is characterised in that be applied to APP server, and described device includes:
Receiving sequence information module, for receiving the pay invoice information that APP client sends, described pay invoice information is institute
State what APP client was generated when acquisition user is to the tally order of selected commodity;
Call the interface module that places an order, place an order application journey for the corresponding unification of the means of payment called in described pay invoice information
Sequence interface, so that generate the advance order including order number with the described means of payment corresponding Third-party payment server, and returns
To described APP server;
Receive advance order module, for receiving the advance order that described Third-party payment server returns, generate band described APP service
The client payment information of the signature of device, and return to described APP client, so that described APP client call and described the
Tripartite's paying server corresponding Third-party payment client pays according to described client payment information;Wherein, described
The signature of APP server is registration code in described Third-party payment server for the described APP server registration.
9. device according to claim 8, it is characterised in that described device also includes:
Preserve payment result module, be used for receiving and preserve the payment result that described Third-party payment server returns, and will become
The information that work(receives is sent to described Third-party payment server, so that described Third-party payment server props up to described third party
Paying client return to be used for indicating the successful information of payment, described payment result is that described Third-party payment server is in institute
State Third-party payment client pay finish after generated.
10. device according to claim 9, it is characterised in that described device also includes:
Inquiry payment result module, is used for calling Third-party payment client described in inquiry application interface polls and pays
After payment result, and the described payment result inquiring is returned to APP client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610886367.7A CN106447308A (en) | 2016-10-11 | 2016-10-11 | APP third-party calling payment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610886367.7A CN106447308A (en) | 2016-10-11 | 2016-10-11 | APP third-party calling payment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106447308A true CN106447308A (en) | 2017-02-22 |
Family
ID=58174809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610886367.7A Pending CN106447308A (en) | 2016-10-11 | 2016-10-11 | APP third-party calling payment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106447308A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107329742A (en) * | 2017-06-14 | 2017-11-07 | 北京小米移动软件有限公司 | SDK call method and device |
CN107491967A (en) * | 2017-09-02 | 2017-12-19 | 刘兴丹 | A kind of method, apparatus of network payment input password |
CN107730366A (en) * | 2017-10-30 | 2018-02-23 | 江西博瑞彤芸科技有限公司 | A kind of information processing method of pay invoice management |
CN107767226A (en) * | 2017-10-30 | 2018-03-06 | 江西博瑞彤芸科技有限公司 | A kind of generation method of pay invoice |
CN107818457A (en) * | 2017-10-30 | 2018-03-20 | 江西博瑞彤芸科技有限公司 | Payment processing method |
CN109087077A (en) * | 2018-07-05 | 2018-12-25 | 福建天晴数码有限公司 | It is a kind of to distribute method of payment and terminal by all kinds of means |
CN109299932A (en) * | 2018-06-06 | 2019-02-01 | 苏州炫网信息科技有限公司 | It is a kind of to apply interior payment system and method |
CN109426960A (en) * | 2017-12-28 | 2019-03-05 | 中国平安财产保险股份有限公司 | Account authentication method, mobile device, account authentication equipment and readable storage medium storing program for executing |
CN110290102A (en) * | 2019-04-26 | 2019-09-27 | 武汉众邦银行股份有限公司 | Service security system and method based on application |
CN110390520A (en) * | 2018-04-20 | 2019-10-29 | 上海憬承信息科技有限公司 | A kind of multichannel payment platform and its method of payment based on wechat payment |
CN110852819A (en) * | 2018-08-20 | 2020-02-28 | 北京京东尚科信息技术有限公司 | Transaction processing method and device, storage medium and electronic equipment |
CN111091346A (en) * | 2019-11-20 | 2020-05-01 | 四川商通实业有限公司 | Employee welfare general consumption payment method and system |
CN111612577A (en) * | 2020-05-14 | 2020-09-01 | 北京字节跳动网络技术有限公司 | Order processing method and device, electronic equipment and storage medium |
CN111861453A (en) * | 2020-07-01 | 2020-10-30 | 博泰车联网(南京)有限公司 | Method and system for generating payment page and vehicle-mounted terminal |
CN113379406A (en) * | 2021-05-20 | 2021-09-10 | 大河(深圳)信息有限公司 | Transaction method between merchant terminal and third-party payment platform |
CN114971900A (en) * | 2022-04-26 | 2022-08-30 | 广州长盛科技有限公司 | Transaction method, device and medium based on technical information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117455A (en) * | 2011-03-21 | 2011-07-06 | 广州市动景计算机科技有限公司 | Mobile terminal browser-based secure payment method and system |
CN103745343A (en) * | 2013-12-30 | 2014-04-23 | 北京中科金财电子商务有限公司 | Method for placing order by calling payment plug-in on APP merchant mobile platform |
CN105741092A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Unified payment method and unified payment system supporting multiple cloud services |
-
2016
- 2016-10-11 CN CN201610886367.7A patent/CN106447308A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117455A (en) * | 2011-03-21 | 2011-07-06 | 广州市动景计算机科技有限公司 | Mobile terminal browser-based secure payment method and system |
CN103745343A (en) * | 2013-12-30 | 2014-04-23 | 北京中科金财电子商务有限公司 | Method for placing order by calling payment plug-in on APP merchant mobile platform |
CN105741092A (en) * | 2016-01-19 | 2016-07-06 | 四川长虹电器股份有限公司 | Unified payment method and unified payment system supporting multiple cloud services |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107329742A (en) * | 2017-06-14 | 2017-11-07 | 北京小米移动软件有限公司 | SDK call method and device |
CN107491967A (en) * | 2017-09-02 | 2017-12-19 | 刘兴丹 | A kind of method, apparatus of network payment input password |
CN107730366B (en) * | 2017-10-30 | 2021-06-11 | 北京博瑞彤芸科技股份有限公司 | Information processing method for payment order management |
CN107730366A (en) * | 2017-10-30 | 2018-02-23 | 江西博瑞彤芸科技有限公司 | A kind of information processing method of pay invoice management |
CN107767226A (en) * | 2017-10-30 | 2018-03-06 | 江西博瑞彤芸科技有限公司 | A kind of generation method of pay invoice |
CN107818457A (en) * | 2017-10-30 | 2018-03-20 | 江西博瑞彤芸科技有限公司 | Payment processing method |
CN109426960A (en) * | 2017-12-28 | 2019-03-05 | 中国平安财产保险股份有限公司 | Account authentication method, mobile device, account authentication equipment and readable storage medium storing program for executing |
CN110390520A (en) * | 2018-04-20 | 2019-10-29 | 上海憬承信息科技有限公司 | A kind of multichannel payment platform and its method of payment based on wechat payment |
CN109299932A (en) * | 2018-06-06 | 2019-02-01 | 苏州炫网信息科技有限公司 | It is a kind of to apply interior payment system and method |
CN109087077A (en) * | 2018-07-05 | 2018-12-25 | 福建天晴数码有限公司 | It is a kind of to distribute method of payment and terminal by all kinds of means |
CN110852819A (en) * | 2018-08-20 | 2020-02-28 | 北京京东尚科信息技术有限公司 | Transaction processing method and device, storage medium and electronic equipment |
CN110290102A (en) * | 2019-04-26 | 2019-09-27 | 武汉众邦银行股份有限公司 | Service security system and method based on application |
CN111091346A (en) * | 2019-11-20 | 2020-05-01 | 四川商通实业有限公司 | Employee welfare general consumption payment method and system |
CN111612577A (en) * | 2020-05-14 | 2020-09-01 | 北京字节跳动网络技术有限公司 | Order processing method and device, electronic equipment and storage medium |
CN111612577B (en) * | 2020-05-14 | 2023-06-13 | 北京字节跳动网络技术有限公司 | Order processing method and device, electronic equipment and storage medium |
CN111861453A (en) * | 2020-07-01 | 2020-10-30 | 博泰车联网(南京)有限公司 | Method and system for generating payment page and vehicle-mounted terminal |
CN113379406A (en) * | 2021-05-20 | 2021-09-10 | 大河(深圳)信息有限公司 | Transaction method between merchant terminal and third-party payment platform |
CN114971900A (en) * | 2022-04-26 | 2022-08-30 | 广州长盛科技有限公司 | Transaction method, device and medium based on technical information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106447308A (en) | APP third-party calling payment method and device | |
CN106357644B (en) | Identity identifying method, system and server based on block chain network | |
EP3079326B1 (en) | Network payment method, apparatus and system | |
CN107464120A (en) | Exempt from the safe verification method, trade company's background system and payment system of close payment | |
US20150379514A1 (en) | Systems and methods for transaction pre authentication | |
CN108197913A (en) | Method of payment, system and computer readable storage medium based on block chain | |
US20160127898A1 (en) | Methods and systems for validating mobile devices of customers via third parties | |
CN106357640A (en) | Method, system and server for authenticating identities on basis of block chain networks | |
CN104574057A (en) | Online payment method and related equipment and system | |
US20080243650A1 (en) | Service System and Method for Mobile Payment of Small Amount Using Virtual Caller Id | |
CN105933274A (en) | Payment method and device | |
KR20040037074A (en) | Financial transaction system and method using electronic messaging | |
CN103532933A (en) | Method of realizing client operation authorization through fingerprint confirmation, and intelligent terminal | |
CN104820944A (en) | Method and system for bank self-service terminal authentication, and device | |
US20150095239A1 (en) | Card account identifiers associated with conditions for temporary use | |
CN106130998A (en) | A kind of identifying code transmission method and device | |
KR20100009150A (en) | System for payment of products by using mobile phone and method thereof | |
CN104219196A (en) | Service locking method, service unlocking method, device and system | |
US20150178726A1 (en) | System and method for mobile payment authentication | |
CN109426961B (en) | Card binding risk control method and device | |
US10217101B2 (en) | Link of mobile devices to facilitate mobile commerce transactions | |
KR101675376B1 (en) | System and method for relaying payment between mobile payment means and off-line payment system | |
CN109155778A (en) | A kind of method of payment and device based on verifying terminal | |
CN106101125A (en) | Authentication processing method, Apparatus and system | |
CA2865798A1 (en) | Card account identifiers associated with conditions for temporary use |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170222 |
|
WD01 | Invention patent application deemed withdrawn after publication |