No commit activity in last 3 years
No release in over 3 years
A rails plugin to add an active_merchant patch for china online payment platform
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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(易宝).


Donate

Alipay
Pledgie


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

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)

Usage

Alipay


About

activemerchant_patch_for_china is inspired by masterwujiang’s patch


Copyright © 2009 – 2012 [Richard Huang], released under the MIT license