Both Spree and Substruct are e-commerce platforms written in Rails that support Paypal IPN. Both are open source, so it might be helpful to start by looking at how they handle Paypal Integration.
Spree contains an extension for Payapl Website Payments Standard. In fact, the popular envycasts site is a great example of this extension in use. If you want Rails and you want the Paypal Standard stuff, this is your solution.
发布评论
评论(5)
我还会查看 ActiveMerchant。 此处提供了更多信息。
I would also check out ActiveMerchant. Here's a bit more info here.
Spree 和 Substruct是用Rails编写的支持Paypal IPN的电子商务平台。 两者都是开源的,因此首先了解一下它们如何处理 Paypal 集成可能会有所帮助。
Both Spree and Substruct are e-commerce platforms written in Rails that support Paypal IPN. Both are open source, so it might be helpful to start by looking at how they handle Paypal Integration.
使用这个代码片段怎么样?
http://cubanlinks.org/ articles/2005/8/3/ruby-on-rails-paypal-ipn-code-example
如果我可以使用这个简单的代码片段,我宁愿不使用 activemerchant 或其他插件。
任何反馈?
How about using this code snippet?
http://cubanlinks.org/articles/2005/8/3/ruby-on-rails-paypal-ipn-code-example
I'd prefer not to use activemerchant or other plugin if I can use this simple code snippet.
Any feedback?
Spree 包含一个 Payapl 网站付款标准的扩展。 事实上,流行的 envycasts 网站就是使用此扩展的一个很好的例子。 如果您想要 Rails 并且想要 Paypal 标准的东西,这就是您的解决方案。
Spree contains an extension for Payapl Website Payments Standard. In fact, the popular envycasts site is a great example of this extension in use. If you want Rails and you want the Paypal Standard stuff, this is your solution.
实际上有一个更小的解决方案,使用 paypal gem,它提供的是 IPN 一个非常简单的 IPN 处理。 剩下的只是一个 html 表单:)
Actually there is much smaller solution, use paypal gem, what it gives is the IPN a very easy IPN handling. All the rest is just an html form :)