Skip to content

webgradus/spree_payture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreePayture

Payture payments integration with Spree.

Installation

Add spree_payture to your Gemfile:

gem 'spree_payture', github: 'webgradus/spree_payture'

Add 'paytureman' gem to your Gemfile:

gem 'paytureman', github: 'llxff/paytureman', branch: 'success_url'

Add some configuration in config/initializers/payture.rb:

Paytureman::Configuration.setup Rails.env do |config|
  config.host = "sandbox"
  config.key = "TestShop"
  config.password = "123"
end

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_payture/factories'

Copyright (c) 2014 [name of extension creator], released under the New BSD License

About

Payture.ru payments integration with Spree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published