Blogger Information
Blog 12
fans 0
comment 0
visits 27654
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
微信收付通支付回调通知解密数据样例!
小生我怕怕啊的博客
Original
2298 people have browsed it

此为开发测试数据,其中隐私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"
	}
}


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post