opay 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae593c8c4d918af836d841371351de6b70d2984a
4
- data.tar.gz: 3b40e0a136452233a965a3eb0f0b371e9fa3960f
3
+ metadata.gz: 857f7fc4e814057be519080e3ca136d3a84f1253
4
+ data.tar.gz: adff77efe70ebecef7292ccae487711bb18a5a2c
5
5
  SHA512:
6
- metadata.gz: 24e4a980dd966cad8ba4c71b6fd266a85a6ec5d3b9d75962dda6315374522680833f18a0a31235e71f6a3a074665bb71132250c3658f27ba459981c604c5c394
7
- data.tar.gz: 15f573dd2669a1d81c8a663006a00fcfdf04aa43105bf720910ddd69a34ad0eebafa8651b50e0916dc5853320392691ff781acfec3c42dbed59f742ac0fbe2cc
6
+ metadata.gz: 98f4a095a43b39f48543b5894d4ee6b7f8ef538010e31d7af7a93b1f0e51d36877701559057b6a42e578364211ec36e85b06c4ec9cc71dfce556f0c332f0584b
7
+ data.tar.gz: e1a234745491d8ad2a4e36a57412888526d2ab7c04bb8f10d9a7a60962bfbf44c375f2e2a11aedac71e21660142cccd11082047cd6cb2fa6a7e7688f6931bf0d
@@ -0,0 +1,21 @@
1
+ <table class="table table-bordered">
2
+ <tr>
3
+ <th>id:</th>
4
+ <td><%= params[:id] %></td>
5
+ </tr>
6
+
7
+ <tr>
8
+ <th>session id:</th>
9
+ <td><%= params[:crc] %></td>
10
+ </tr>
11
+
12
+ <tr>
13
+ <th>amount:</th>
14
+ <td><%= number_to_currency(params[:kwota].to_i) %></td>
15
+ </tr>
16
+ </table>
17
+
18
+ <%= link_to 'Poprawna autoryzacja', opay_correct_authorization_path(session_id: params[:crc]), class: 'btn btn-success pull-left' %>
19
+ <%= link_to 'Błędna autoryzacja', opay_wrong_authorization_path, class: 'btn btn-warning pull-right' %>
20
+
21
+
@@ -1,3 +1,3 @@
1
1
  module Opay
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
@@ -23,5 +23,5 @@ Opay.configure do |config|
23
23
  config.paypal_currency = 'EUR'
24
24
 
25
25
  config.test_mode = true
26
- config.process_payments_localy = false if Rails.env.development?
26
+ config.process_payments_localy = true if Rails.env.development?
27
27
  end
@@ -2849,3 +2849,1017 @@ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-07 12:17:18
2849
2849
 
2850
2850
 
2851
2851
  Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-07 12:17:19 +0200
2852
+
2853
+
2854
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2855
+ Processing by OrdersController#index as HTML
2856
+ Order Load (2.9ms) SELECT "orders".* FROM "orders"
2857
+ Opay::Payment Load (4.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
2858
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
2859
+ Rendered orders/index.html.erb within layouts/application (112.3ms)
2860
+ Completed 200 OK in 238ms (Views: 221.8ms | ActiveRecord: 8.1ms)
2861
+
2862
+
2863
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2864
+
2865
+
2866
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2867
+
2868
+
2869
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2870
+
2871
+
2872
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2873
+
2874
+
2875
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:22:37 +0200
2876
+
2877
+
2878
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:22:41 +0200
2879
+ Processing by OrdersController#show as HTML
2880
+ Parameters: {"id"=>"2"}
2881
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
2882
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
2883
+ Opay::Payment Load (0.6ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'LWqsyEgYCA3DyFePESmM' ORDER BY "opay_payments"."id" ASC LIMIT 1
2884
+  (0.1ms) begin transaction
2885
+ SQL (3.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "LWqsyEgYCA3DyFePESmM"], ["updated_at", Fri, 17 Oct 2014 13:22:41 UTC +00:00]]
2886
+  (1.5ms) commit transaction
2887
+ Opay::Payment Load (0.7ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '7ThEwhtqQsm6feiSjqyw' ORDER BY "opay_payments"."id" ASC LIMIT 1
2888
+  (0.1ms) begin transaction
2889
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "7ThEwhtqQsm6feiSjqyw"], ["updated_at", Fri, 17 Oct 2014 13:22:41 UTC +00:00]]
2890
+  (0.9ms) commit transaction
2891
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'eex4DzuBsz1yi8kMNRqy' ORDER BY "opay_payments"."id" ASC LIMIT 1
2892
+  (0.1ms) begin transaction
2893
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "eex4DzuBsz1yi8kMNRqy"], ["updated_at", Fri, 17 Oct 2014 13:22:41 UTC +00:00]]
2894
+  (1.2ms) commit transaction
2895
+ Rendered orders/show.html.erb within layouts/application (54.3ms)
2896
+ Completed 200 OK in 65ms (Views: 52.9ms | ActiveRecord: 10.9ms)
2897
+
2898
+
2899
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:22:46 +0200
2900
+ Processing by OrdersController#show as HTML
2901
+ Parameters: {"id"=>"2"}
2902
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
2903
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
2904
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '28aey25eedspXaGLh49Z' ORDER BY "opay_payments"."id" ASC LIMIT 1
2905
+  (0.1ms) begin transaction
2906
+ SQL (1.0ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "28aey25eedspXaGLh49Z"], ["updated_at", Fri, 17 Oct 2014 13:22:46 UTC +00:00]]
2907
+  (3.8ms) commit transaction
2908
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'moxx6xXActspRyz1mYcW' ORDER BY "opay_payments"."id" ASC LIMIT 1
2909
+  (0.1ms) begin transaction
2910
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "moxx6xXActspRyz1mYcW"], ["updated_at", Fri, 17 Oct 2014 13:22:46 UTC +00:00]]
2911
+  (1.8ms) commit transaction
2912
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '4yixW1Eu6iJx6Fq8pxof' ORDER BY "opay_payments"."id" ASC LIMIT 1
2913
+  (0.1ms) begin transaction
2914
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "4yixW1Eu6iJx6Fq8pxof"], ["updated_at", Fri, 17 Oct 2014 13:22:46 UTC +00:00]]
2915
+  (1.0ms) commit transaction
2916
+ Rendered orders/show.html.erb within layouts/application (36.7ms)
2917
+ Completed 200 OK in 45ms (Views: 32.8ms | ActiveRecord: 10.2ms)
2918
+
2919
+
2920
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:23:09 +0200
2921
+ Processing by OrdersController#show as HTML
2922
+ Parameters: {"id"=>"2"}
2923
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
2924
+ Opay::Payment Load (4.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
2925
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'oHku1SqMRCrbE48oGx8x' ORDER BY "opay_payments"."id" ASC LIMIT 1
2926
+  (0.1ms) begin transaction
2927
+ SQL (2.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "oHku1SqMRCrbE48oGx8x"], ["updated_at", Fri, 17 Oct 2014 13:23:09 UTC +00:00]]
2928
+  (5.0ms) commit transaction
2929
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'sSdV4bi8s4jns32WMowX' ORDER BY "opay_payments"."id" ASC LIMIT 1
2930
+  (0.1ms) begin transaction
2931
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "sSdV4bi8s4jns32WMowX"], ["updated_at", Fri, 17 Oct 2014 13:23:09 UTC +00:00]]
2932
+  (1.1ms) commit transaction
2933
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'DRVguWMqkgyzzW41dzzU' ORDER BY "opay_payments"."id" ASC LIMIT 1
2934
+  (0.1ms) begin transaction
2935
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "DRVguWMqkgyzzW41dzzU"], ["updated_at", Fri, 17 Oct 2014 13:23:09 UTC +00:00]]
2936
+  (0.9ms) commit transaction
2937
+ Rendered orders/show.html.erb within layouts/application (106.6ms)
2938
+ Completed 200 OK in 270ms (Views: 183.0ms | ActiveRecord: 18.7ms)
2939
+
2940
+
2941
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:23:10 +0200
2942
+
2943
+
2944
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:23:10 +0200
2945
+
2946
+
2947
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:23:10 +0200
2948
+
2949
+
2950
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:23:10 +0200
2951
+
2952
+
2953
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:23:10 +0200
2954
+
2955
+
2956
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:23:14 +0200
2957
+ Processing by Opay::TransferujController#secure as HTML
2958
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"DRVguWMqkgyzzW41dzzU", "kwota"=>"10", "opis"=>"nowe", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"8af3fae66a1c792b2db4d99b225d8bec", "commit"=>"pay_with_transferuj"}
2959
+ Completed 500 Internal Server Error in 5ms
2960
+
2961
+ ActionView::MissingTemplate (Missing template opay/transferuj/secure, opay/application/secure with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
2962
+ * "/Users/olownia/dev/gems/opay/spec/dummy/app/views"
2963
+ * "/Users/olownia/dev/gems/opay/app/views"
2964
+ ):
2965
+ actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find'
2966
+ actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find'
2967
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
2968
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
2969
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
2970
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
2971
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
2972
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
2973
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
2974
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
2975
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
2976
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
2977
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
2978
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
2979
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2980
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2981
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
2982
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
2983
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2984
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2985
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2986
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
2987
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2988
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2989
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
2990
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
2991
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2992
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4100924336645340733__process_action__callbacks'
2993
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
2994
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
2995
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
2996
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2997
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
2998
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2999
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
3000
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3001
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3002
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3003
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
3004
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
3005
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
3006
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3007
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
3008
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
3009
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
3010
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
3011
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3012
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3013
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3014
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3015
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3016
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
3017
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3018
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3019
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3020
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3021
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
3022
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
3023
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
3024
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3025
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
3026
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
3027
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
3028
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
3029
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
3030
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
3031
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3032
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4583050439145303344__call__callbacks'
3033
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3034
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3035
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
3036
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
3037
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3038
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3039
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
3040
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
3041
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3042
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
3043
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
3044
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
3045
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3046
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
3047
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
3048
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
3049
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3050
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
3051
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
3052
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3053
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
3054
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3055
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
3056
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
3057
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
3058
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
3059
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
3060
+
3061
+
3062
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)
3063
+
3064
+
3065
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:26:08 +0200
3066
+ Processing by Opay::TransferujController#secure as HTML
3067
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"DRVguWMqkgyzzW41dzzU", "kwota"=>"10", "opis"=>"nowe", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"8af3fae66a1c792b2db4d99b225d8bec", "commit"=>"pay_with_transferuj"}
3068
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/transferuj/secure.html.erb within layouts/opay/application (10.8ms)
3069
+ Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms)
3070
+
3071
+
3072
+ Started GET "/assets/opay/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:26:09 +0200
3073
+
3074
+
3075
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:09 +0200
3076
+
3077
+
3078
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:09 +0200
3079
+
3080
+
3081
+ Started GET "/assets/opay/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:09 +0200
3082
+
3083
+
3084
+ Started GET "/opay/correct_authorization" for 127.0.0.1 at 2014-10-17 15:26:17 +0200
3085
+ Processing by Opay::PayuController#correct_authorization as HTML
3086
+ Opay::Payment Load (0.5ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" IS NULL ORDER BY "opay_payments"."id" ASC LIMIT 1
3087
+ Completed 404 Not Found in 13ms
3088
+
3089
+ ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
3090
+ activerecord (4.0.4) lib/active_record/relation/finder_methods.rb:98:in `first!'
3091
+ /Users/olownia/dev/gems/opay/app/controllers/opay/application_controller.rb:4:in `correct_authorization'
3092
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
3093
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
3094
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
3095
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
3096
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4112327144771342375__process_action__callbacks'
3097
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3098
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
3099
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
3100
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
3101
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
3102
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3103
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
3104
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3105
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3106
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3107
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
3108
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
3109
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
3110
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3111
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
3112
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
3113
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
3114
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
3115
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3116
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3117
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3118
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3119
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3120
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
3121
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3122
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3123
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3124
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3125
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
3126
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
3127
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
3128
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3129
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
3130
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
3131
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
3132
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
3133
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
3134
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
3135
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3136
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4583050439145303344__call__callbacks'
3137
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3138
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3139
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
3140
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
3141
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3142
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3143
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
3144
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
3145
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3146
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
3147
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
3148
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
3149
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3150
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
3151
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
3152
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
3153
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3154
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
3155
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
3156
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3157
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
3158
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3159
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
3160
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
3161
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
3162
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
3163
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
3164
+
3165
+
3166
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
3167
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
3168
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
3169
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.6ms)
3170
+
3171
+
3172
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3173
+ Processing by OrdersController#index as HTML
3174
+ Order Load (0.3ms) SELECT "orders".* FROM "orders"
3175
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3176
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3177
+ Rendered orders/index.html.erb within layouts/application (14.1ms)
3178
+ Completed 200 OK in 28ms (Views: 25.5ms | ActiveRecord: 0.7ms)
3179
+
3180
+
3181
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3182
+
3183
+
3184
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3185
+
3186
+
3187
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3188
+
3189
+
3190
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3191
+
3192
+
3193
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:26:28 +0200
3194
+
3195
+
3196
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3197
+ Processing by OrdersController#show as HTML
3198
+ Parameters: {"id"=>"2"}
3199
+ Order Load (1.0ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
3200
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3201
+ Opay::Payment Load (0.5ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'iPZPYMefzyBzjruGWc1m' ORDER BY "opay_payments"."id" ASC LIMIT 1
3202
+  (0.1ms) begin transaction
3203
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "iPZPYMefzyBzjruGWc1m"], ["updated_at", Fri, 17 Oct 2014 13:26:30 UTC +00:00]]
3204
+  (4.2ms) commit transaction
3205
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'iSQ3z2pLQascZUFvzHsy' ORDER BY "opay_payments"."id" ASC LIMIT 1
3206
+  (0.1ms) begin transaction
3207
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "iSQ3z2pLQascZUFvzHsy"], ["updated_at", Fri, 17 Oct 2014 13:26:30 UTC +00:00]]
3208
+  (2.0ms) commit transaction
3209
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'u4NHwzvj2us3FHRnbjbG' ORDER BY "opay_payments"."id" ASC LIMIT 1
3210
+  (0.1ms) begin transaction
3211
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "u4NHwzvj2us3FHRnbjbG"], ["updated_at", Fri, 17 Oct 2014 13:26:30 UTC +00:00]]
3212
+  (1.1ms) commit transaction
3213
+ Rendered orders/show.html.erb within layouts/application (37.2ms)
3214
+ Completed 200 OK in 45ms (Views: 31.7ms | ActiveRecord: 11.5ms)
3215
+
3216
+
3217
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3218
+
3219
+
3220
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3221
+
3222
+
3223
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3224
+
3225
+
3226
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3227
+
3228
+
3229
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:30 +0200
3230
+
3231
+
3232
+ Started PATCH "/opay/payu/paygw/UTF/NewPayment" for 127.0.0.1 at 2014-10-17 15:26:31 +0200
3233
+ Processing by Opay::PayuController#paygw as HTML
3234
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "first_name"=>"Jan", "last_name"=>"Kowalski", "email"=>"kowalski@gmail.com", "desc"=>"nowe", "client_ip"=>"127.0.0.1", "pos_id"=>"123456", "pos_auth_key"=>"DiEKzTD", "session_id"=>"iPZPYMefzyBzjruGWc1m", "amount"=>"10", "js"=>"1", "pay_type"=>"t", "ts"=>"1413552390", "sig"=>"6f8c5e41ba47fff2d85e3a506845c2a9", "commit"=>"pay_with_payu"}
3235
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/payu/paygw.html.erb within layouts/opay/application (5.8ms)
3236
+ Completed 200 OK in 13ms (Views: 13.2ms | ActiveRecord: 0.0ms)
3237
+
3238
+
3239
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:32 +0200
3240
+
3241
+
3242
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:26:32 +0200
3243
+
3244
+
3245
+ Started GET "/opay/correct_authorization?session_id=iPZPYMefzyBzjruGWc1m" for 127.0.0.1 at 2014-10-17 15:26:33 +0200
3246
+ Processing by Opay::PayuController#correct_authorization as HTML
3247
+ Parameters: {"session_id"=>"iPZPYMefzyBzjruGWc1m"}
3248
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'iPZPYMefzyBzjruGWc1m' ORDER BY "opay_payments"."id" ASC LIMIT 1
3249
+ Completed 404 Not Found in 2ms
3250
+
3251
+ ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
3252
+ activerecord (4.0.4) lib/active_record/relation/finder_methods.rb:98:in `first!'
3253
+ /Users/olownia/dev/gems/opay/app/controllers/opay/application_controller.rb:4:in `correct_authorization'
3254
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
3255
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
3256
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
3257
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
3258
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4112327144771342375__process_action__callbacks'
3259
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3260
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
3261
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
3262
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
3263
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
3264
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3265
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
3266
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3267
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3268
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3269
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
3270
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
3271
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
3272
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3273
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
3274
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
3275
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
3276
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
3277
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3278
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3279
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3280
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3281
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3282
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
3283
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3284
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3285
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3286
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3287
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
3288
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
3289
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
3290
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3291
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
3292
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
3293
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
3294
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
3295
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
3296
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
3297
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3298
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4583050439145303344__call__callbacks'
3299
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3300
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3301
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
3302
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
3303
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3304
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3305
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
3306
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
3307
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3308
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
3309
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
3310
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
3311
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3312
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
3313
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
3314
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
3315
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3316
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
3317
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
3318
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3319
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
3320
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3321
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
3322
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
3323
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
3324
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
3325
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
3326
+
3327
+
3328
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
3329
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
3330
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
3331
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.1ms)
3332
+
3333
+
3334
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:27:52 +0200
3335
+ Processing by OrdersController#index as HTML
3336
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
3337
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3338
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3339
+ Rendered orders/index.html.erb within layouts/application (6.2ms)
3340
+ Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.7ms)
3341
+
3342
+
3343
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:53 +0200
3344
+
3345
+
3346
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:27:53 +0200
3347
+
3348
+
3349
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:53 +0200
3350
+
3351
+
3352
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:53 +0200
3353
+
3354
+
3355
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:27:53 +0200
3356
+
3357
+
3358
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:27:54 +0200
3359
+ Processing by OrdersController#show as HTML
3360
+ Parameters: {"id"=>"2"}
3361
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
3362
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3363
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '8K97xS29sRUhNjcDqEGP' ORDER BY "opay_payments"."id" ASC LIMIT 1
3364
+  (0.1ms) begin transaction
3365
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "8K97xS29sRUhNjcDqEGP"], ["updated_at", Fri, 17 Oct 2014 13:27:54 UTC +00:00]]
3366
+  (4.6ms) commit transaction
3367
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'xK1QxvjPyqzKVC7EghrX' ORDER BY "opay_payments"."id" ASC LIMIT 1
3368
+  (0.1ms) begin transaction
3369
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "xK1QxvjPyqzKVC7EghrX"], ["updated_at", Fri, 17 Oct 2014 13:27:54 UTC +00:00]]
3370
+  (1.6ms) commit transaction
3371
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'xyKM6vJF5U4oFY1pU4mk' ORDER BY "opay_payments"."id" ASC LIMIT 1
3372
+  (0.1ms) begin transaction
3373
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "xyKM6vJF5U4oFY1pU4mk"], ["updated_at", Fri, 17 Oct 2014 13:27:54 UTC +00:00]]
3374
+  (1.3ms) commit transaction
3375
+ Rendered orders/show.html.erb within layouts/application (33.7ms)
3376
+ Completed 200 OK in 40ms (Views: 28.0ms | ActiveRecord: 10.5ms)
3377
+
3378
+
3379
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:27:55 +0200
3380
+
3381
+
3382
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:55 +0200
3383
+
3384
+
3385
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:55 +0200
3386
+
3387
+
3388
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:27:55 +0200
3389
+
3390
+
3391
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:27:55 +0200
3392
+
3393
+
3394
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:27:57 +0200
3395
+ Processing by OrdersController#index as HTML
3396
+ Order Load (0.3ms) SELECT "orders".* FROM "orders"
3397
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3398
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3399
+ Rendered orders/index.html.erb within layouts/application (7.2ms)
3400
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.7ms)
3401
+
3402
+
3403
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:27:58 +0200
3404
+ Processing by OrdersController#show as HTML
3405
+ Parameters: {"id"=>"2"}
3406
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
3407
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3408
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '25edK5F7rvksrwUoqyqq' ORDER BY "opay_payments"."id" ASC LIMIT 1
3409
+  (0.1ms) begin transaction
3410
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "25edK5F7rvksrwUoqyqq"], ["updated_at", Fri, 17 Oct 2014 13:27:58 UTC +00:00]]
3411
+  (3.5ms) commit transaction
3412
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Ns2cvBqVJpfHUjxtXxGx' ORDER BY "opay_payments"."id" ASC LIMIT 1
3413
+  (0.1ms) begin transaction
3414
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "Ns2cvBqVJpfHUjxtXxGx"], ["updated_at", Fri, 17 Oct 2014 13:27:58 UTC +00:00]]
3415
+  (0.9ms) commit transaction
3416
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Y1aKqmhPrx4Ln8VQZQ4g' ORDER BY "opay_payments"."id" ASC LIMIT 1
3417
+  (0.1ms) begin transaction
3418
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "Y1aKqmhPrx4Ln8VQZQ4g"], ["updated_at", Fri, 17 Oct 2014 13:27:58 UTC +00:00]]
3419
+  (1.0ms) commit transaction
3420
+ Rendered orders/show.html.erb within layouts/application (28.5ms)
3421
+ Completed 200 OK in 35ms (Views: 26.0ms | ActiveRecord: 8.2ms)
3422
+
3423
+
3424
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:28:00 +0200
3425
+ Processing by Opay::TransferujController#secure as HTML
3426
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"Y1aKqmhPrx4Ln8VQZQ4g", "kwota"=>"10", "opis"=>"nowe", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"15ce62c70f487dbad33c5db17d291c00", "commit"=>"pay_with_transferuj"}
3427
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/transferuj/secure.html.erb within layouts/opay/application (1.3ms)
3428
+ Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)
3429
+
3430
+
3431
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:28:00 +0200
3432
+
3433
+
3434
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:28:00 +0200
3435
+
3436
+
3437
+ Started GET "/opay/correct_authorization" for 127.0.0.1 at 2014-10-17 15:28:10 +0200
3438
+ Processing by Opay::PayuController#correct_authorization as HTML
3439
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" IS NULL ORDER BY "opay_payments"."id" ASC LIMIT 1
3440
+ Completed 404 Not Found in 1ms
3441
+
3442
+ ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound):
3443
+ activerecord (4.0.4) lib/active_record/relation/finder_methods.rb:98:in `first!'
3444
+ /Users/olownia/dev/gems/opay/app/controllers/opay/application_controller.rb:4:in `correct_authorization'
3445
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
3446
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
3447
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
3448
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
3449
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4112327144771342375__process_action__callbacks'
3450
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3451
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
3452
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
3453
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
3454
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
3455
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3456
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
3457
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3458
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3459
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3460
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
3461
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
3462
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
3463
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3464
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
3465
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
3466
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
3467
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
3468
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3469
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3470
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3471
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3472
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3473
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
3474
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
3475
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
3476
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
3477
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
3478
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
3479
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
3480
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
3481
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3482
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
3483
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
3484
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
3485
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
3486
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
3487
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
3488
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3489
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4583050439145303344__call__callbacks'
3490
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
3491
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3492
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
3493
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
3494
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3495
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3496
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
3497
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
3498
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3499
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
3500
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
3501
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
3502
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3503
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
3504
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
3505
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
3506
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3507
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
3508
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
3509
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
3510
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
3511
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
3512
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
3513
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
3514
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
3515
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
3516
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
3517
+
3518
+
3519
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
3520
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
3521
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.4ms)
3522
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (31.9ms)
3523
+
3524
+
3525
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:28:58 +0200
3526
+ Processing by OrdersController#show as HTML
3527
+ Parameters: {"id"=>"2"}
3528
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
3529
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3530
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'KfRAhdFwGiKs7fW6V5kQ' ORDER BY "opay_payments"."id" ASC LIMIT 1
3531
+  (0.1ms) begin transaction
3532
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "KfRAhdFwGiKs7fW6V5kQ"], ["updated_at", Fri, 17 Oct 2014 13:28:58 UTC +00:00]]
3533
+  (3.5ms) commit transaction
3534
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'uwoj3AoqLvY41nn1qpzF' ORDER BY "opay_payments"."id" ASC LIMIT 1
3535
+  (0.1ms) begin transaction
3536
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "uwoj3AoqLvY41nn1qpzF"], ["updated_at", Fri, 17 Oct 2014 13:28:58 UTC +00:00]]
3537
+  (0.9ms) commit transaction
3538
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'qtYZxtx8fqZupDYLG3is' ORDER BY "opay_payments"."id" ASC LIMIT 1
3539
+  (0.1ms) begin transaction
3540
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "qtYZxtx8fqZupDYLG3is"], ["updated_at", Fri, 17 Oct 2014 13:28:58 UTC +00:00]]
3541
+  (0.9ms) commit transaction
3542
+ Rendered orders/show.html.erb within layouts/application (25.8ms)
3543
+ Completed 200 OK in 32ms (Views: 22.6ms | ActiveRecord: 8.1ms)
3544
+
3545
+
3546
+ Started GET "/orders/2" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3547
+ Processing by OrdersController#show as HTML
3548
+ Parameters: {"id"=>"2"}
3549
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
3550
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3551
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'TzaWsN3ZnqUXLRQbqWZp' ORDER BY "opay_payments"."id" ASC LIMIT 1
3552
+  (0.1ms) begin transaction
3553
+ SQL (1.2ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "TzaWsN3ZnqUXLRQbqWZp"], ["updated_at", Fri, 17 Oct 2014 13:28:59 UTC +00:00]]
3554
+  (3.8ms) commit transaction
3555
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'tip3yHCCDWXFz9ZK4AXd' ORDER BY "opay_payments"."id" ASC LIMIT 1
3556
+  (0.1ms) begin transaction
3557
+ SQL (0.7ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "tip3yHCCDWXFz9ZK4AXd"], ["updated_at", Fri, 17 Oct 2014 13:28:59 UTC +00:00]]
3558
+  (1.0ms) commit transaction
3559
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'kxdcpdkwNuvJafCvEt9y' ORDER BY "opay_payments"."id" ASC LIMIT 1
3560
+  (0.1ms) begin transaction
3561
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["session_id", "kxdcpdkwNuvJafCvEt9y"], ["updated_at", Fri, 17 Oct 2014 13:28:59 UTC +00:00]]
3562
+  (0.9ms) commit transaction
3563
+ Rendered orders/show.html.erb within layouts/application (29.4ms)
3564
+ Completed 200 OK in 36ms (Views: 25.4ms | ActiveRecord: 9.8ms)
3565
+
3566
+
3567
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3568
+
3569
+
3570
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3571
+
3572
+
3573
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3574
+
3575
+
3576
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3577
+
3578
+
3579
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:28:59 +0200
3580
+
3581
+
3582
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:29:00 +0200
3583
+ Processing by Opay::TransferujController#secure as HTML
3584
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"kxdcpdkwNuvJafCvEt9y", "kwota"=>"10", "opis"=>"nowe", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"4b19b19f8156298f06139814921e81e5", "commit"=>"pay_with_transferuj"}
3585
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/transferuj/secure.html.erb within layouts/opay/application (2.0ms)
3586
+ Completed 200 OK in 15ms (Views: 15.2ms | ActiveRecord: 0.0ms)
3587
+
3588
+
3589
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:01 +0200
3590
+
3591
+
3592
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:01 +0200
3593
+
3594
+
3595
+ Started GET "/opay/correct_authorization?session_id=kxdcpdkwNuvJafCvEt9y" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3596
+ Processing by Opay::PayuController#correct_authorization as HTML
3597
+ Parameters: {"session_id"=>"kxdcpdkwNuvJafCvEt9y"}
3598
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'kxdcpdkwNuvJafCvEt9y' ORDER BY "opay_payments"."id" ASC LIMIT 1
3599
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 2]]
3600
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3601
+  (0.2ms) begin transaction
3602
+ SQL (0.9ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 2 [["finished", true], ["updated_at", Fri, 17 Oct 2014 13:29:02 UTC +00:00]]
3603
+  (1.0ms) commit transaction
3604
+  (0.1ms) begin transaction
3605
+ SQL (0.6ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 2 [["finished", true], ["updated_at", Fri, 17 Oct 2014 13:29:02 UTC +00:00]]
3606
+  (0.9ms) commit transaction
3607
+ Redirected to http://localhost:3000/
3608
+ Completed 302 Found in 26ms (ActiveRecord: 4.6ms)
3609
+
3610
+
3611
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3612
+ Processing by OrdersController#index as HTML
3613
+ Order Load (0.3ms) SELECT "orders".* FROM "orders"
3614
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3615
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3616
+ Rendered orders/index.html.erb within layouts/application (5.4ms)
3617
+ Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.6ms)
3618
+
3619
+
3620
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3621
+
3622
+
3623
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3624
+
3625
+
3626
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3627
+
3628
+
3629
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3630
+
3631
+
3632
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:02 +0200
3633
+
3634
+
3635
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:29:06 +0200
3636
+ Processing by OrdersController#index as HTML
3637
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
3638
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3639
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3640
+ Rendered orders/index.html.erb within layouts/application (4.9ms)
3641
+ Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.6ms)
3642
+
3643
+
3644
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:06 +0200
3645
+
3646
+
3647
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:06 +0200
3648
+
3649
+
3650
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:06 +0200
3651
+
3652
+
3653
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:06 +0200
3654
+
3655
+
3656
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:07 +0200
3657
+
3658
+
3659
+ Started GET "/orders/new" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3660
+ Processing by OrdersController#new as HTML
3661
+ Rendered orders/_form.html.erb (16.1ms)
3662
+ Rendered orders/new.html.erb within layouts/application (22.8ms)
3663
+ Completed 200 OK in 32ms (Views: 32.0ms | ActiveRecord: 0.0ms)
3664
+
3665
+
3666
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3667
+
3668
+
3669
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3670
+
3671
+
3672
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3673
+
3674
+
3675
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3676
+
3677
+
3678
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:08 +0200
3679
+
3680
+
3681
+ Started POST "/orders" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3682
+ Processing by OrdersController#create as HTML
3683
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "order"=>{"name"=>"payment 2", "amount"=>"34"}, "commit"=>"Create Order"}
3684
+  (0.1ms) begin transaction
3685
+ SQL (0.8ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", "34"], ["created_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00], ["name", "payment 2"], ["updated_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00]]
3686
+  (1.0ms) commit transaction
3687
+ Redirected to http://localhost:3000/orders/3
3688
+ Completed 302 Found in 9ms (ActiveRecord: 1.9ms)
3689
+
3690
+
3691
+ Started GET "/orders/3" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3692
+ Processing by OrdersController#show as HTML
3693
+ Parameters: {"id"=>"3"}
3694
+ Order Load (0.4ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "3"]]
3695
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
3696
+  (0.1ms) begin transaction
3697
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '5cXbqAs1dmp6sk2Uq8Nq' ORDER BY "opay_payments"."id" ASC LIMIT 1
3698
+ SQL (0.8ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 34], ["created_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00], ["payable_id", 3], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "5cXbqAs1dmp6sk2Uq8Nq"], ["updated_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00]]
3699
+  (4.1ms) commit transaction
3700
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '6sddATac3bo42aCeAHqc' ORDER BY "opay_payments"."id" ASC LIMIT 1
3701
+  (0.1ms) begin transaction
3702
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 3 [["session_id", "6sddATac3bo42aCeAHqc"], ["updated_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00]]
3703
+  (0.9ms) commit transaction
3704
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'mx7RZQwvEXQNWdvkBwqJ' ORDER BY "opay_payments"."id" ASC LIMIT 1
3705
+  (0.1ms) begin transaction
3706
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 3 [["session_id", "mx7RZQwvEXQNWdvkBwqJ"], ["updated_at", Fri, 17 Oct 2014 13:29:21 UTC +00:00]]
3707
+  (0.9ms) commit transaction
3708
+ Rendered orders/show.html.erb within layouts/application (33.7ms)
3709
+ Completed 200 OK in 42ms (Views: 30.5ms | ActiveRecord: 9.4ms)
3710
+
3711
+
3712
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3713
+
3714
+
3715
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3716
+
3717
+
3718
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3719
+
3720
+
3721
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3722
+
3723
+
3724
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:21 +0200
3725
+
3726
+
3727
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:29:26 +0200
3728
+ Processing by Opay::TransferujController#secure as HTML
3729
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"mx7RZQwvEXQNWdvkBwqJ", "kwota"=>"34", "opis"=>"payment 2", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"d33c1db397e0cc12208bebbde86bede6", "commit"=>"pay_with_transferuj"}
3730
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/transferuj/secure.html.erb within layouts/opay/application (1.5ms)
3731
+ Completed 200 OK in 90ms (Views: 89.7ms | ActiveRecord: 0.0ms)
3732
+
3733
+
3734
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:26 +0200
3735
+
3736
+
3737
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:26 +0200
3738
+
3739
+
3740
+ Started PATCH "/opay/transferuj/secure" for 127.0.0.1 at 2014-10-17 15:29:39 +0200
3741
+ Processing by Opay::TransferujController#secure as HTML
3742
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "email"=>"kowalski@gmail.com", "id"=>"16059", "crc"=>"mx7RZQwvEXQNWdvkBwqJ", "kwota"=>"34", "opis"=>"payment 2", "imie"=>"Jan", "nazwisko"=>"Kowalski", "pow_url"=>"http://localhost:3000/", "pow_url_blad"=>"http://localhost:3000/", "md5sum"=>"d33c1db397e0cc12208bebbde86bede6", "commit"=>"pay_with_transferuj"}
3743
+ Rendered /Users/olownia/dev/gems/opay/app/views/opay/transferuj/secure.html.erb within layouts/opay/application (2.3ms)
3744
+ Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
3745
+
3746
+
3747
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:39 +0200
3748
+
3749
+
3750
+ Started GET "/assets/opay/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:39 +0200
3751
+
3752
+
3753
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:39 +0200
3754
+
3755
+
3756
+ Started GET "/assets/opay/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:39 +0200
3757
+
3758
+
3759
+ Started GET "/opay/correct_authorization?session_id=mx7RZQwvEXQNWdvkBwqJ" for 127.0.0.1 at 2014-10-17 15:29:42 +0200
3760
+ Processing by Opay::PayuController#correct_authorization as HTML
3761
+ Parameters: {"session_id"=>"mx7RZQwvEXQNWdvkBwqJ"}
3762
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'mx7RZQwvEXQNWdvkBwqJ' ORDER BY "opay_payments"."id" ASC LIMIT 1
3763
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 3]]
3764
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
3765
+  (0.1ms) begin transaction
3766
+ SQL (0.8ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 3 [["finished", true], ["updated_at", Fri, 17 Oct 2014 13:29:42 UTC +00:00]]
3767
+  (2.1ms) commit transaction
3768
+  (0.1ms) begin transaction
3769
+ SQL (0.6ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 3 [["finished", true], ["updated_at", Fri, 17 Oct 2014 13:29:42 UTC +00:00]]
3770
+  (0.9ms) commit transaction
3771
+ Redirected to http://localhost:3000/
3772
+ Completed 302 Found in 19ms (ActiveRecord: 5.4ms)
3773
+
3774
+
3775
+ Started GET "/" for 127.0.0.1 at 2014-10-17 15:29:42 +0200
3776
+ Processing by OrdersController#index as HTML
3777
+ Order Load (0.3ms) SELECT "orders".* FROM "orders"
3778
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
3779
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 2], ["payable_type", "Order"]]
3780
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
3781
+ Rendered orders/index.html.erb within layouts/application (9.4ms)
3782
+ Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 1.0ms)
3783
+
3784
+
3785
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:42 +0200
3786
+
3787
+
3788
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:43 +0200
3789
+
3790
+
3791
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:43 +0200
3792
+
3793
+
3794
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:43 +0200
3795
+
3796
+
3797
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:43 +0200
3798
+
3799
+
3800
+ Started GET "/orders/new" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3801
+ Processing by OrdersController#new as HTML
3802
+ Rendered orders/_form.html.erb (6.8ms)
3803
+ Rendered orders/new.html.erb within layouts/application (8.2ms)
3804
+ Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms)
3805
+
3806
+
3807
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3808
+
3809
+
3810
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3811
+
3812
+
3813
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3814
+
3815
+
3816
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3817
+
3818
+
3819
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:45 +0200
3820
+
3821
+
3822
+ Started POST "/orders" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3823
+ Processing by OrdersController#create as HTML
3824
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"P32+bW+Z7bQfJibbRPF+7uyQPNTGdIW+QTyaTJSg7XM=", "order"=>{"name"=>"payment 3", "amount"=>"23"}, "commit"=>"Create Order"}
3825
+  (0.1ms) begin transaction
3826
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", "23"], ["created_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00], ["name", "payment 3"], ["updated_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00]]
3827
+  (0.9ms) commit transaction
3828
+ Redirected to http://localhost:3000/orders/4
3829
+ Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
3830
+
3831
+
3832
+ Started GET "/orders/4" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3833
+ Processing by OrdersController#show as HTML
3834
+ Parameters: {"id"=>"4"}
3835
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "4"]]
3836
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
3837
+  (0.1ms) begin transaction
3838
+ Opay::Payment Load (0.6ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'HRzpQtX7FszwFHTvo3pF' ORDER BY "opay_payments"."id" ASC LIMIT 1
3839
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 23], ["created_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00], ["payable_id", 4], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "HRzpQtX7FszwFHTvo3pF"], ["updated_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00]]
3840
+  (1.5ms) commit transaction
3841
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '8CxUhtqRAGefH4XVBCEp' ORDER BY "opay_payments"."id" ASC LIMIT 1
3842
+  (0.1ms) begin transaction
3843
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 4 [["session_id", "8CxUhtqRAGefH4XVBCEp"], ["updated_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00]]
3844
+  (0.9ms) commit transaction
3845
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'atJdAfmsA5q9fiHcgdsp' ORDER BY "opay_payments"."id" ASC LIMIT 1
3846
+  (0.1ms) begin transaction
3847
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 4 [["session_id", "atJdAfmsA5q9fiHcgdsp"], ["updated_at", Fri, 17 Oct 2014 13:29:51 UTC +00:00]]
3848
+  (0.9ms) commit transaction
3849
+ Rendered orders/show.html.erb within layouts/application (23.3ms)
3850
+ Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 6.5ms)
3851
+
3852
+
3853
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3854
+
3855
+
3856
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3857
+
3858
+
3859
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3860
+
3861
+
3862
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
3863
+
3864
+
3865
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-10-17 15:29:51 +0200
@@ -0,0 +1 @@
1
+ 57092
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mariusz Ołownia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-16 00:00:00.000000000 Z
11
+ date: 2014-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -239,6 +239,7 @@ files:
239
239
  - app/views/layouts/opay/application.html.erb
240
240
  - app/views/opay/paypal/new.html.erb
241
241
  - app/views/opay/payu/paygw.html.erb
242
+ - app/views/opay/transferuj/secure.html.erb
242
243
  - config/routes.rb
243
244
  - db/migrate/20130321114023_create_opay_payments.rb
244
245
  - lib/generators/opay/install_generator.rb
@@ -328,6 +329,7 @@ files:
328
329
  - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
329
330
  - spec/dummy/tmp/cache/assets/development/sprockets/ec35b2b69abc3f1386f0c1ff13c7d7b6
330
331
  - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
332
+ - spec/dummy/tmp/pids/server.pid
331
333
  - spec/factories/opay_payments.rb
332
334
  - spec/fixtures/xml/error.xml.erb
333
335
  - spec/fixtures/xml/paypal/payment_created.xml.erb
@@ -430,6 +432,7 @@ test_files:
430
432
  - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
431
433
  - spec/dummy/tmp/cache/assets/development/sprockets/ec35b2b69abc3f1386f0c1ff13c7d7b6
432
434
  - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
435
+ - spec/dummy/tmp/pids/server.pid
433
436
  - spec/factories/opay_payments.rb
434
437
  - spec/fixtures/xml/error.xml.erb
435
438
  - spec/fixtures/xml/paypal/payment_created.xml.erb