xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

xuelipay personal Prompt arrival payment platform principle and source code Detailed

  1. Current Status and Resolution Principle

1.1 Status

1.2 Principle

1.3 Examples

  1. Accounts receivable collection process to complete the Detailed Source

  2. 1 upload accounts receivables code

2.2 Creating Order

2.3 monitor phone app

2.4 server to process the payment completion notification

  1. And drain leakage single principle of a single approach

3.1 Why single leak

3.2 Leakage single approach

3.3 source code parsing

  1. Receivables anomaly detection

4.1 Anomaly Detection Configuration

4.2 source code parsing

4.3 Receivables reasons for failure

  1. How to solve concurrency

  2. Official website

  3. Access Issue

  4. Charging mode

9. Offer

  1. Current Status and Resolution Principle

1.1 Status

Alipay only micro-channel and enterprise business license only open payment interface, so independent developers can not apply to micro-channel or pay rights. But this does not mean that independent developers can not use receivables payment interface. If you go to a special collection functions away handle a business license, it is very worthwhile, and ongoing operational costs will be greatly improved. However, the good news is that this problem has been solved our system, let us explain in detail how we achieve independent developers (ie, personal) application for payment interface.

1.2 Principle

In the developer is no business license, we can not help developers apply to the official payment interface. But officials there have been a characteristic when Alipay and micro-letter code in receivables by collection, standard system will push a notification in the status bar phone App. For example, "Alipay / micro-channel payment xx yuan." At this point, xuelipay will make some tips by individual receivables code online payment function can be achieved, and enjoy the pay official interface with exactly the same function.

1.3 Examples

In order to explain the principle, let us give an example. A merchant is now a demand for payment of $ 10, this time with A phone log of Mr. A PayPal account, then the system creates a payment order and send Mr. A payment of $ 10 paid back to the customer receivables code . When the payment is completed, A cell phone listens to 10.00 yuan Alipay payment notice, then hang up the App billing information to the server on A mobile phone, user A server receives a notification of completion of payment, the orders will payment notification in the payment status has changed, and the complete collection of callbacks to the merchant's server, a complete closed-loop receivables.

2. receivables collection process to complete the Detailed Source

2.1 accounts receivable upload code

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

2.2 Creating Order

Return to idle payment code to the customer payment xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

2.3 monitor phone app

支付宝和微信收款成功后,会实时推送一个收款xx元的标准通知栏。在安卓系统中,我们可以用下面的代码监听到付款信息。

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

监听收款信息后,把收款及收款信息上传到到服务器。 xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

2.4 服务器处理付款完成通知

服务器处理手机app上传的信息后,把订单改为付款完毕状态

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

然后把付款成功信息回调给商户处理

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

  1. 漏单原理及漏单的处理办法

3.1 为什么会漏单

在正常运作的情况下,是不会出现漏单问题。

出现漏单情况主要有以下几个原因。

  1. 短时间出现大量订单并发的情况,订单的出现跟订单金额相差几分钱的订单,用户习惯性的付了套餐价格,而不是订单为了区别用户而相差几分钱付的价格。

  2. 用户套餐定的价格不是整数,例如9.90或者9.99。用户有可能习惯性直接付10元。

  3. 用户创建了订单,但是超过5分钟之后才付款。

3.2 漏单的处理办法

可以启用订单相似自动匹配功能,在配置界面根据商户自己的容忍度进行设置。

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

3.3 源码解析

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

  1. 收款异常检测

为了确保收款的顺利,我们自身提供了一套收款实时的异常检测机制。从多个收款异常角度进行检测,当系统出现异常时,能够及时地通知商户

4.1 异常检测配置

超时无成:超过指定时间无成功订单。

订单连续失功 :连续创建n个订单无成功订单

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

4.2 源码解析

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

xuelipay personal Prompt arrival payment platform principle and source code Detailed micro-channel support Alipay

4.3 收款失败原因

  1. 收款码被用户投诉,收款码被微信、支付宝风控。从而导致用户无法继续付款。

  2. 挂机app手机已关机或者网络不通。

  3. 如何解决并发

每一个xuelipay的账户收款都是完全独立的。如果同一时间段有高并发需求,注册多个xuelipay账户,并且使用多台手机登陆各个账户对应的微信支付宝,然后收款接口随机分配到xuelipay账户即可。

6. 官网

https://xuelipay.com

7. 接入文档

https://xuelipay.com/api_document.jsp

8. 收费模式

xuelipay深知创业不易,所以xuelipay收费是市面上最优惠的,相比其他收款平台高达1-3%的手续费,我们最低仅需0.038%手续费,比市面上的收费模式便宜将近50-80倍。为创业者节省大量的运营成本。

9. Offer

Xuelipay please contact customer service, we each account your complimentary $ 50 voucher.

Guess you like

Origin blog.51cto.com/14509101/2431083