Visa personal collection program implementation principle autoxpay

autoxpay system is a static html page will be able to achieve visa-free individual receivables

You can download the code self-testing. Codes network disk address:

 https://pan.baidu.com/s/1FiRuia2HQo7qBgTfQkgZGQ
extraction code: 5k1n
 

The best payment system code into their own hands was assured Oh. If the issuing platform or similar jspay words.

      The first one: the money was pressing, such as issuing platform, often press a few days, always feel not mind at ease. Assuming without foot, if customers buy violation complaint may also come to a "life and wealth." Issuing platform is the platform of customers buy the activation code, and then use the activation code in the system, payment experience is very poor in this way, we can not do real-time, many of the single payment rate is really low.

     The second: the high cost, I own individual developers income is not high, are hard-earned money earned. Although some payjs can do real-time and the like, but the same high rate, about a point a little better, about 2 points higher.

    The third point: uncertainty. First platform less money themselves, generally have a few days. Zhi Buding day platform, platform or platform run crash on foot, then do not know how much energy loss.

 

The principle:

The title of the article wrote: AutoXpay just static pages can be realized, you do not have a database?

    Yes.

       Not have their own database, but the use of third-party cloud database, the database is free to call just one million times / month for individual developers are naturally quite enough.

Js database is just the SDK, then we use static pages directly to the s technology can achieve the operation of general additions and deletions to change search database. 

      The next process is to:

      Get back order price list within five minutes --- "price list generation does not repeat the only price ----" With this price to create an order ---- "

      Looking for a self-developed Android mobile phone APP ---- "the customer pays, APP received a phone message notification ---" APP will pay the amount to match the data and pay for orders modified to succeed ---- "Page modified to successful payment status

      It seems the process is basically one sentence summary is: match according to differences in the amount within five minutes of the order number, and then modify the order of successful payment status.

For example, would have to pay 1.00, within five minutes if someone has placed an order of 1.00, at the moment can give the customer breaks 0.01, then 0.99 is the only flag in five minutes, we only use this flag to match the order ID, and then flawlessly It is matched to the user to pay.

1. Try to support micro-channel payment and Alipay p (A) we can set up user payment options for the event A, then when you support both modes, the first tranche of = 1/2

2. The price for a relief after two random We also set payment rates for the event B, then appeared the price of probability p (B) = 1/10 * 1/10 = 1/100

3. Consider the time factor we assume that users time to buy is also random, if we consider only the hours and minutes, then the probability of this time probably is p (C) = 1/13 * 1/60 = 1/780

4. Because of the time and the amount of random selection and purchase of payment of relief, we can assume probability of independent then this is probably the wrong way to the p-(ABC) = the p-(A) the p-(B) the p-(C) = (1 / 2) (1/100) (1/780) = 1 / 156,000 that is if you can do the above two points, the first payment in the probability of error is about 15 parts per million, the error probability, if the purchase amount is small technology, is acceptable.

 This is less suitable for concurrent individual developers. Of course, if the order occurred confusion, then congratulations, you basically have is a local tyrant, you order so much. You can use the enterprise mode.

Guess you like

Origin www.cnblogs.com/hifun/p/12366276.html