Git Product home page Git Product logo

spree_alipay's Introduction

spree_alipay

Alipay, Tenpay and more chinese billing integration for Spree

for alipay, only support 双功能收款 和 即时到账收款。

Sample

  1. 2-0-stable http://spree-alipay-sample.herokuapp.com
  2. 2-2-stable http://spree-alipay-sample-220.herokuapp.com

Installation

  1. Add the following to your applications Gemfile

gem 'spree_alipay', :github => "RuanShan/spree_alipay", :branch=>"2-0-stable"(or you perferred branch)

  1. Run bundler

bundle install

  1. Copy and execute migrations:

rails g spree_alipay:install

rake railties:install:migrations #if you upgraded spree, run this command

rake db:migrate

dependency

activemerchant activemerchant_patch_for_china

Testing

create dummy to test bundle exec rake test_app

manual test

spree_sample/db/sample/* and spree_alipay/db/sample/* should be loaded both.

task spree_sample:load is enhanced by spree_alipay/lib/tasks/sample.rake

cd spec/dummy rake db:reset rake spree_sample:load

Reference

支付宝常见问题目录与索引——有助于您的问题能够快速解决

http://club.alipay.com/read.php?tid=8681712&fid=703#url_6

https://github.com/Shopify/active_merchant/wiki/Contributing

spree_alipay's People

Contributors

minmemory avatar qinghe avatar sitoto 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.