CN108305055A - Pay test method and device - Google Patents

Pay test method and device Download PDF

Info

Publication number
CN108305055A
CN108305055A CN201710981671.4A CN201710981671A CN108305055A CN 108305055 A CN108305055 A CN 108305055A CN 201710981671 A CN201710981671 A CN 201710981671A CN 108305055 A CN108305055 A CN 108305055A
Authority
CN
China
Prior art keywords
information
payment
pay invoice
pay
scene
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.)
Granted
Application number
CN201710981671.4A
Other languages
Chinese (zh)
Other versions
CN108305055B (en
Inventor
王刚
段西亚
李愿
李大明
张卓
赵健
甘旅桥
聂亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Palmar World (beijing) Information Technology Co Ltd
Original Assignee
Palmar World (beijing) Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Palmar World (beijing) Information Technology Co Ltd filed Critical Palmar World (beijing) Information Technology Co Ltd
Priority to CN201710981671.4A priority Critical patent/CN108305055B/en
Publication of CN108305055A publication Critical patent/CN108305055A/en
Application granted granted Critical
Publication of CN108305055B publication Critical patent/CN108305055B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to Internet technical fields, and in particular to a kind of payment test method and device.Method includes:A. it obtains the information that user fills in and generates pay invoice information after validation, pay invoice information includes pay invoice number, b. the multiple default order informations stored in test server are obtained, default order information includes default order number, c. it searches and presets the corresponding default order information of order number with default order number that pay invoice number matches to obtain this, and this is preset into order information as target order information, d. the first information that pay invoice information includes is matched with the first presupposed information that target order information includes, the return to step a when mismatching, upon a match, the preset state information that according to pay invoice information include pay status information and default order information includes gets paid result.By the above method, effectively to solve user the case where test environment carries out facing prodigious obstruction when the big amount of money is paid.

Description

Pay test method and device
Technical field
The present invention relates to Internet technical fields, in particular to a kind of payment test method and device.
Background technology
In recent years, e-commerce be increasingly becoming internet economy development main trend, shopping online and payment gradually at For a kind of convenient life style.One of key link of e-commerce is payment and clearing system, and online payment is then electricity The sub- optimal payment scheme of commercial affairs needs those skilled in the art various the feasibility of online payment in practice Scene, environment and in the case of repeatedly tested, can just obtain the online payment system for meeting modern day user demand.
Inventor it has been investigated that, existing on-line payment generally by the way of access Third-party payment company interface, But under the test environment, third-party payment system is because that without providing sandbox environment, can only call true payment interface, cause to test Finance cannot provide support when the order amount of money is larger, and third party will also collect certain payment procedure expense.These problems are led Family of applying faces prodigious obstruction when test environment carries out the payment of the big amount of money.
Invention content
In view of this, the purpose of the present invention is to provide a kind of payment test method and device, existed with effectively solving user Test environment carries out the case where facing prodigious obstruction when big amount of money payment.
In order to achieve the above object, present pre-ferred embodiments provide a kind of payment test method, the method includes:
A. it obtains the information that user fills according to payment scene and generates pay invoice information after validation, the payment is ordered Single information includes pay invoice number;
B. the multiple default order informations stored in test server are obtained, the default order information includes default order Number;
C. the default order number to match with the pay invoice number is searched in the multiple default order information to obtain The corresponding default order information of order number is preset to this, and this is preset into order information as target order information;
D. it first presets the first information that the pay invoice information includes includes with the target order information Information is matched, and when mismatching, generates the first log information and return to step a;
E. upon a match, include in pay status information and the default order information according to the pay invoice information Including preset state information get paid as a result, and according to the payment result generate the second log information.
In a preferred embodiment of the present invention, in above-mentioned payment test method, the first information includes payment amount letter Breath and payment user information, first presupposed information includes preset cost information and pre-set user information.
In a preferred embodiment of the present invention, in above-mentioned payment test method, obtain what user filled according to payment scene After information and after validation generation pay invoice information, the method further includes:
The pay invoice information is encrypted, encrypted pay invoice information is obtained.
In a preferred embodiment of the present invention, in above-mentioned payment test method, obtain what user filled according to payment scene Before information and after validation generation pay invoice information, the method further includes:
Multiple payment scenes are generated according to default application configuration;
Obtain the payment scene that user chooses in multiple payment scenes.
In a preferred embodiment of the present invention, it in above-mentioned payment test method, is generated according to default application configuration multiple It includes that simulation order payment scene, platform licensing payment scene and guarantee fund pay scene to pay scene.
The present invention also provides a kind of payment test devices, including:
First acquisition module:For obtaining user according to the information filled in of payment scene and generating pay invoice after validation Information, the pay invoice information includes pay invoice number;
Second acquisition module:For obtaining the multiple default order informations stored in test server, the default order Information includes default order number;
Searching module:It is preset with what the pay invoice number matched for being searched in the multiple default order information This is preset order information and believed as target order by order number to obtain the corresponding default order information of default order number Breath;
Matching module:The first information for including by the pay invoice information includes with the target order information The first presupposed information matched, when mismatch when, generate the first log information;
Payment result generation module:For including pay status information according to the pay invoice information upon a match The preset state information for including with the default order information is got paid as a result, and generating second according to the payment result Log information.
In a preferred embodiment of the present invention, in above-mentioned payment test device, the first information includes payment amount letter Breath and payment user information, first presupposed information includes preset cost information and pre-set user information.
In a preferred embodiment of the present invention, in above-mentioned payment test device, described device further includes:
Encrypting module:For the pay invoice information to be encrypted, encrypted payment information is obtained.
In a preferred embodiment of the present invention, in above-mentioned payment test device, described device further includes:
Scenario generating module:For generating multiple payment scenes according to default application configuration;
Scene acquisition module:The payment scene chosen in multiple payment scenes for obtaining user.
In a preferred embodiment of the present invention, it in above-mentioned payment test device, is generated according to default application configuration multiple It includes that simulation order payment scene, platform licensing payment scene and guarantee fund pay scene to pay scene.
A kind of payment test method provided in an embodiment of the present invention and device, the method includes:A. obtain user according to It paying the information that scene is filled in and generates pay invoice information after validation, the pay invoice information includes pay invoice number, B. the multiple default order informations stored in test server are obtained, the default order information includes default order number, and c. is looked into The default order number to match with the pay invoice number is looked for obtain the corresponding default order information of the default order number, and will For the default order information as target order information, d. orders the first information that the pay invoice information includes with the target The first presupposed information that single information includes is matched, and when mismatching, generates the first log information and return to step a, e. Upon a match, include pay status information according to the pay invoice information and that the default order information includes is default Status information is got paid as a result, and generating the second log information according to the payment result.By the above method, effectively to solve The case where certainly user faces prodigious obstruction when test environment carries out big amount of money payment.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the connection block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Fig. 2 is a kind of flow diagram of payment test method provided in an embodiment of the present invention.
Fig. 3 is a kind of another flow diagram of payment test method provided in an embodiment of the present invention.
Fig. 4 is a kind of connection block diagram of payment test device provided in an embodiment of the present invention.
Fig. 5 is a kind of another connection block diagram of payment test device provided in an embodiment of the present invention
Icon:10- electronic equipments;12- memories;14- processors;100- pays test device;110- first obtains mould Block;The second acquisition modules of 120-;130- searching modules;140- matching modules;150- payment result generation modules;160- scenes are given birth to At module;170- scene acquisition modules.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common The every other embodiment that technical staff is obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
As shown in Figure 1, being the block diagram for the electronic equipment 10 that present pre-ferred embodiments provide.The embodiment of the present invention In electronic equipment 10 can be equipment that server, computer etc. have data-handling capacity.As shown in Figure 1, electronic equipment 10 include:Memory 12 and processor 14.
The memory 12 is directly or indirectly electrically connected between each other with processor 14, with realize data transmission or Interaction.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.Memory The software function module being stored in the form of software or firmware (Firmware) in the memory 12 is stored in 12, it is described Processor 14 is stored in software program and module in memory 12 by operation, such as the payment test in the embodiment of the present invention Device 100 realizes the payment test method in the embodiment of the present invention to perform various functions application and data processing.
Wherein, the memory 12 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electrically Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 12 is for storing program, and the processor 14 executes the journey after receiving and executing instruction Sequence.
The processor 14 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 14 Can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It can also be digital signal processor 14 (DSP), application-specific integrated circuit (ASIC), show Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware Component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can To be microprocessor or the processor can also be any conventional processor etc..
It is appreciated that structure shown in FIG. 1 is only to illustrate, electronic equipment 10 may also include it is more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 may be used hardware, software or its Combination is realized.
Referring to Fig. 2, a kind of payment test method provided by the invention, the method includes five steps of S110-S150.
Step S110:It obtains the information that user fills according to payment scene and generates pay invoice information, institute after validation It includes pay invoice number to state pay invoice information.
Wherein, the test server can be but not limited to simulation order payment scene, platform licensing payment scene Or guarantee fund pays scene.The payment scene includes that user needs the information filled in, and the information filled in of the needs can be with Including but not limited to order number, transaction amount information and payment user information etc..
Step S120:The multiple default order informations stored in test server are obtained, the default order information includes Default order number.
Wherein, the test server can be but not limited to WEB server or database server.The default order Can also include but not limited to preset cost information and pre-set user information etc. in information.
Step S130:It searches corresponding to obtain the default order number with the default order number that the pay invoice number matches Default order information, and this is preset into order information as target order information.
Wherein, when the pay invoice number is consistent with the default order number, then judge the default order number and institute Pay invoice number is stated to match.Wherein, the pay invoice number can be made of number, can also be made of letter, may be used also To be collectively formed by letter and number.It is not specifically limited herein.
Step S140:Include by the first information that the pay invoice information includes and the target order information the One presupposed information is matched.When mismatching, step S142 is executed:Generate the first log information, and return to step S110.
In the present embodiment, the first information includes payment amount information and payment user information, and described first is default Information includes preset cost information and pre-set user information.
The first information and the first presupposed information, which are carried out matched mode, to be, by the payment amount information with The preset cost information is matched, and the payment user information is matched with the pre-set user information, when When the payment amount information mismatches and/or pay user information with presupposed information with pre-set user information mismatch, then give birth to At the first log information and return to step S110.
Wherein described first log information may include prompt message in including, for example, when the payment user information and When the pre-set user information mismatches, the prompt message is " user information mistake " or " user information is invalid " etc., works as institute When stating payment amount information and presupposed information and mismatching, then the prompt message be " payment amount mistake " or " payment amount with Order amount differ " etc..By above-mentioned setting so that user can be according in the payment scene and first log information Including prompt message fill in or change again information.
Upon a match, S150 is thened follow the steps:According to the pay invoice information include pay status information and described The preset state information that default order information includes is got paid as a result, and generating the second daily record letter according to the payment result Breath.
Wherein, the preset state information can be complete payment or wait it is to be paid, the payment result can be payment Success or payment failure, second log information may include prompt message, when payment result is to pay successfully, then second The prompt message that log information includes be " pay successfully ", can also when indicate to pay successful identifier, when pay failure When, the prompt message that second log information includes can be " payment failure ", can also be the mark for indicating payment failure Know symbol, is not specifically limited herein
It should be noted that when the first information that the pay invoice information includes is wrapped with the target order information The first presupposed information included can also generate the first log information, and may include carrying in first log information to when matching Show information, and the prompt message can with when the information such as " OK " or " order is consistent ", be not specifically limited herein.
By above-mentioned so that user effectively avoids when carrying out payment test using access Third-party payment company interface Mode, but under the test environment, third-party payment system because without providing sandbox environment, true payment interface can only be called, Finance cannot provide support when causing the test order amount of money larger, and third party will also collect asking for certain payment procedure expense Topic, and then effectively avoid the problem that user faces prodigious obstruction when test environment carries out big amount of money payment.
In addition, by generating the first log information and the second log information during the test, to greatly facilitate use Family can quickly search simultaneously problem analysis when matching or paying error according to log information.And after the completion of payment, to use Family can continue to test the follow-up business of pay invoice, and the accuracy of effective guarantee payment test result.
Incorporated by reference to Fig. 3, optionally, in the present embodiment, user is being obtained according to the information filled in of payment scene and true Before generating pay invoice information after recognizing, the method further includes:
Step S160:Multiple payment scenes are generated according to default application configuration.
The payment scene that wherein different application configurations generates is different.Optionally, in the present embodiment, the multiple payment Scene includes that simulation order payment scene, platform licensing payment scene or guarantee fund pay scene, and different payment scenes is filled out The information write is different.
Step S170:Obtain the payment scene that user chooses in multiple payment scenes.
By the above method so that user can be ordered according to the payment scene fill message of selection with obtaining corresponding payment It is single.In addition, by above method step so that the payment test method can realize the branch to being generated under different payment scenes Order is paid to be tested.
Optionally, in the present embodiment, described to obtain user according to the information filled in of payment scene and generate after validation After pay invoice information, the method further includes:
The pay invoice information is encrypted, encrypted pay invoice information is obtained.
Wherein, the mode pay invoice information being encrypted is not specifically limited herein.By to the payment The case where effectively to avoid pay invoice information from being stolen or illegally call is encrypted in order information.
It should be noted that in the present embodiment, the payment test method can be applied on actual line in paying. It is described to obtain user according to paying the information filled in of scene and confirming when the test method is applied to pay on practical line The mode of generation pay invoice information is to obtain the information and the generation branch after confirmation is paid that user fills according to payment scene afterwards Order information is paid, by the pay invoice information being encrypted it is possible to prevente effectively from the order information is stolen or illegally It calls, to improve the safety of business scenario calling.
Incorporated by reference to Fig. 4, on the basis of the above, the embodiment of the present invention also provides a kind of payment test device 100, the payment Test device 100 includes the first acquisition module 110, the second acquisition module 120, searching module 130, matching module 140 and payment Result-generation module 150.
First acquisition module 110 is used to obtain the information that user fills according to payment scene and generates branch after validation Order information is paid, the pay invoice information includes pay invoice number.Specifically, first acquisition module 110 can be used for holding Row step S110 shown in Fig. 2, specific operating method can refer to the detailed description of step S110.
Second acquisition module 120:It is described pre- for obtaining the multiple default order informations stored in test server If order information includes default order number.Specifically, first acquisition module 110 can be used for executing step shown in Fig. 2 S120, specific operating method can refer to the detailed description of step S120.
The searching module 130 matches for being searched in the multiple default order information with the pay invoice number Default order number to obtain the default corresponding default order information of order number, and this is preset into order information and is ordered as target Single information.Specifically, the searching module 130 can be used for executing step S130 shown in Fig. 2, and specific operating method can join Examine the detailed description of step S130.
The matching module 140 is used for the first information for including by the pay invoice information and the target order information The first presupposed information for including is matched, and generates the first log information when mismatching.Specifically, the matching module 140 can be used for executing step S140 shown in Fig. 2, and specific operating method can refer to the detailed description of step S140.
Optionally, in the present embodiment, the first information includes payment amount information and payment user information, and described the One presupposed information includes preset cost information and pre-set user information.
The payment result generation module 150 is for including payment shape according to the pay invoice information upon a match The preset state information that state information and the default order information include is got paid as a result, and being given birth to according to the payment result At the second log information.Specifically, the payment result generation module 150 can be used for executing step S150 shown in Fig. 2, tool The operating method of body can refer to the detailed description of step S150.
Incorporated by reference to Fig. 5, in the present embodiment, the payment test device 100 further includes scenario generating module 160 and scene Acquisition module 170.
The scenario generating module 160 is used to generate multiple payment scenes according to default application configuration.Specifically, the field Scape generation module 160 can be used for executing step S160 shown in Fig. 3, and specific operating method can refer to the detailed of step S160 Description.
The scene acquisition module 170 is used to obtain the payment scene that user chooses in multiple payment scenes.Tool Body, the scene acquisition module 170 can be used for executing step S170 shown in Fig. 3, and specific operating method can refer to step The detailed description of rapid S170.
Optionally, in the present embodiment, include simulation order branch according to multiple payment scenes that default application configuration generates It pays scene, platform licensing payment scene and guarantee fund and pays scene.
Optionally, in the present embodiment, the payment test device 100 further includes encrypting module, and the encrypting module is used It is encrypted in the pay invoice information, obtains encrypted payment information.
To sum up, a kind of payment test method provided by the invention and device, the method includes S110:Obtain user's root According to the information filled in of payment scene and generation pay invoice information after validation, the pay invoice information includes pay invoice Number, S120:The multiple default order informations stored in test server are obtained, the default order information includes default order Number, S130:It searches and is ordered with the default order number that the pay invoice number matches with obtaining corresponding preset of default order number Single information, and this is preset into order information as target order information, S140:Include by the pay invoice information first Information is matched with the first presupposed information that the target order information includes, and when mismatching, generates the first log information And return to step S110 includes upon a match pay status information and the default order according to the pay invoice information The preset state information that information includes is got paid as a result, and generating the second log information according to the payment result.Pass through The above method, effectively to solve user the case where test environment carries out facing prodigious obstruction when the big amount of money is paid, with And the accuracy of effective guarantee payment test result.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed device and method also may be used To realize by another way.Device and method embodiment described above is only schematical, for example, in attached drawing Flow chart and block diagram show the device of multiple embodiments according to the present invention, the possibility of method and computer program product is realized Architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a program A part for a part for section or code, the module, section or code includes that one or more is patrolled for realizing defined Collect the executable instruction of function.It should also be noted that at some as the function of in the realization method replaced, being marked in box It can occur in a different order than that indicated in the drawings.It is also noted that each box in block diagram and or flow chart, And the combination of the box in block diagram and or flow chart, function or the dedicated of action as defined in executing can be used to be based on hardware Device realize, or can realize using a combination of dedicated hardware and computer instructions.In addition, in each implementation of the present invention Each function module in example can integrate to form an independent part, can also be modules individualism, An independent part can be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), is deposited mobile hard disk at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic disc or CD. It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of payment test method, which is characterized in that the method includes:
A. it obtains the information that user fills according to payment scene and generates pay invoice information after validation, the pay invoice letter Breath includes pay invoice number;
B. the multiple default order informations stored in test server are obtained, the default order information includes default order number;
C. the default order number to match with the pay invoice number is searched in the multiple default order information to be somebody's turn to do The corresponding default order information of default order number, and this is preset into order information as target order information;
D. the first presupposed information for including with the target order information by the first information that the pay invoice information includes It is matched, the first log information, and return to step a is generated when mismatching;
E. upon a match, include pay status information according to the pay invoice information and the default order information includes Preset state information get paid as a result, and according to the payment result generate the second log information.
2. payment test method according to claim 1, which is characterized in that the first information includes payment amount information With payment user information, first presupposed information includes preset cost information and pre-set user information.
3. payment test method according to claim 1, which is characterized in that obtain the letter that user fills according to payment scene After ceasing and generating pay invoice information after validation, the method further includes:
The pay invoice information is encrypted, encrypted pay invoice information is obtained.
4. payment test method according to claim 1, which is characterized in that obtain the letter that user fills according to payment scene Before ceasing and generating pay invoice information after validation, the method further includes:
Multiple payment scenes are generated according to default application configuration;
Obtain the payment scene that user chooses in multiple payment scenes.
5. payment test method according to claim 4, which is characterized in that multiple generated according to default application configuration It includes that simulation order payment scene, platform licensing payment scene and guarantee fund pay scene to pay scene.
6. a kind of payment test device, which is characterized in that including:
First acquisition module:Believe for obtaining user according to the information filled in of payment scene and generating pay invoice after validation Breath, the pay invoice information includes pay invoice number;
Second acquisition module:For obtaining the multiple default order informations stored in test server, the default order information Including presetting order number;
Searching module:For searching the default order to match with the pay invoice number in the multiple default order information Number to obtain the default corresponding default order information of order number, and this is preset into order information as target order information;
Matching module:The first information for including by the pay invoice information and the target order information include the One presupposed information is matched, and the first log information is generated when mismatching;
Payment result generation module:For including pay status information and institute according to the pay invoice information upon a match The preset state information that default order information includes is stated to get paid as a result, and generating the second daily record according to the payment result Information.
7. payment test device according to claim 6, which is characterized in that the first information includes payment amount information With payment user information, first presupposed information includes preset cost information and pre-set user information.
8. payment test device according to claim 6, which is characterized in that described device further includes:
Encrypting module:For the pay invoice information to be encrypted, encrypted payment information is obtained.
9. payment test device according to claim 6, which is characterized in that described device further includes:
Scenario generating module:For generating multiple payment scenes according to default application configuration;
Scene acquisition module:The payment scene chosen in multiple payment scenes for obtaining user.
10. payment test device according to claim 9, which is characterized in that generated according to default application configuration multiple It includes that simulation order payment scene, platform licensing payment scene and guarantee fund pay scene to pay scene.
CN201710981671.4A 2017-10-20 2017-10-20 Payment testing method and device Expired - Fee Related CN108305055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710981671.4A CN108305055B (en) 2017-10-20 2017-10-20 Payment testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710981671.4A CN108305055B (en) 2017-10-20 2017-10-20 Payment testing method and device

Publications (2)

Publication Number Publication Date
CN108305055A true CN108305055A (en) 2018-07-20
CN108305055B CN108305055B (en) 2021-03-12

Family

ID=62869936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710981671.4A Expired - Fee Related CN108305055B (en) 2017-10-20 2017-10-20 Payment testing method and device

Country Status (1)

Country Link
CN (1) CN108305055B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447733A (en) * 2018-09-25 2019-03-08 深圳壹账通智能科技有限公司 Transaction verification method, device and the storage medium of transaction system
CN110310111A (en) * 2019-06-26 2019-10-08 郑州铁路职业技术学院 A kind of third party's Internet payment system Internet-based and method
CN110705979A (en) * 2019-09-30 2020-01-17 北京嘀嘀无限科技发展有限公司 Charging information processing method, storage medium and electronic device
CN111679967A (en) * 2020-04-27 2020-09-18 贝壳技术有限公司 Trade list display method and device for testing
CN111815312A (en) * 2020-06-24 2020-10-23 霓检有限公司 Payment method and device and payee server
CN111967929A (en) * 2020-07-09 2020-11-20 口碑(上海)信息技术有限公司 Order polling method and device, electronic equipment and storage medium
CN112015661A (en) * 2020-09-08 2020-12-01 江苏云柜网络技术有限公司 Software testing method and device
CN112418835A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Method and related device for testing online bank payment process
CN112820040A (en) * 2021-03-09 2021-05-18 厦门米应科技有限公司 Printing system and printing method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241697A (en) * 2006-03-09 2007-09-20 Internatl Business Mach Corp <Ibm> Method, device, and program for testing scenario
CN101211437A (en) * 2006-12-31 2008-07-02 阿里巴巴公司 Electronic payment failure testing method, device and electronic payment system
CN101236523A (en) * 2008-02-29 2008-08-06 深圳华为通信技术有限公司 Input method test method and device
CN105589802A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Software test method and apparatus
CN106021091A (en) * 2016-05-04 2016-10-12 上海携程商务有限公司 Internet bank simulation system and method
US9514034B1 (en) * 2014-12-15 2016-12-06 Amazon Technologies, Inc. Ordered test execution to enable faster feedback
CN106354628A (en) * 2016-08-12 2017-01-25 北京小米移动软件有限公司 Payment app test method and device thereof
CN106528432A (en) * 2016-12-12 2017-03-22 北京三快在线科技有限公司 Construction method and apparatus for test scene data, and buried point test method
CN106557421A (en) * 2016-10-10 2017-04-05 深圳市证通电子股份有限公司 POS applied program testing methods and device
CN106815148A (en) * 2016-12-30 2017-06-09 中国银联股份有限公司 A kind of transaction test method and device
CN106841975A (en) * 2016-12-14 2017-06-13 新智数字科技有限公司 A kind of test system
CN106897216A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 The method and apparatus of test software

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241697A (en) * 2006-03-09 2007-09-20 Internatl Business Mach Corp <Ibm> Method, device, and program for testing scenario
CN101211437A (en) * 2006-12-31 2008-07-02 阿里巴巴公司 Electronic payment failure testing method, device and electronic payment system
CN101236523A (en) * 2008-02-29 2008-08-06 深圳华为通信技术有限公司 Input method test method and device
CN105589802A (en) * 2014-10-23 2016-05-18 阿里巴巴集团控股有限公司 Software test method and apparatus
US9514034B1 (en) * 2014-12-15 2016-12-06 Amazon Technologies, Inc. Ordered test execution to enable faster feedback
CN106021091A (en) * 2016-05-04 2016-10-12 上海携程商务有限公司 Internet bank simulation system and method
CN106354628A (en) * 2016-08-12 2017-01-25 北京小米移动软件有限公司 Payment app test method and device thereof
CN106557421A (en) * 2016-10-10 2017-04-05 深圳市证通电子股份有限公司 POS applied program testing methods and device
CN106528432A (en) * 2016-12-12 2017-03-22 北京三快在线科技有限公司 Construction method and apparatus for test scene data, and buried point test method
CN106841975A (en) * 2016-12-14 2017-06-13 新智数字科技有限公司 A kind of test system
CN106815148A (en) * 2016-12-30 2017-06-09 中国银联股份有限公司 A kind of transaction test method and device
CN106897216A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 The method and apparatus of test software

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447733A (en) * 2018-09-25 2019-03-08 深圳壹账通智能科技有限公司 Transaction verification method, device and the storage medium of transaction system
CN110310111A (en) * 2019-06-26 2019-10-08 郑州铁路职业技术学院 A kind of third party's Internet payment system Internet-based and method
CN112418835A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Method and related device for testing online bank payment process
CN110705979A (en) * 2019-09-30 2020-01-17 北京嘀嘀无限科技发展有限公司 Charging information processing method, storage medium and electronic device
CN111679967A (en) * 2020-04-27 2020-09-18 贝壳技术有限公司 Trade list display method and device for testing
CN111679967B (en) * 2020-04-27 2023-04-21 贝壳技术有限公司 Method and device for displaying transaction list for testing
CN111815312A (en) * 2020-06-24 2020-10-23 霓检有限公司 Payment method and device and payee server
CN111967929A (en) * 2020-07-09 2020-11-20 口碑(上海)信息技术有限公司 Order polling method and device, electronic equipment and storage medium
CN112015661A (en) * 2020-09-08 2020-12-01 江苏云柜网络技术有限公司 Software testing method and device
CN112015661B (en) * 2020-09-08 2023-10-03 南京云柜网络科技有限公司 Software testing method and device
CN112820040A (en) * 2021-03-09 2021-05-18 厦门米应科技有限公司 Printing system and printing method

Also Published As

Publication number Publication date
CN108305055B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108305055A (en) Pay test method and device
CN109584082A (en) Settlement of insurance claim method, electronic device and storage medium based on block chain
CN105706129B (en) Secure payment transactions are carried out using rotation application transaction counter
CN106780012A (en) A kind of internet credit methods and system
CN107451485A (en) A kind of data processing method and equipment based on block chain
CN110245940B (en) Information processing method in digital asset certificate inheritance transfer and related device
CN109711837A (en) Processing method of insuring, device and electronic equipment based on block chain technology
JP6697001B2 (en) Providing verdicts for mobile devices with payment credentials
CN109285069B (en) Resource transfer method, device and server
CN107358439A (en) Using method of payment, device and terminal device
CN104966199A (en) Data processing method, client and payment platform
CN109377377A (en) Processing method and processing device, storage medium, the computer equipment of fund data
CN109461045A (en) Order method of payment, system, computer equipment and storage medium
CN110033162A (en) One seed nucleus is protected and question and answer rule generating method, device and equipment
CN109241722A (en) For obtaining method, electronic equipment and the computer-readable medium of information
US10740759B2 (en) Dynamically generated payment token ratings
CN109710675A (en) A kind of storing data library switching method, device, server and storage medium
CN109271564A (en) Declaration form querying method and equipment
CN108364230A (en) A kind of account is withdrawn deposit method, apparatus, terminal device and storage medium
CN110009351A (en) Method and apparatus for generation hair verification
CN111105224A (en) Payment feedback information processing method and device, electronic equipment and storage medium
CN107528822A (en) A kind of business performs method and device
CN108038667A (en) Declaration form generation method, device and equipment
US20100312675A1 (en) Systems and Methods for Reporting Chargebacks
CN106709733A (en) Verification strategy selection method and equipment

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210312

Termination date: 20211020

CF01 Termination of patent right due to non-payment of annual fee