Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 973 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 973 Bytes

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