问题描述
我是Rails领域的新手,并且正在为客户设置一个小型Rails应用程序。要求之一是用户输入自己的信用卡,并要支付指定金额的费用。
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 for testing purpose will I be able to charge a dummy account? From your experience, is it safe to go with a provider like paypal?
推荐答案
您应该结帐。
FYI Peepcode在此发布了一个帖子:
FYI Peepcode has a post on this:
http://peepcode.com/products/activemerchant-pdf
这篇关于如何在Rails中实施付款系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!