Giter Site home page Giter Site logo

异步回调问题 about alipay HOT 3 CLOSED

azayu avatar azayu commented on August 29, 2024
异步回调问题

from alipay.

Comments (3)

Luncher avatar Luncher commented on August 29, 2024

错误信息可以贴一下吗?

from alipay.

azayu avatar azayu commented on August 29, 2024

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.

Luncher avatar Luncher commented on August 29, 2024

@azayu 我不太明白你说的意思,我把项目重构了,你有空帮我看一下,还会不会出现你说的这个问题~

from alipay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.