/spree_payu_integration

Spree integration with OpenPayU payment service.

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SpreePayuIntegration

Spree integration with OpenPayU payment service.

Installation

Add spree_payu_integration to your Gemfile:

gem 'spree_payu_integration', github: 'netguru/spree_payu_integration'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_payu_integration:install

Configuration

Don't forget to insert seller account details into config/initializers/openpayu.rb

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

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_payu_integration/factories'

Copyright 2014 © Netguru, released under the New BSD License