Code Monkey home page Code Monkey logo

Comments (4)

fzlee avatar fzlee commented on August 18, 2024

你好, 这边的debug网管应该是修改到了 https://openapi-sandbox.dl.alipaydev.com/gateway.do
你可以查看源代码alipay/alipay/__init__.py 第85行左右

from alipay.

fzlee avatar fzlee commented on August 18, 2024

@Gungnir762 第二个问题我不是很明白。”变量有着支付宝默认导出证书文件的后缀名“, 不太明白你的意思, 你可以再详细描述一下问题

from alipay.

PhiFever avatar PhiFever commented on August 18, 2024

@Gungnir762 第二个问题我不是很明白。”变量有着支付宝默认导出证书文件的后缀名“, 不太明白你的意思, 你可以再详细描述一下问题

已经看到修改了,感谢。

第二个问题我确实没说清楚,那天改的头昏脑涨的。我的意思是,alipay_public_key_string这个变量应该是从一个RSA/RSA2公钥文件(后缀一般为.pem)中读取字符串,但是文档中打开的文件却有着.cert的后缀名(一般为证书文件)。查看tests/certs/ali/ali_public_key.pem的文档后发现其格式也是公钥文件格式,并且按照此文件的格式加上头尾进行读取后我的程序可以正常执行,所以我斗胆猜测此处可能是一个笔误。
image

from alipay.

fzlee avatar fzlee commented on August 18, 2024

明白了, crt和pem严格来讲尽管都是一堆base64的东西, 但是意义是有些不一样的。
我修改一下

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.