GithubHelp home page GithubHelp logo

kewinwang / activemerchant_patch_for_china Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flyerhzm/activemerchant_patch_for_china

1.0 1.0 0.0 111 KB

A rails plugin to add an active_merchant patch for china online payment platform including alipay (支付宝), 99bill (快钱) and tenpay (财付通)

Home Page: http://donatecn.com

License: MIT License

activemerchant_patch_for_china's Introduction

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

Donatecn
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:


sudo gem install activemerchant
sudo 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 – 2010 [Richard Huang], released under the MIT license

activemerchant_patch_for_china's People

Contributors

flyerhzm avatar hlxwell avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.