Code Monkey home page Code Monkey logo

Comments (9)

x-ji avatar x-ji commented on June 14, 2024

还有就是现在我要如何把这个值从生成的 URL 中去掉

from alipay.

chloerei avatar chloerei commented on June 14, 2024

支付宝各个接口非常不统一,有的必须有的不必须,例如担保交易是必须的:

8

你说的是哪个接口?在修复前可以打个 monkey patch 覆盖对应的方法。

from alipay.

x-ji avatar x-ji commented on June 14, 2024

他说的是“两者必填一个”吧... 那个“是否为可空”是有点乱的 事实上应该是 seller_email 和 seller_id 两者之中一个填了另一个就可空 按道理如果有了 seller_id 的确没有必要再填写 seller_email 了

from alipay.

chloerei avatar chloerei commented on June 14, 2024

担保交易接口吗?

from alipay.

x-ji avatar x-ji commented on June 14, 2024

对的

from alipay.

chloerei avatar chloerei commented on June 14, 2024

我正在尝试去掉所有 seller_email 参数,换用 seller_id 。

from alipay.

chloerei avatar chloerei commented on June 14, 2024

试试 master 分支,已经去掉了 seller_email,用 seller_id 代替。

from alipay.

x-ji avatar x-ji commented on June 14, 2024

嗯。应该可以了。总之在 alipay.rb 里面去掉 Alipay.seller_email 运行起来没有问题。其实这里的 pid 似乎和 seller_id 是一个值,不知为何要留两个参数

from alipay.

chloerei avatar chloerei commented on June 14, 2024

那我发布 0.7.0 版本。

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.