Comments (3)
错误信息可以贴一下吗?
from alipay.
1.同步的错误消息
{
"memo": "",
"resultStatus": "9000",
"result":{..}
}
直接调用返回"result. Length equal 0."
如果把result 当字符串传如:
{
"memo": "",
"resultStatus": "9000",
"result":"{"alipay_trade_app_pay_response":
{"code":"10000","msg":"Success","app_id":"2018102561774974","auth_app_id":"201.
..."
}
会返回
:message:"Cannot use 'in' operator to search for 'alipay_trade_query_response' in {"alipay_trade_app_pay_response":{"code":"10000","msg":"Success ...
看了你里面验证的结构 是使用&组成字符串验证
同步验证 是使用json格式
异步验签 才是用&
from alipay.
@azayu 我不太明白你说的意思,我把项目重构了,你有空帮我看一下,还会不会出现你说的这个问题~
from alipay.
Related Issues (20)
- [bug] 缺少配置项 HOT 1
- 在支付宝异步通知时获取到的参数为空 HOT 2
- BUG: 查询账单下载地址 billDownloadQuery 接口出错 HOT 7
- asn1 encoding
- 订单查询报错 Cannot read property \'code\' of undefined', HOT 6
- 请问下:可以支持支付宝小程序里的支付吗? HOT 4
- 安装后报错 Error: Cannot find module 'src/config' HOT 4
- src/config问题还在 HOT 1
- 报错Cannot find module 'src/config' HOT 1
- verifyPayment报错Error: Not Found responseType HOT 2
- createOrder函数调用的时候把alipayPubKeyFile都加进去了 HOT 4
- 异步通知校验makeNotifyResponse schema验证失败问题 HOT 1
- TypeError: Cannot read property 'app_id' of null HOT 5
- Alipay is not a constructor HOT 3
- 文件编译后的代码错误,路径是/dist/validator/index.js HOT 1
- 请问提下各位大佬 这是什么情况 :asn1 encoding routines:asn1_check_tlen:wrong tag HOT 6
- 你好 在支付成功后通过 回调地址里面有appid等信息 HOT 1
- 签名是用RSA2吗?APP支付时报错
- 充值金额正则错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alipay.