博客列表 >微信收付通支付回调通知解密数据样例!

微信收付通支付回调通知解密数据样例!

小生我怕怕啊的博客
小生我怕怕啊的博客原创
2021年01月03日 19:18:362300浏览

此为开发测试数据,其中隐私id数据已经修改了!

APP支付和小程序支付的回调数据基本差不多

合单支付的:

{
    "combine_appid": "wx74fa3044c1866158",
    "combine_mchid": "1604508789",
    "combine_payer_info": {
        "openid": "oLRds5TJjkPmSUZcVT4RtDtctquo"
    },
    "sub_orders": [{
        "mchid": "1604508666",
        "trade_type": "JSAPI",
        "trade_state": "SUCCESS",
        "bank_type": "OTHERS",
        "attach": "notify with attach",
        "success_time": "2021-01-02T13:58:03+08:00",
        "amount": {
            "total_amount": 1,
            "payer_amount": 1,
            "currency": "CNY",
            "payer_currency": "CNY"
        },
        "transaction_id": "4325100661202101025776656304",
        "out_trade_no": "2021010213608015858H10290",
        "sub_mchid": "1604978280"
    }, {
        "mchid": "1604508789",
        "trade_type": "JSAPI",
        "trade_state": "SUCCESS",
        "bank_type": "OTHERS",
        "attach": "notify with attach",
        "success_time": "2021-01-02T13:58:03+08:00",
        "amount": {
            "total_amount": 1,
            "payer_amount": 1,
            "currency": "CNY",
            "payer_currency": "CNY"
        },
        "transaction_id": "4325100661202101027478904172",
        "out_trade_no": "2021010213630653846H10291",
        "sub_mchid": "1605090777",
        "sub_appid": "wx74fa3044c1866158",
        "sub_openid": "oLRds5TJjkPmSUZcVT4RtDtctquo"
    }],
    "scene_info": {
        "device_id": "Center001"
    },
    "combine_out_trade_no": "2021010213606717170H10289"
}

普通支付的:

{
	"sp_mchid": "1604508789",
	"sub_mchid": "1605090777",
	"sp_appid": "wx74fa3044c1862258",
	"sub_appid": "wx74fa3044c1862258",
	"out_trade_no": "2021010214078463455X10294",
	"transaction_id": "4200000841202101026408706287",
	"trade_type": "JSAPI",
	"trade_state": "SUCCESS",
	"trade_state_desc": "֧支付成功",
	"bank_type": "OTHERS",
	"attach": "",
	"success_time": "2021-01-02T14:01:57+08:00",
	"payer": {
		"sp_openid": "oLRds5TJjkPmSUZcVT4RtDtctquo",
		"sub_openid": "oLRds5TJjkPmSUZcVT4RtDtctquo"
	},
	"amount": {
		"total": 1,
		"payer_total": 1,
		"currency": "CNY",
		"payer_currency": "CNY"
	}
}


声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议