微信支付 开发文档: https://pay.weixin.qq.com/wiki/doc/api/index.html
未支付
Array ( [appid] => ********** [device_info] => Array ( ) [mch_id] => ******* [nonce_str] => zGAdkvGlF8XyY6yF [out_trade_no] => BuyGroupPay_0000_158**** [result_code] => SUCCESS [return_code] => SUCCESS [return_msg] => OK [sign] => 5D55BDBE676E3B58A41F069CD7F4EFC2 [total_fee] => 500 [trade_state] => NOTPAY [trade_state_desc] => 订单未支付 )
支付成功
Array ( [appid] => ********* [attach] => 单篇权限购买,UID:194719,UName:℡**** [bank_type] => OTHERS [cash_fee] => 500 [cash_fee_type] => CNY [fee_type] => CNY [is_subscribe] => N [mch_id] => 1526422061 [nonce_str] => S72VbwVv9mkHllYc [openid] => ****** [out_trade_no] => BuyGroupPay_0000_*****61 [result_code] => SUCCESS [return_code] => SUCCESS [return_msg] => OK [sign] => 2B6B5622E712F497D8FD52DB0A64E5B4 [time_end] => 20200427173817 [total_fee] => 500 [trade_state] => SUCCESS [trade_state_desc] => 支付成功 [trade_type] => NATIVE [transaction_id] => 4200000531202004277575529544 )
订单不存在
Array ( [appid] => ********** [err_code] => ORDERNOTEXIST [err_code_des] => 订单不存在 [mch_id] => ********* [nonce_str] => *********** [result_code] => FAIL [return_code] => SUCCESS [return_msg] => OK [sign] => D12472C59BC94C0CDC1B0C797CEAB80A )
订单已经关闭
Array ( [appid] => 33333333333 [attach] => 购买点数,UID:,UName: [mch_id] => ******** [nonce_str] => vHpYHtEkiBV4vwk2 [out_trade_no] => BuyGroupPay_0000_1570016651 [result_code] => SUCCESS [return_code] => SUCCESS [return_msg] => OK [sign] => 7856F6561879DA7084504869F0725ADA [trade_state] => CLOSED [trade_state_desc] => 订单已关闭 )