Add support for Pagseguro checkout as a payment method
Add support for Pagseguro checkout as a payment method. Only tested on Spree 2.1.3
gem 'spree_pagseguro', github: 'jnettome/spree_pagseguro'
Run bundle install
To copy and apply migrations run: rails g spree_pagseguro:install
Add a new Payment Method, using: BillingIntegration::Pagseguro::Checkout
as the Provider
Click Create
, and enter your Store's Pagseguro Email and Token in the fields provided.
Save
and enjoy!
Be sure to add the rspec-rails gem to your Gemfile and then create a dummy test app for the specs to run against.
$ bundle exec rake test app
$ bundle exec rspec spec
Copyright (c) 2012-2014 João Netto, released under the New BSD License