小程序
小游戏
企业微信
微信支付
扫描小程序码分享
请问要怎么传profit_sharing. https://pay.weixin.qq.com/wiki/doc/api/H5_sl.php?chapter=9_20&index=1
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
谢邀,数据结构可看这里: https://thenorthmemory.github.io/wechatpay-openapi/#/APIv2%E2%88%99%E5%9F%BA%E7%A1%80%E6%94%AF%E4%BB%98/post_pay_unifiedorder 网页加载文件较多需要等待几分钟
<?xml version="1.0" encoding="UTF-8"?> <xml> <version>1.0</version> <profit_sharing>N</profit_sharing> <appid>wxd678efh567hg6787</appid> <mch_id>1230000109</mch_id> <device_info>013467007045764</device_info> <nonce_str>5K8264ILTKCH16CQ2502SI8ZNMTM67VS</nonce_str> <sign>C380BEC2BFD727A4B6845133519F3AD6</sign> <sign_type>MD5</sign_type> <body>腾讯充值中心-QQ会员充值</body> <detail><![CDATA[{"cost_price":1,"receipt_id":"wx123","goods_detail":[{"goods_id":"商品编码","wxpay_goods_id":"1001","goods_name":"iPhone6s 16G","quantity":1,"price":1},{"goods_id":"商品编码","wxpay_goods_id":"1002","goods_name":"iPhone6s 32G","quantity":1,"price":1}]}]]></detail> <attach>深圳分店</attach> <out_trade_no>20150806125346</out_trade_no> <fee_type>CNY</fee_type> <total_fee>88</total_fee> <spbill_create_ip>123.12.12.123</spbill_create_ip> <time_start>20091225091010</time_start> <time_expire>20091227091010</time_expire> <goods_tag>WXG</goods_tag> <notify_url>http://www.weixin.qq.com/wxpay/pay.php</notify_url> <trade_type>JSAPI</trade_type> <product_id>12235413214070356458058</product_id> <limit_pay>no_credit</limit_pay> <openid>oUpF8uMuAJO_M2pxb1Q9zNjWeS6o</openid> <receipt>Y</receipt> <scene_info><![CDATA[{"store_info" : {"id": "SZTX001","name": "腾大餐厅","area_code": "440305","address": "科技园中一路腾讯大厦" }}]]></scene_info> </xml>
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
接口文档:https://pay.weixin.qq.com/wiki/doc/api/allocation.php?chapter=26_1
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
谢邀,数据结构可看这里: https://thenorthmemory.github.io/wechatpay-openapi/#/APIv2%E2%88%99%E5%9F%BA%E7%A1%80%E6%94%AF%E4%BB%98/post_pay_unifiedorder 网页加载文件较多需要等待几分钟
<?xml version="1.0" encoding="UTF-8"?> <xml> <version>1.0</version> <profit_sharing>N</profit_sharing> <appid>wxd678efh567hg6787</appid> <mch_id>1230000109</mch_id> <device_info>013467007045764</device_info> <nonce_str>5K8264ILTKCH16CQ2502SI8ZNMTM67VS</nonce_str> <sign>C380BEC2BFD727A4B6845133519F3AD6</sign> <sign_type>MD5</sign_type> <body>腾讯充值中心-QQ会员充值</body> <detail><![CDATA[{"cost_price":1,"receipt_id":"wx123","goods_detail":[{"goods_id":"商品编码","wxpay_goods_id":"1001","goods_name":"iPhone6s 16G","quantity":1,"price":1},{"goods_id":"商品编码","wxpay_goods_id":"1002","goods_name":"iPhone6s 32G","quantity":1,"price":1}]}]]></detail> <attach>深圳分店</attach> <out_trade_no>20150806125346</out_trade_no> <fee_type>CNY</fee_type> <total_fee>88</total_fee> <spbill_create_ip>123.12.12.123</spbill_create_ip> <time_start>20091225091010</time_start> <time_expire>20091227091010</time_expire> <goods_tag>WXG</goods_tag> <notify_url>http://www.weixin.qq.com/wxpay/pay.php</notify_url> <trade_type>JSAPI</trade_type> <product_id>12235413214070356458058</product_id> <limit_pay>no_credit</limit_pay> <openid>oUpF8uMuAJO_M2pxb1Q9zNjWeS6o</openid> <receipt>Y</receipt> <scene_info><![CDATA[{"store_info" : {"id": "SZTX001","name": "腾大餐厅","area_code": "440305","address": "科技园中一路腾讯大厦" }}]]></scene_info> </xml>
接口文档:https://pay.weixin.qq.com/wiki/doc/api/allocation.php?chapter=26_1