Code Monkey home page Code Monkey logo

Comments (4)

fzlee avatar fzlee commented on August 17, 2024

urlparse.parse_qs(request.body) 得到的结果类似

{'app_id': ['2018062460380864']}

拿去验证的数据结构应该是

{'app_id': '2018062460380864'}

from alipay.

zzm88 avatar zzm88 commented on August 17, 2024

{'app_id': '2018062460380864', 'auth_app_id': '2018062460380864', 'buyer_id': '2088802801047800', 'buyer_pay_amount': '0.01', 'charset': 'utf-8', 'fund_bill_list': '[{"amount":"0.01","...CCOUNT"}]', 'gmt_create': '2018-07-13 01:44:08', 'gmt_payment': '2018-07-13 01:44:20', 'invoice_amount': '0.01', 'notify_id': '7411b27bba7e72d0959...0fc373m6d', 'notify_time': '2018-07-13 01:44:21', 'notify_type': 'trade_status_sync', 'out_trade_no': '2016111119', 'point_amount': '0.00', ...}
signature = data.pop('sign')

改成这样后还是FALSE...
不过其实好像不是一定要验证?验证的目的是为了确认访问来自支付宝吧?

from alipay.

fzlee avatar fzlee commented on August 17, 2024

from alipay.

265525 avatar 265525 commented on August 17, 2024

我和这位兄弟遇到的问题一样唉。。

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.