Skip to content

Commit a5ea30a

Browse files
author
liuhong
committed
添加微信支付错误码
1 parent ff0cebc commit a5ea30a

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)