【发布时间】:2015-06-13 17:08:57
【问题描述】:
是否有人使用 ActiveMerchant Stripe 网关处理定期/订阅付款?如果是这样,我很乐意看到一个代码示例。
在网关的来源 - https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/stripe.rb 中有一些提到“重复”,但我无法成功地提供 https://stripe.com/docs/subscriptions 中描述的计划。
Stripe 有一个 Ruby gem,但我更喜欢使用 ActiveMerchant b/c 我的 Rails 应用程序已经在使用其他几个支付网关。
非常感谢任何帮助!
【问题讨论】:
标签: ruby-on-rails stripe-payments activemerchant