Skip to content

Commit c6df1a2

Browse files
author
杨国帅
committed
Merge branch 'lh/error_code' into 'master'
添加微信支付错误码 See merge request !8
2 parents ff0cebc + a5ea30a commit c6df1a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/WxPay.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class WxPay extends \lspbupt\curl\CurlHttp
2424
const PAY_TRADE_TYPE_JSAPI = 'JSAPI';
2525
const PAY_TRADE_TYPE_NATIVE = 'NATIVE';
2626
const PAY_TRADE_TYPE_MWEB = 'MWEB';
27+
28+
const PAY_ERROR_CODE_PAID = 'ORDERPAID';
29+
const PAY_ERROR_CODE_CLOSED = 'ORDERCLOSED';
2730
/**
2831
* @var string 商户号,见开户邮件
2932
*/

0 commit comments

Comments
 (0)