Math(js)

C语言学习图书汇总

  返回  

alipay_open_auth_token_app_response“:{“code“:“40002“,“msg“:“Invalid Arguments“,“sub_code“:“isv.inval

2021/8/21 14:51:43 浏览:
  • 参考原因

在这里插入图片描述

支付宝提供的预下单请求
在这里插入图片描述

密钥的当面付接口调用 alipayClient.execute()
证书的当面付接口调用 alipayClient.certificateExecute()
我的代码参考的官方文档写的,官方文档现在默认使用密钥方式下单,还未区分密钥和证书的方法

我的支付宝支付sdk版本
sdk版本
alipayClient.certificateExecute() 相同的证书当面付接口调用方法
AlipayOpenAuthTokenAppResponse response = alipayClient.sdkExecute(request);

八月 21, 2021 2:22:59 下午 com.alipay.demo.trade.service.impl.AbsAlipayTradeService tradePrecreate
信息: trade.precreate bizContent:{"out_trade_no":"tradeprecreate16295269790531939621","seller_id":"","total_amount":"12.0","undiscountable_amount":"0","subject":"门店当面付扫码消费","body":"购买商品所有商品共12.0元","goods_detail":[],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}
八月 21, 2021 2:23:02 下午 com.alipay.api.internal.util.AlipayLogger logBizSummary
信息: Summary^_^10000^_^null^_^ProtocalMustParams:charset=utf-8&method=alipay.trade.precreate&sign=XApew8oGoVorTcVOh2PGFdz1Xs2FbMzteIqrkr+qfguFMpITdOwAq5Tf4r7gcQ8p3Vnshf8+7BLp5oWL/xWG1lhhr2BI6dPjZzk02ngQ73W/nwEJqT57OJ5W3FC6MBsT0ZzBrOVrKJswUgKEZ9KwYr1go3UFG9+SOT1Vu46C7dSdpf/lT3NnaGvWN4XatQl1dIi3Y2nw93UoxOLJXnhzYaOdVldnkmJ5wVisP9yPdqitCgmDtKpVp9e0Xi5yazx4JmiqDZPTRkacApRXflNystI1LQxBci1wxa1I0RU47C4bvnjrCp6DJRLcE2rhB4HgeNA0amy5tx3sUldmFhou7Q==&notify_url=http://xsj.free.idcfengye.com/pay.jsp&version=1.0&app_id=2021000117694202&sign_type=RSA2&timestamp=2021-08-21 14:22:59^_^ProtocalOptParams:alipay_sdk=alipay-sdk-java-3.3.0&format=json^_^ApplicationParams:biz_content={"out_trade_no":"tradeprecreate16295269790531939621","seller_id":"","total_amount":"12.0","undiscountable_amount":"0","subject":"门店当面付扫码消费","body":"购买商品所有商品共12.0元","goods_detail":[],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}^_^1529ms,1961ms,38ms
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.service.impl.AbsAlipayService getResponse
信息: {"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"tradeprecreate16295269790531939621","qr_code":"https:\/\/qr.alipay.com\/bax021143opyv0cf8wdy0070"},"sign":"J6gq9y7etnS6uInmyQz6bmytJk6HDlLurkj1yCoeK5NcpB8ORYc89z+30lLwv8uIcR/HPEfH5nqMZmQcLX+AjJKVxGkAg/oG6ggovLovLDT+yAmt7wk8Qi8BnqoxorANlzhoJ+1PL+BChDIzXM6Sro+9iJ7pyT3UlvWC5MZQFJCAaVzyIUTjLNtHBXxQIWZYKE6OIg0c00Ebv4hAnw0SDCfGSQLmYSuXbQXej2elH6RYDX5K5J/S2oGe22p/rwftN1c5/ZXk60IDteZoHiwPLYbnNw3qCH//gMoxroFeCnJdhOe6PFwZcxBhuXBQfCu6wfKhzyXr7Mu1eqHkmQBoFg=="}
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.PrePayInteface test_trade_precreate
信息: 支付宝预下单成功: )
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.PrePayInteface dumpResponse
信息: code:10000, msg:Success
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.PrePayInteface dumpResponse
信息: body:{"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"tradeprecreate16295269790531939621","qr_code":"https:\/\/qr.alipay.com\/bax021143opyv0cf8wdy0070"},"sign":"J6gq9y7etnS6uInmyQz6bmytJk6HDlLurkj1yCoeK5NcpB8ORYc89z+30lLwv8uIcR/HPEfH5nqMZmQcLX+AjJKVxGkAg/oG6ggovLovLDT+yAmt7wk8Qi8BnqoxorANlzhoJ+1PL+BChDIzXM6Sro+9iJ7pyT3UlvWC5MZQFJCAaVzyIUTjLNtHBXxQIWZYKE6OIg0c00Ebv4hAnw0SDCfGSQLmYSuXbQXej2elH6RYDX5K5J/S2oGe22p/rwftN1c5/ZXk60IDteZoHiwPLYbnNw3qCH//gMoxroFeCnJdhOe6PFwZcxBhuXBQfCu6wfKhzyXr7Mu1eqHkmQBoFg=="}
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.PrePayInteface test_trade_precreate
信息: filePath:D:\app\test\images\qr-tradeprecreate16295269790531939621.png
调用成功
八月 21, 2021 2:23:02 下午 com.alipay.demo.trade.service.impl.AlipayTradeWithHBServiceImpl tradePay
信息: trade.pay bizContent:{"scene":"bar_code","auth_code":"281834541355183793","out_trade_no":"tradeprecreate16295269790531939621","seller_id":"","total_amount":"12.0","undiscountable_amount":"0","subject":"门店当面付扫码消费","body":"购买商品所有商品共12.0元","goods_detail":[],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"5m"}
八月 21, 2021 2:23:08 下午 com.alipay.api.internal.util.AlipayLogger logBizSummary
信息: Summary^_^10000^_^null^_^ProtocalMustParams:charset=utf-8&method=alipay.trade.pay&sign=VfDe+XJ2IHOYjH1GnMdpLRjvAZek8FP48akJ8l4a8w9CLEy7zH4VwhBilIM1RWHjYkH80/1YDzPSNxdoGqSpN/fRETmjllFs/tIsC4/Q2iSIRXcFxCICCCEacn/XpZec5z0O1+NPLr5gnnfiodTWpeLV6EmggR8aTKLuD87pHrlcMSiCyVSSW77uRqoFfZstniKYYYrpqcHC8nvYFdNX2E3kEZZuz8HzAQz99KAf2fFbq3QC0VWyNIgBWaYPrdibgAJ4lg6wlSagDFDQZs7legyVoBR48ceiTZWI2IiAF3oHMYczU7tagjHsyrH+91KaWb36uY/IFyjN2YEurTMakg==&version=1.0&app_id=2021000117694202&sign_type=RSA2&timestamp=2021-08-21 14:23:02^_^ProtocalOptParams:alipay_sdk=alipay-sdk-java-3.3.0&format=json^_^ApplicationParams:biz_content={"scene":"bar_code","auth_code":"281834541355183793","out_trade_no":"tradeprecreate16295269790531939621","seller_id":"","total_amount":"12.0","undiscountable_amount":"0","subject":"门店当面付扫码消费","body":"购买商品所有商品共12.0元","goods_detail":[],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"5m"}^_^12ms,5348ms,23ms
八月 21, 2021 2:23:08 下午 com.alipay.demo.trade.service.impl.AlipayTradeWithHBServiceImpl getResponse
信息: {"alipay_trade_pay_response":{"code":"10000","msg":"Success","buyer_logon_id":"evs***@sandbox.com","buyer_pay_amount":"12.00","buyer_user_id":"2088622956318790","buyer_user_type":"PRIVATE","fund_bill_list":[{"amount":"12.00","fund_channel":"ALIPAYACCOUNT"}],"gmt_payment":"2021-08-21 14:23:08","invoice_amount":"12.00","out_trade_no":"tradeprecreate16295269790531939621","point_amount":"0.00","receipt_amount":"12.00","total_amount":"12.00","trade_no":"2021082122001418790501947982"},"sign":"labIGDTPwvwemxqAxSsK2KfLJex14QDct69/Pg35/8Sj+a62EqOP70sNDChIDoVgqEtRea9/pRIG46STBGpcOzHhtQjWIvnXZLU19TerLIEc/jiEwbgcVdPDdgkRiCPbrDOmbUoYX9KKlA+I7bFfQ8CEUE8S3CBVKMdA3aMd2XfIBY7RhbRr52j4TntXD7hyt0H1lt04LdKxFDgM1uXaWgZp/7D+QAWyXOd8vjSIcRCa2D5g9KYiyhznyGor5PavY8cX/lWBRi+1GpcONoc9+bGKzEAUbdPW4XpF6BhKyObyOPpb7mqCi/7NPjqjRkgZ22GD4pbEHhojmjjX2Je9tA=="}
八月 21, 2021 2:23:08 下午 com.alipay.demo.trade.PrePayInteface trade_pay
信息: 支付宝支付成功: )
after

在这里插入图片描述
支付宝开放平台在线技术客服网址

联系我们

如果您对我们的服务有兴趣,请及时和我们联系!

服务热线:18288888888
座机:18288888888
传真:
邮箱:888888@qq.com
地址:郑州市文化路红专路93号