├── .gitignore ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── Versionfile ├── app ├── assets │ ├── images │ │ └── billing_integrations │ │ │ └── alipay.png │ ├── javascripts │ │ └── spree │ │ │ ├── backend │ │ │ └── spree_alipay.js │ │ │ └── frontend │ │ │ └── spree_alipay.js │ └── stylesheets │ │ └── spree │ │ ├── backend │ │ └── spree_alipay.css │ │ └── frontend │ │ └── spree_alipay.css ├── controllers │ └── spree │ │ ├── admin │ │ ├── alipay_payments_controller.rb │ │ └── payment_methods_controller_decorator.rb │ │ ├── alipay_status_controller.rb │ │ └── checkout_controller_decorator.rb ├── models │ ├── .gitkeep │ └── spree │ │ ├── alipay_xml_return.rb │ │ ├── gateway │ │ ├── alipay_base.rb │ │ ├── alipay_direct.rb │ │ ├── alipay_direct_bank_pay.rb │ │ ├── alipay_dualfun.rb │ │ ├── alipay_escrow.rb │ │ ├── alipay_provider.rb │ │ ├── alipay_response.rb │ │ └── alipay_wap.rb │ │ ├── order_decorator.rb │ │ └── payment_decorator.rb └── views │ └── spree │ ├── admin │ └── payments │ │ ├── source_forms │ │ └── _alipaydualfun.html.erb │ │ └── source_views │ │ └── _alipaydualfun.html.erb │ └── checkout │ └── payment │ ├── _alipaydirect.html.erb │ ├── _alipaydualfun.html.erb │ ├── _alipayescrow.html.erb │ └── _alipaywap.html.erb ├── config ├── locales │ ├── en.yml │ └── zh-CN.yml └── routes.rb ├── db └── seeds.rb ├── lib ├── generators │ └── spree_alipay │ │ └── install │ │ └── install_generator.rb ├── spree_alipay.rb ├── spree_alipay │ └── engine.rb └── tasks │ └── sample.rake ├── script └── rails ├── spec ├── features │ ├── alipay_direct_pay_spec.rbx │ └── alipay_spec.rb ├── models │ └── spree │ │ └── billing_integration │ │ └── alipay_spec.rb ├── spec_helper.rb └── support │ └── shared_context │ └── checkout_setup.rb └── spree_alipay.gemspec /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/Rakefile -------------------------------------------------------------------------------- /Versionfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/Versionfile -------------------------------------------------------------------------------- /app/assets/images/billing_integrations/alipay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/assets/images/billing_integrations/alipay.png -------------------------------------------------------------------------------- /app/assets/javascripts/spree/backend/spree_alipay.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/assets/javascripts/spree/frontend/spree_alipay.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/stylesheets/spree/backend/spree_alipay.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | */ 4 | -------------------------------------------------------------------------------- /app/assets/stylesheets/spree/frontend/spree_alipay.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | */ 4 | -------------------------------------------------------------------------------- /app/controllers/spree/admin/alipay_payments_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/controllers/spree/admin/alipay_payments_controller.rb -------------------------------------------------------------------------------- /app/controllers/spree/admin/payment_methods_controller_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/controllers/spree/admin/payment_methods_controller_decorator.rb -------------------------------------------------------------------------------- /app/controllers/spree/alipay_status_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/controllers/spree/alipay_status_controller.rb -------------------------------------------------------------------------------- /app/controllers/spree/checkout_controller_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/controllers/spree/checkout_controller_decorator.rb -------------------------------------------------------------------------------- /app/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/spree/alipay_xml_return.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/alipay_xml_return.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_base.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_direct.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_direct.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_direct_bank_pay.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_direct_bank_pay.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_dualfun.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_dualfun.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_escrow.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_escrow.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_provider.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_provider.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_response.rb -------------------------------------------------------------------------------- /app/models/spree/gateway/alipay_wap.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/gateway/alipay_wap.rb -------------------------------------------------------------------------------- /app/models/spree/order_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/order_decorator.rb -------------------------------------------------------------------------------- /app/models/spree/payment_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/models/spree/payment_decorator.rb -------------------------------------------------------------------------------- /app/views/spree/admin/payments/source_forms/_alipaydualfun.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/app/views/spree/admin/payments/source_forms/_alipaydualfun.html.erb -------------------------------------------------------------------------------- /app/views/spree/admin/payments/source_views/_alipaydualfun.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "billing_integrations/alipay.gif" %> 2 | -------------------------------------------------------------------------------- /app/views/spree/checkout/payment/_alipaydirect.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "billing_integrations/alipay.png" %> 2 | -------------------------------------------------------------------------------- /app/views/spree/checkout/payment/_alipaydualfun.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "billing_integrations/alipay.png" %> 2 | -------------------------------------------------------------------------------- /app/views/spree/checkout/payment/_alipayescrow.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "billing_integrations/alipay.png" %> 2 | -------------------------------------------------------------------------------- /app/views/spree/checkout/payment/_alipaywap.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "billing_integrations/alipay.png" %> 2 | -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/locales/zh-CN.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/config/locales/zh-CN.yml -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/config/routes.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/generators/spree_alipay/install/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/lib/generators/spree_alipay/install/install_generator.rb -------------------------------------------------------------------------------- /lib/spree_alipay.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/lib/spree_alipay.rb -------------------------------------------------------------------------------- /lib/spree_alipay/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/lib/spree_alipay/engine.rb -------------------------------------------------------------------------------- /lib/tasks/sample.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/lib/tasks/sample.rake -------------------------------------------------------------------------------- /script/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/script/rails -------------------------------------------------------------------------------- /spec/features/alipay_direct_pay_spec.rbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spec/features/alipay_direct_pay_spec.rbx -------------------------------------------------------------------------------- /spec/features/alipay_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spec/features/alipay_spec.rb -------------------------------------------------------------------------------- /spec/models/spree/billing_integration/alipay_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spec/models/spree/billing_integration/alipay_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/shared_context/checkout_setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spec/support/shared_context/checkout_setup.rb -------------------------------------------------------------------------------- /spree_alipay.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RuanShan/spree_alipay/HEAD/spree_alipay.gemspec --------------------------------------------------------------------------------