Giter Club home page Giter Club logo

Comments (7)

fzlee avatar fzlee commented on July 1, 2024

请问是哪一个接口?

from alipay.

kingctan avatar kingctan commented on July 1, 2024

alipay.trade.page.pay

from alipay.

fzlee avatar fzlee commented on July 1, 2024

我尝试了一次,确实有返回passback_params的。你可以把具体的流程贴上来,看看有什么问题

from alipay.

kingctan avatar kingctan commented on July 1, 2024

难道我传参不对么?请看一下我的传参有什么问题么?

urlparams = alipay.api_alipay_trade_page_pay(order['GroupTitle'], order['SysOrderNo'], order['FeeAmt'],passback_params='feecode=%s' % (order['FeeCode'],))

from alipay.

fzlee avatar fzlee commented on July 1, 2024

你试试这个:
urlparams = alipay.api_alipay_trade_page_pay(order['GroupTitle'], order['SysOrderNo'], order['FeeAmt'],passback_params=quote_plus("feecode=123456"),))

passback_params 需要转义,
然后你应该就可以在异步回调的通知里面,看到这个参数了

from alipay.

kingctan avatar kingctan commented on July 1, 2024

谢谢!
alipay.trade.page.pay 这个可以了。
但这个:alipay.trade.precreate,接不到回调了。

from alipay.

fzlee avatar fzlee commented on July 1, 2024

你可以确认一下precreate是否有回调通知, 可能需要你轮询获取支付状态。

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.