当面付

专题头条

  • 今日:37
  • 主题:2
  • 总帖:4806
版主: 我是个导演
简介:商家通过扫描线下买家支付宝钱包中的条码、二维码等方式将买家的交易资金直接打入卖家支付宝账户,提升商家收银效率。
条码支付集成开发者指南
本帖仅供参考,非官方demo 一、官方文档 文档地址:点击【查看】 sdk下载:点击【查看】 官方demo下载地址:点击【查看】 二、开发前准备工作 1、签约:https://openclub.alipay.com/read.php?tid=276&fid=72 2、创建应用:https://openclub.alipay.com/read.php?tid=1606&fid=72 3、生成密钥:https://openclub.alipay.com/read.php?tid=1833&fid=69 4、下载服务端sdk:https://docs.open.alipay.com/54/106370/ 如何签约以及签约无法成功等相关签约问题:https://openclub.alipay.com/read.php?tid=276&fid=72 检查调用appid的应用功能列表中是否添加“当面付”并显示已签约。 三、接口集成示例代码 支付宝网关: 沙箱环境支付宝网:https://openapi.alipaydev.com/gateway.do    正式环境支付宝网关:https://openapi.alipay.com/gateway.do 1、参数说明 (1)out_trade_no:商户订单号,由商户自定义设置; (2)scene:支付场景 条码支付,取值:bar_code  声波支付,取值:wave_code (3)subject:商品标题 (4)auth_code:支付授权码,由用户支付宝app的“付钱”选项中获取      2、接口请求示例 沙箱账号 //沙箱APPID public static final String app_id = "2016101800718925"; //沙箱私钥pkcs8格式 public static final String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDfDBUJhaw46ck8MHccIBXPt2USOvCRZ0dQNZZwC0EmZvcnL2+NUyoJMbgcV3U5o6wApajkpibf9UkrtYgI3/GZhOgzfzH0IJYAXmYCEniM+Cl5ipIWhY0W/s+uNRGNdXvNlketNNcVqAvkKZdcHz23N60BXsvjdR+BJ/np2CUmr9OCv0aqqwOO190rOuZvVaFCJD5LDmvDFdXPzrJHcOAyYjb2hhJIWt5n4o/b3LMYeuxfwWuQ4VlGx+s0wZJ1udUyAX8X8byqYcnevG8A1sQd/dRVNr8f1BxS8kjDIDljCzKPoYyoaoeJMhJIxrV8gL57oEIX7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f+FK0jUMREVBi9CQgbK8iF/hDmA34B4z0JCkWEsGojiS3S72ZJBXxrZ8RowJGqLuNZHUAD+eEzjoBhZOIfn2R0Bo2UAZAe6pwERzqOEEVLyBExEV3+qkDwIewx4lghFCQpwhO6SNWj4ppSgXh7XAss="; //支付宝公钥 public static final String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnVuBUzhfo7kWUN/TS/kHmb4afsAlUVaTR3U5e74V0os1bzlfvh+cpwnwzaEIb36CR1OzeIIzXgARIW/zGAL1/PLG8dFEXQOIGkA0a8YXGVNX9KeWnFCnCQ5gQxrfJ3ryasXzWBxv5bex1VrVsQ2TZ1VdUD+S7dR4SWFHvyck8/xGt3Hz5peUqo/OIlfQpoTBXdqfnJNrTVAMqcQhrIWwgpSVgmUq+UhlZsDaiUvxWWFm9v9nY172jFfzup/DIET//OpIghL6AB2F+ywkCcHdZHiGklnpNoQKQ6XMVKaO/k2nlHU64Y4WGSgJnSG6B798ohZoi3pndrVPAH5+5BKEFQIDAQAB"; //沙箱网关地址 public static final String gatewayUrl = "https://openapi.alipaydev.com/gateway.do"; java版(适用于jdk1.5以上) //获得初始化的AlipayClient AlipayClient alipayClient = new DefaultAlipayClient(AlipayConfig.gatewayUrl, AlipayConfig.app_id, AlipayConfig.merchant_private_key, AlipayConfig.format, AlipayConfig.charset, AlipayConfig.alipay_public_key, AlipayConfig.sign_type); //创建API对应的request类 AlipayTradePayRequest request = new AlipayTradePayRequest(); //创建API对应的request类 request.setNotifyUrl("https://openclub.alipay.com/"); AlipayTradePayModel model = new AlipayTradePayModel(); model.setOutTradeNo("2019012020321558348254"); //支付场景 条码支付,取值:bar_code ;声波支付,取值:wave_code model.setScene("bar_code"); //支付宝钱包中的付款码 model.setAuthCode("285532156582655772"); model.setSubject("我是subject"); model.setTotalAmount("0.01"); request.setBizModel(model); //通过alipayClient调用API,获得对应的response类 AlipayTradePayResponse response = alipayClient.execute(request); /** //下面两代码是使用第三方应用授权传值方式 授权传app_auth_token写法 // 第三方应用授权获取app_auth_token可参照该贴:https://openclub.alipay.com/read.php?tid=1649&fid=43 获取app_auth_token //用于代商户发起请求,传值app_auth_token是谁授权的,钱就收到谁的账户中 String app_auth_token=""; AlipayTradePayResponse response = alipayClient.execute(request,"",app_auth_token); **/ //判断是否请求成功 if(response.isSuccess()){ System.out.println("调用成功"); } else { System.out.println("调用失败"); } //返回信息 System.out.println( response.getBody()); 返回结果 {"alipay_trade_pay_response":{"code":"10000","msg":"Success","buyer_logon_id":"uqq***@sandbox.com","buyer_pay_amount":"0.01","buyer_user_id":"2088102175794899","buyer_user_type":"PRIVATE","fund_bill_list":[{"amount":"0.01","fund_channel":"ALIPAYACCOUNT"}],"gmt_payment":"2019-01-28 10:31:09","invoice_amount":"0.01","out_trade_no":"2019012020321558348254","point_amount":"0.00","receipt_amount":"0.01","total_amount":"0.01","trade_no":"2019012822001494890500811033"},"sign":"Kesok3smU3DMBbG3ErBb2547mGedldcGa3XE16A/eo987ENHFjZOymjMA5qr+riIeVn3te7vljhvAoRpKaJ0IIH8lLMiCo8L+RNkpHQmoxMl6i0pZA/rbv1N4Hpd68xdKJbPp43AJ1CoEVzjKwPN3fw5XOCLTGAXk8Z3xGRmBRIOJuZa7/+hy/kD2geIOraZgt9fI22Ho9QGr1mz5UWgK/WgHVGpxef/QgUfQynqZcNVBYrXDkfL7RXPuSQdemXAienLPZwYf3d+7cYY+LNmqv89pu1heAVup/SqMYyTOhAZZXTA3kuOcWYJ2zCJTVE7RvpSweHp6lituAu6ZtgGMg=="}   php版(适用于php 5.5以上环境) <?php /** * * 条码支付:https://docs.open.alipay.com/api_1/alipay.trade.pay */ require_once 'AopSdk.php'; $aop = new AopClient (); $aop->gatewayUrl = 'https://openapi.alipaydev.com/gateway.do'; $aop->appId = '2016101800718925'; $aop->rsaPrivateKey = 'MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDfDBUJhaw46ck8MHccIB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xv73RpL8daImeSiSZ49cFP1HLL8MEN/RQTSe3oYzh81DT6SErrlzArO0ecNP1jsUMQbopL6wJB6CyPH/4kytvycz6hbgY276E5hDSZ9N7//4nnSovAoGAP9KgCeVl+urtSfC+OXDb5hNPl0I4dqY41vjdPFCsbM/Hrxh4gU9UqfIZxmg+z9gh25A5Rxecr9Q4ieOXh6gsisLtO0ImbSHrVbRXak4SHXSj+9btQ4yAFwI+6zmzL7bUPt4SUGW0oFXefwa0zpZDDAWZxzxAqNePaPSIgAOUCtECgYEA8zySp0UdBQQOEJuTUJlHgf+FK0jUMREVBi9CQgbK8iF/hDmA34B4z0JCkWEsGojiS3S72ZJBXxrZ8RowJGqLuNZHUAD+eEzjoBhZOIfn2R0Bo2UAZAe6pwERzqOEEVLyBExEV3+qkDwIewx4lghFCQpwhO6SNWj4ppSgXh7XAss='; $aop->alipayrsaPublicKey='MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnVuBUzhfo7kWUN/TS/kHmb4afsAlUVaTR3U5e74V0os1bzlfvh+cpwnwzaEIb36CR1OzeIIzXgARIW/zGAL1/PLG8dFEXQOIGkA0a8YXGVNX9KeWnFCnCQ5gQxrfJ3ryasXzWBxv5bex1VrVsQ2TZ1VdUD+S7dR4SWFHvyck8/xGt3Hz5peUqo/OIlfQpoTBXdqfnJNrTVAMqcQhrIWwgpSVgmUq+UhlZsDaiUvxWWFm9v9nY172jFfzup/DIET//OpIghL6AB2F+ywkCcHdZHiGklnpNoQKQ6XMVKaO/k2nlHU64Y4WGSgJnSG6B798ohZoi3pndrVPAH5+5BKEFQIDAQAB'; $aop->apiVersion = '1.0'; $aop->postCharset='utf-8'; $aop->format='json'; $aop->signType = 'RSA2'; //生成随机订单号 $date=date("YmdHis"); $arr=range(1000,9999); shuffle($arr); $request = new AlipayTradePayRequest(); $request->setBizContent("{" . "\"out_trade_no\":\"".$date.$arr[0]."\"," . "\"total_amount\":\"0.1\"," . "\"scene\":\"bar_code\"," . "\"auth_code\":\"282535540301553598\"," . "\"subject\":\"tets\"," . "\"product_code\":\"FACE_TO_FACE_PAYMENT\"" . "}"); $result = $aop->execute($request); //post请求 //$result = $aop->pageExecute($request); var_dump($result); ?> 返回信息 public 'alipay_trade_pay_response' => object(stdClass)[10] public 'code' => string '10000' (length=5) public 'msg' => string 'Success' (length=7) public 'buyer_logon_id' => string 'uqq***@sandbox.com' (length=18) public 'buyer_pay_amount' => string '0.10' (length=4) public 'buyer_user_id' => string '2088102175794899' (length=16) public 'buyer_user_type' => string 'PRIVATE' (length=7) public 'fund_bill_list' => array (size=1) 0 => object(stdClass)[11] ... public 'gmt_payment' => string '2019-01-28 10:27:24' (length=19) public 'invoice_amount' => string '0.10' (length=4) public 'out_trade_no' => string '201901280227221355' (length=18) public 'point_amount' => string '0.00' (length=4) public 'receipt_amount' => string '0.10' (length=4) public 'total_amount' => string '0.10' (length=4) public 'trade_no' => string '2019012822001494890500811327' (length=28) public 'sign' => string 'ctTkcTpVtF3WGioFaw5lVtI4R4hdss/t/nqUlDQGyDY3zQaW+L3j8t889sxtRd9KZB7wGIDikFr7kySxTAdT3vqcp6OdyFqTQbpO+XznZK8SkV3HX/rkooD/wjzA4niTa6pdkbo/DENYZlK2NLfxaQZ6lnJXLfXiRPwOH0fVz9Qf5/Nw5aKKSe+GWs5e8rcCqr9sbsWt7DhVdXHnb9BSCZTeOCU3vimZzHa7+0o9RuxcJ6H4FRzPm9MIgePSPyUS7eONWb2WEBmIYo40eKnmIjnr9wnnvlmo4x/L9UG1pAcc9gtMSAQN+DyPwQQtXE7bZgvFidDhlAZ+bSyrXa1dMQ==' (length=344)   .net版 //应用appId沙箱 string appId = "2016101800718925"; //支付宝网关 string serverUrl = "https://openapi.alipaydev.com/gateway.do"; //沙箱支付宝公钥 string alipay_public_key = @"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnVuBUzhfo7kWUN/TS/kHmb4afsAlUVaTR3U5e74V0os1bzlfvh+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RPMdl2/7IWshgSwrpqiMx7R+RG+Nls/ADgh9vzbPR2oc1wiXyloRM1j5bWHQ9+MZbuE/uq+5DfYTTVez3R0VjDDchZVKyfM0s0nLtdynUAsfa/ibMw/FUUbYTR7Vg3r4/N6d6m8K+qzRcOi+58o8Y0ROEWgOeoCnUK8CgYEA6Trzs+iWg/eNaou4xcZ2zmYdjnUaw1B5AhvAseNngwPN2ggoyyc54yXS17BdhzjdmA3Fzp9qR8kTpLOmvqWWd5z91Tl+UdOkLj61uXKhd5MTu/r9uQ1TyOBd1Vs/tpm1ObsZaliEU2YpH5782XlUHBoBYd3pLSOpVQwKOng/7VkCgYABMvrogxP0p4AwmrLPMhgi6tV35oFyBPdNXIKEB5Z4OyBqjFktj15+yyL7Mb+90aS/HWiJnkokmePXBT9Ryy/DBDf0UE0nt6GM4fNQ0+khK65cwKztHnDT9Y7FDEG6KS+sCQegsjx/+JMrb8nM+oW4GNu+hOYQ0mfTe//+J50qLwKBgD/SoAnlZfrq7Unwvjlw2+YTT5dCOHamONb43TxQrGzPx68YeIFPVKnyGcZoPs/YIduQOUcXnK/UOInjl4eoLIrC7TtCJm0h61W0V2pOEh10o/vW7UOMgBcCPus5sy+21D7eElBltKBV3n8GtM6WQwwFmcc8QKjXj2j0iIADlArRAoGBAPM8kqdFHQUEDhCbk1CZR4H/hStI1DERFQYvQkIGyvIhf4Q5gN+AeM9CQpFhLBqI4kt0u9mSQV8a2fEaMCRqi7jWR1AA/nhM46AYWTiH59kdAaNlAGQHuqcBEc6jhBFS8gRMRFd/qpA8CHsMeJYIRQkKcITukjVo+KaUoF4e1wLL"; IAopClient client = new DefaultAopClient(serverUrl, appId, merchant_private_key, "json", "1.0", "RSA2", alipay_public_key, "GBK", false); //IAopClient client = new DefaultAopClient("https://openapi.alipaydev.com/gateway.do", Com.Alipay.Config.appId, Com.Alipay.Config.merchant_private_key, "json", "1.0", "RSA2", Com.Alipay.Config.alipay_public_key, "GBK", false); AlipayTradePayRequest alipayRequest = new AlipayTradePayRequest();//创建API对应的request AlipayTradePayModel model = new AlipayTradePayModel(); model.OutTradeNo = "20190128262815182234123"; model.Subject = "沙箱条码支付测试"; model.TotalAmount = "0.11"; model.Scene = "bar_code"; model.AuthCode = "289044087810204442"; //支付宝钱包中的付款码 model.ProductCode = "FACE_TO_FACE_PAYMENT"; alipayRequest.SetBizModel(model); //第三方调用方式 // AlipayTradePayResponse response = client.Execute(alipayRequest, "", "app_auth_token"); //自调用方式 AlipayTradePayResponse response = client.Execute(alipayRequest); Console.WriteLine("条码支付返回信息:" + response.Body); 返回结果 条码支付返回信息:{"alipay_trade_pay_response":{"code":"10000","msg":"Success","buyer_logon_id":"uqq***@sandbox.com","buyer_pay_amount":"0.11","buyer_user_id":"2088102175794899","buyer_user_type":"PRIVATE","fund_bill_list":[{"amount":"0.11","fund_channel":"ALIPAYACCOUNT"}],"gmt_payment":"2019-01-28 10:11:46","invoice_amount":"0.11","out_trade_no":"20190128262815182234123","point_amount":"0.00","receipt_amount":"0.11","total_amount":"0.11","trade_no":"2019012822001494890500811217"},"sign":"VzXHbX1hbviodKtHuL5McBEnQxcyF/jrIG95/ReTiJkVRwQPyAYPOH/piwvpLzRYtLDzg1AyTCo9EV1NVRIXm22YRILXsl4TCmtbZ3dngEbiXLRBXJIA7XSSDOAYPhRSdmm8h1EK8n4DyfSOWoSaZn1Aq6aPSg7ulDsapEgruWai9RW7oKbklpMvE+fodeSp5dLjQf284Zf4kojacnsSyhZEnMh9n+p7l+u+LWSQ68VvLM6lLwqFAZyzn+u5T5BnEhcRigETt312W4vTpPNbupBudIdVin7FB6fB1hpdAgPA+RdmiG0Yox9eS2O8BzMjpN5quN4qS5em0KHIz3iW7A=="} 四、注意事项 1.调用接口返回10003状态 a).金额过大,需要用户手动输入密码,正式环境金额大于1000,沙箱环境因账户而异,以实测为准; b).账户余额不足,导致扣款失败; c).系统异常,网络问题,导致付款失败;   2.交易是否成功 接口返回1000只代表接口调用成功,不代表交易成功,交易成功建议使用查询接口查询。   3.条码限额 1千块钱以内是无需输入密码,直接扣款的,返回支付成功; 大于一千则会扫码后会跳出密码输入框,要求输入密码,不输入密码会返回1003(等待支付)状态;   4.调用报错“码已失效,请刷新二维码后重试” 1.检查auth_code 是否传值错误; 2.检查支付请求网关是沙箱还是正式环境,是否跟获取code码的钱包相符,可能沙箱环境用的正式钱包的码,正式环境用的沙箱钱包的条码;   5.沙箱钱包下载 沙箱账号查看地址:https://openhome.alipay.com/platform/appDaily.htm?tab=info 注意:沙箱钱包只适用于安卓手机,不支持ios;   如果还是报错,请按如下方式进行提问: 正确提问方式:使用环境(沙箱还是正式环境)+接口名称(中文+英文)+ 请求参数 + 报错信息详情
符栖
阅读 91
接口名称:查询对账单下载地址接口 英文名称:alipay.data.dataservice.bill.downloadurl.query 用于查询订单是否存在以及订单的详细信息; 一、文档地址 官方文档地址:ht...
符栖
阅读 62
接口名称:统一收单交易撤销接口 英文名称:alipay.trade.cancel 主要用于只有发生支付系统超时或者支付结果未知时可调用撤销,其他正常支付的单如需实现相同功能请调用申请退款API。 一、文档地址 官...
符栖
阅读 62
接口名称:统一收单交易关闭接口 英文名称:alipay.trade.close 主要用于订单创建后,关闭一定时间内没有支付的订单信息 一、文档地址 官方文档地址:https://docs.open.alipay....
符栖
阅读 85
接口名称:统一收单交易退款查询 英文名称:alipay.trade.fastpay.refund.query 主要用于查询退款交易详情信息 一、文档地址 官方文档地址:https://docs.open.alip...
临时工瑞瑞
阅读 646
央行印发《条码支付业务规范(试行)》的通知,2018年4月1日已正式实施。按照新规,静态二维码支付每日被限额500元,相信有部分商家应该已受到限额影响了。 目前线下收单业务在优势明显可见,我公司于15年着手开发线...
冷风
阅读 2121
寻求服务商 求帮忙开通底费率 是服务商留下联系方式
无敌的鸭蛋
阅读 458
寻求服务商   求帮忙开通底费率  是服务商留下联系方式或者加V1193322092
符栖
阅读 107
接口名称:统一收单交易退款接口 英文名称:alipay.trade.refund 主要用于交易资金的退款 一、文档地址 官方文档地址:https://docs.open.alipay.com/api_1/alip...
符栖
阅读 60
报错描述 调用查询接口查询交易,报错ACQ.TRADE_NOT_EXIST(交易不存在); 报错原因 账户内没有该笔订单号信息; 排查方案 1、检查接口中设置的out_trade_no或trade_no参数值是否...
符栖
阅读 192
接口名称:统一收单线下交易查询 英文名称:alipay.trade.query 用于查询订单是否存在以及订单的详细信息; 一、文档地址 官方文档地址:https://docs.open.alipay.com/ap...
阿四
阅读 5404
费率0  0.1  0.38  0.6  0.8    VX:AAA20180617   QQ:32676162     或者留下你的联系方式
符栖
阅读 129
如何集成花呗分期支付注意事项:https://openclub.alipay.com/read.php?tid=13779&fid=56 一、注意事项 1、调用接口代码前必须了解自己需要实现的场景功能; ...
符栖
阅读 151
本期帖子主要讲花呗支付与花呗分期支付 一、文档地址 官方文档地址:https://docs.open.alipay.com/277/106748/ 二、开发前准备工作 调用步骤:https://openclub....
凉城
阅读 1105
有没有推广服务商的 求帮忙开通
暴走的跑跑小灰辉会发挥会飞的辉
阅读 273
昨天有人自称阿里业务到我店推广刷脸支付,自称是代理,真的吗
天籁
阅读 1356
说明: 1.交易创建接口主要是用于创建交易生成trade_no,配合jsapi唤起收银台来唤起支付的。 2.交易创建接口是属于当面付的接口,必须拥有当面付的接口权限才可以调用的。如何签约当面付请参考:https:...
古材
阅读 233
QQ2869946202
我是个导演
阅读 3494
说明:   如果咱们在支付宝钱包中看到手表或手环支持列表,现在也想让自己的手表或手环产品支持支付宝支付。   请按照以下格式私信下方“天籁”提供信息 &da...
673839279QQ
阅读 195
欢迎,码商。系统商多多交流指导、
奚言
阅读 4063
支付宝扫码转账到银行卡的银行代码是多少啊? alipays://platformapi/startapp?appId=09999988&actionType=toCard&sourceId=...
热门帖子
最新提问

返回顶部