如何在Rails中实施付款系统 [英] how to implement a payment system in rails

查看:73
本文介绍了如何在Rails中实施付款系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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?

推荐答案

您应该结帐 ActiveMerchant

FYI Peepcode在此发布了一个帖子:

FYI Peepcode has a post on this:

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

这篇关于如何在Rails中实施付款系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆