Please note! This active_merchant patch is written by nouse.
This plugin is an active_merchant patch for china online payment platform, now it supports alipay (支付宝), 99bill (快钱) and tenpay (财付通).
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:
sudo gem install activemerchant sudo gem install activemerchant_patch_for_china
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.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)
Copyright © 2009 [nouse], released under the MIT license