gpt4 book ai didi

javascript - Parse.com 的 Stripe 云代码模块有限制吗?

转载 作者:行者123 更新时间:2023-12-02 15:06:50 25 4
gpt4 key购买 nike

我使用 Parse.com 的 BaaS 进行数据存储,并使用其 Cloud Code 平台进行支付处理。几个月前,我编写了一个确实有效的支付处理脚本。但现在我注意到类方法名称和回调结构之间的差异。

当引用 Parse.com 的 JS API 文档时,他们向我推荐了此页面:

https://parse.com/docs/js/api/classes/Stripe.html

但它不存在。 Parse Cloud Code 平台当前的 API 文档没有关于其第三方模块的文档。

The built-in Stripe Cloud Module provides a subset of the functionality available
to Stripe customers. If the feature you are interested in is not supported by this
Cloud Module, you may want to consider writing your own Stripe JavaScript wrapper
as a custom Cloud Module. We suggest looking at Stripe's API Libraries index
for inspiration.

有人对 Parse.com 的 Stripe Cloud 代码模块的限制有任何澄清吗?

最佳答案

我不记得确切的版本,但它是 Stripe API 的 2011 年末版本。我对 Parse 缺乏支持感到有点恼火,实际上构建了一个 Stripe 的 Node.js API 库的修改版本来支持 Parse(这比我计划的要复杂一些)。它目前基于 Stripe-Node API 4.2.0 版本,实际上应该与迄今为止任何版本的 Stripe API 兼容。 (Parse 实际上硬编码了 API 版本)。

https://github.com/matthewarkin/stripe-parse

关于javascript - Parse.com 的 Stripe 云代码模块有限制吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35070143/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com