百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

activemerchant_patch_for_china

> 编程语言
开源

一个 Rails 插件,用于为中国在线支付平台添加 active_merchant 补丁,包括支付宝、快钱和财付通

304 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个 Rails 插件,用于为中国在线支付平台添加 active_merchant 补丁,包括支付宝、快钱和财付通

h1. activemerchant_patch_for_china

This plugin is an active_merchant patch for china online payment platform, now it supports alipay (支付宝), 99bill (快钱), tenpay (财付通), 19pay(捷迅支付) and yeepay(易宝).


h2. Donate

"Alipay":http://me.alipay.com/flyerhzm "Pledgie":http://www.pledgie.com/campaigns/14062


h2. Install

install active_merchant and activemerchant_patch_for_china as plugins:

script/plugin install git://github.com/Shopify/active_merchant.git script/plugin install git://github.com/flyerhzm/activemerchant_patch_for_china.git

install activemerchant and activemerchant_patch_for_china as gems:

gem install activemerchant gem install activemerchant_patch_for_china


h2. Configuration

if you install active_merchant and activemerchant_patch_for_china as rails plugins, then define plugin load order in config/environment.rb to promise activemerchant_patch_for_china is loaded after active_merchant.

config.plugins = [:all, :active_merchant, :activemerchant_patch_for_china]

if you install activemerchant and activemerchant_patch_for_china as gems, then define in config/environment.rb

config.gem "activemerchant", :lib => "active_merchant" config.gem "activemerchant_patch_for_china", :lib => false

require 'active_merchant' require 'active_merchant/billing/integrations/action_view_helper'

ActionView::Base.send(:include, ActiveMerchant::Billing::Integrations::ActionViewHelper)


h2. Usage

"Alipay (支付宝)":http://github.com/flyerhzm/activemerchant_patch_for_china/wiki/Alipay-(%E6%94%AF%E4%BB%98%E5%AE%9D)


h2. About

activemerchant_patch_for_china is inspired by "masterwujiang's patch":https://jadedpixel.lighthouseapp.com/projects/11599-active-merchant/tickets/8-patch-additon-integrations-support-alipay-99bill-and-tenpay-all-in-china


Copyright (c) 2009 - 2012 [Richard Huang], released under the MIT license

Issues· 3 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言