条带云代码模块 Parse.com 的限制

Limitations of Stripe Cloud Code Module for Parse.com?

本文关键字:com Parse 模块 代码      更新时间:2023-09-26

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

当提到 Parse.com 的 JS API 文档时,他们把我推荐给了这个页面:

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

但它不存在。Parse云代码平台的当前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.

有没有人对 Stripe 云代码模块的局限性有任何澄清 Parse.com?

我不

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

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