使用 ActiveMerchant + Stripe 定期付款

Recurring payments with ActiveMerchant + Stripe

有人使用 ActiveMerchant Stripe 网关处理 recurring/subscription 付款吗?如果是这样,我很乐意看到一个代码示例。

网关的源代码中有一些对 'recurring' 的引用 - https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/stripe.rb, but I haven't been able to successfully supply a plan as described at https://stripe.com/docs/subscriptions

Stripe 有一个 Ruby gem,但我更愿意使用 ActiveMerchant b/c 我的 Rails 应用已经在使用其他几个支付网关。

非常感谢任何帮助!

ActiveMerchant 的 Stripe 实施不支持 recurring/subscription 支付。事实上,大多数 ActiveMerchant 网关集成都考虑到了 Shopify。而 99.99% 的 Shopify 交易都是一次性交易。 看看 ActiveMerchant 上的 PayPal 循环解决方案,您会发现 AM 根本没有关注订阅。 免责声明:我在 MONEI.

工作