README.md in opay-1.0.8 vs README.md in opay-1.0.9
- old
+ new
@@ -21,11 +21,11 @@
$ rails g opay:install
# This will add the necessary migrations to your app's db/migrate directory
rake opay:install:migrations
# This will run any pending migrations
rake db:migrate
-```
+```
then add the following to your routes.rb file:
``` ruby
# config/routes.rb
mount Opay::Engine => '/opay'
@@ -43,6 +43,8 @@
``` haml
= opay_form_for(@model_name) do |f|
= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Payment description'
= f.submit 'pay with payu'
-```
\ No newline at end of file
+```
+
+set up online url in payu.pl to: `/opay/payu/online`