开发者

how to implement a payment system in rails [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 8 years ago.

Improve this question

I am new to the rails world and am in the process of setting up a small rails app for a client. One of the requirements is that the user enters their credit card which gets charged for a specified amount.

I haven't had much experience with payment systems. I believe active merchant gem can be used for this purpose but how does actually charging the card work out and f开发者_StackOverflowor testing purpose will I be able to charge a dummy account? From your experience, is it safe to go with a provider like paypal?


You should checkout ActiveMerchant.

FYI Peepcode has a post on this:

http://peepcode.com/products/activemerchant-pdf


Watch out, if you store or accept credit cards directly on your website you need to be PCI DSS compliant.

There are a number of solutions out there to overcome this issue, the first notably is to delegate the payment infrastructure to a third party like Recurly, since it also operates in Europe with different providers, but it's more on recurring payment.

The primary choice in US would be Braintree or the newest Stripe.com.

Braintree has another solution to keep the user never leave your site, it's called Transparent Redirect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜