【问题标题】:Stripe Connect is functional with Old Stripe api versions?Stripe Connect 是否适用于旧 Stripe api 版本?
【发布时间】:2016-04-21 11:37:10
【问题描述】:

Dose 'Stripe connect' 在 Stripe API 版本 1.18.0 中有效吗?

【问题讨论】:

    标签: stripe-payments stripe-connect


    【解决方案1】:

    Stripe PHP bindings 的 1.18.0 版将能够使用部分 Connect 功能,但不是全部。

    最重要的是,您将无法使用 Stripe-Account 标头,这是代表另一个帐户发出 API 请求的推荐方式。

    我建议使用最新版本的 PHP 绑定。请注意,2.0.0 版中的语法发生了变化:所有Stripe_Class 类名现在都是\Stripe\Class

    Stripe 的documentationAPI reference 中的所有示例都使用最新版本的语法。

    【讨论】:

    • 这太好了。我正在研究 CakePHP 项目,我确实使用 chronon stripe this 配置了条带。但这是旧版本。我必须进行哪些更改才能将其转移到新版本。 p.s 不能给你分数,我在这里很新,
    • 最后的评论是给你的
    猜你喜欢
    • 2017-02-24
    • 2019-11-20
    • 1970-01-01
    • 2016-12-13
    • 2019-09-13
    • 1970-01-01
    • 2015-01-06
    • 1970-01-01
    • 2021-06-24
    相关资源
    最近更新 更多