This is the gem that consist of generator, to generate files to play with polish payment service Przelewy24.pl
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits behind vysogot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/przelewy24
MIT-LICENSE
README.textile
Rakefile

README.textile

rails-przelewy24

What it is?

  • This is the gem that consist of generator, to generate files to play with polish payment service Przelewy24.pl
  • Generator creates model, controller and views for dealing with Przelewy24.

What for?

  • Application that have products to sell finally sends the form to Przelewy24 service. All transaction security and verification is held by generated files and Przelewy24 side.

Installation

sudo gem install przelewy24

cd yourapp/
script/generate przelewy24 payment
rake db:migrate

copy and paste to config/routes.rb:
map.confirm_payment 'confirmation', :controller => :payments, :action => :confirm
map.ok_payments 'verification-successful', :controller => :payments, :action => :ok, :conditions => { :method => :post }
map.error_payments 'error-in-transaction', :controller => :payments, :action => :error

and you are free to connect your transactions with Przelewy24 payment service.

Contribute

Thanks for forking and helping!

major issues:
- rspecs or tests to gem needs to be done

License

Copyright © 2010 [Jakub Godawa , Łukasz Krystkowiak], released under the MIT license