opay 1.2.0 → 1.2.1

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.
@@ -10056,3 +10056,1468 @@ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-25 16:00:07 +010
10056
10056
 
10057
10057
 
10058
10058
  Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-25 16:00:07 +0100
10059
+
10060
+
10061
+ Started GET "/" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10062
+ Processing by OrdersController#index as HTML
10063
+ Order Load (2.1ms) SELECT "orders".* FROM "orders"
10064
+ Opay::Payment Load (2.8ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
10065
+ 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"]]
10066
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
10067
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
10068
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
10069
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
10070
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
10071
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 8], ["payable_type", "Order"]]
10072
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
10073
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
10074
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10075
+ Rendered orders/index.html.erb within layouts/application (54.6ms)
10076
+ Completed 200 OK in 153ms (Views: 140.4ms | ActiveRecord: 6.8ms)
10077
+
10078
+
10079
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10080
+
10081
+
10082
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10083
+
10084
+
10085
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10086
+
10087
+
10088
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10089
+
10090
+
10091
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 11:51:50 +0100
10092
+
10093
+
10094
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 11:51:52 +0100
10095
+ Processing by OrdersController#show as HTML
10096
+ Parameters: {"id"=>"11"}
10097
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10098
+ 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", 11], ["payable_type", "Order"]]
10099
+ Opay::Payment Load (0.6ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'ectGK1vk561D9v3i16uo' ORDER BY "opay_payments"."id" ASC LIMIT 1
10100
+  (0.1ms) begin transaction
10101
+ SQL (1.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "ectGK1vk561D9v3i16uo"], ["updated_at", Wed, 26 Mar 2014 10:51:52 UTC +00:00]]
10102
+  (0.9ms) commit transaction
10103
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '39t2nMrykAozWBy9pNZJ' ORDER BY "opay_payments"."id" ASC LIMIT 1
10104
+  (0.1ms) begin transaction
10105
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "39t2nMrykAozWBy9pNZJ"], ["updated_at", Wed, 26 Mar 2014 10:51:52 UTC +00:00]]
10106
+  (0.7ms) commit transaction
10107
+ Rendered orders/show.html.erb within layouts/application (23.7ms)
10108
+ Completed 200 OK in 29ms (Views: 23.3ms | ActiveRecord: 4.9ms)
10109
+
10110
+
10111
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 11:51:52 +0100
10112
+
10113
+
10114
+ Started GET "/fsdlj" for 127.0.0.1 at 2014-03-26 11:55:39 +0100
10115
+
10116
+ ActionController::RoutingError (No route matches [GET] "/fsdlj"):
10117
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10118
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10119
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
10120
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
10121
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10122
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
10123
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
10124
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
10125
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10126
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10127
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10128
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
10129
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10130
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
10131
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10132
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
10133
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
10134
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10135
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10136
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10137
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
10138
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
10139
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
10140
+
10141
+
10142
+ 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.1ms)
10143
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms)
10144
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
10145
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.3ms)
10146
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (30.5ms)
10147
+
10148
+
10149
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10150
+ Processing by OrdersController#show as HTML
10151
+ Parameters: {"id"=>"11"}
10152
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10153
+ 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", 11], ["payable_type", "Order"]]
10154
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'NPZVs8JbxK3QdEfpqsEm' ORDER BY "opay_payments"."id" ASC LIMIT 1
10155
+  (0.1ms) begin transaction
10156
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "NPZVs8JbxK3QdEfpqsEm"], ["updated_at", Wed, 26 Mar 2014 10:57:47 UTC +00:00]]
10157
+  (0.9ms) commit transaction
10158
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Qxb4Pzaw2pLDz63pW6iN' ORDER BY "opay_payments"."id" ASC LIMIT 1
10159
+  (0.1ms) begin transaction
10160
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "Qxb4Pzaw2pLDz63pW6iN"], ["updated_at", Wed, 26 Mar 2014 10:57:47 UTC +00:00]]
10161
+  (0.9ms) commit transaction
10162
+ Rendered orders/show.html.erb within layouts/application (11.2ms)
10163
+ Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 3.4ms)
10164
+
10165
+
10166
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10167
+
10168
+
10169
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10170
+
10171
+
10172
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10173
+
10174
+
10175
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10176
+
10177
+
10178
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 11:57:47 +0100
10179
+
10180
+
10181
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 11:57:48 +0100
10182
+ Processing by Opay::PaypalController#new as HTML
10183
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "session_id"=>"Qxb4Pzaw2pLDz63pW6iN", "amount"=>"123", "x"=>"74", "y"=>"17"}
10184
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Qxb4Pzaw2pLDz63pW6iN' ORDER BY "opay_payments"."id" ASC LIMIT 1
10185
+  (0.1ms) begin transaction
10186
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "EC-6FV695887K7267158"], ["updated_at", Wed, 26 Mar 2014 10:57:51 UTC +00:00]]
10187
+  (2.2ms) commit transaction
10188
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-6FV695887K7267158
10189
+ Completed 302 Found in 2705ms (ActiveRecord: 3.2ms)
10190
+
10191
+
10192
+ Started GET "/" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10193
+ Processing by OrdersController#index as HTML
10194
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
10195
+ Opay::Payment Load (0.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"]]
10196
+ Opay::Payment Load (0.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"]]
10197
+ 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"]]
10198
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
10199
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
10200
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
10201
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
10202
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 8], ["payable_type", "Order"]]
10203
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
10204
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
10205
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10206
+ Rendered orders/index.html.erb within layouts/application (13.6ms)
10207
+ Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 1.4ms)
10208
+
10209
+
10210
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10211
+
10212
+
10213
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10214
+
10215
+
10216
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10217
+
10218
+
10219
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10220
+
10221
+
10222
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 11:58:37 +0100
10223
+
10224
+
10225
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:00:50 +0100
10226
+ Processing by OrdersController#index as HTML
10227
+ Order Load (0.6ms) SELECT "orders".* FROM "orders"
10228
+ Opay::Payment Load (0.6ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
10229
+ 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"]]
10230
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
10231
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
10232
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
10233
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
10234
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
10235
+ 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", 8], ["payable_type", "Order"]]
10236
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
10237
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
10238
+ 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", 11], ["payable_type", "Order"]]
10239
+ Rendered orders/index.html.erb within layouts/application (77.7ms)
10240
+ Completed 200 OK in 85ms (Views: 78.7ms | ActiveRecord: 3.0ms)
10241
+
10242
+
10243
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:00:51 +0100
10244
+
10245
+
10246
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:00:51 +0100
10247
+
10248
+
10249
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:00:51 +0100
10250
+
10251
+
10252
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:00:51 +0100
10253
+
10254
+
10255
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:00:51 +0100
10256
+
10257
+
10258
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:00:52 +0100
10259
+ Processing by OrdersController#show as HTML
10260
+ Parameters: {"id"=>"11"}
10261
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10262
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10263
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'sEqQD29QXNa1wxcYEw5q' ORDER BY "opay_payments"."id" ASC LIMIT 1
10264
+  (0.1ms) begin transaction
10265
+ SQL (0.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "sEqQD29QXNa1wxcYEw5q"], ["updated_at", Wed, 26 Mar 2014 11:00:52 UTC +00:00]]
10266
+  (1.0ms) commit transaction
10267
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'K21dSeGixFsxDy2QGJy5' ORDER BY "opay_payments"."id" ASC LIMIT 1
10268
+  (0.1ms) begin transaction
10269
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "K21dSeGixFsxDy2QGJy5"], ["updated_at", Wed, 26 Mar 2014 11:00:52 UTC +00:00]]
10270
+  (0.8ms) commit transaction
10271
+ Rendered orders/show.html.erb within layouts/application (15.1ms)
10272
+ Completed 500 Internal Server Error in 19ms
10273
+
10274
+ ActionView::Template::Error (undefined method `new_paypal_payment_path' for #<Module:0x007fe155b48c58>):
10275
+ 22: <%= f.submit :pay_with_payu %>
10276
+ 23: <% end -%>
10277
+ 24:
10278
+ 25: <%= paypal_form_for(@order) do |f| %>
10279
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10280
+ 27: <%= f.paypal_submit_tag %>
10281
+ 28: <% end -%>
10282
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb__2387074991247083223_70302889808380'
10283
+
10284
+
10285
+ 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.2ms)
10286
+ 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.0ms)
10287
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.7ms)
10288
+
10289
+
10290
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:03:48 +0100
10291
+ Processing by OrdersController#show as HTML
10292
+ Parameters: {"id"=>"11"}
10293
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10294
+ Opay::Payment Load (3.8ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10295
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'UPUeb3W2WbxwPVh3vXTv' ORDER BY "opay_payments"."id" ASC LIMIT 1
10296
+  (0.1ms) begin transaction
10297
+ SQL (2.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "UPUeb3W2WbxwPVh3vXTv"], ["updated_at", Wed, 26 Mar 2014 11:03:48 UTC +00:00]]
10298
+  (0.8ms) commit transaction
10299
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '8QpptSrJpat123s2v9zG' ORDER BY "opay_payments"."id" ASC LIMIT 1
10300
+  (0.1ms) begin transaction
10301
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "8QpptSrJpat123s2v9zG"], ["updated_at", Wed, 26 Mar 2014 11:03:48 UTC +00:00]]
10302
+  (0.7ms) commit transaction
10303
+ Rendered orders/show.html.erb within layouts/application (126.7ms)
10304
+ Completed 500 Internal Server Error in 150ms
10305
+
10306
+ ActionView::Template::Error (undefined local variable or method `opay' for #<Opay::FormBuilder:0x007f85d77a41f8>):
10307
+ 23: <% end -%>
10308
+ 24:
10309
+ 25: <%= paypal_form_for(@order) do |f| %>
10310
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10311
+ 27: <%= f.paypal_submit_tag %>
10312
+ 28: <% end -%>
10313
+ 29:
10314
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb___4440398349873022870_70106416350420'
10315
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb___4440398349873022870_70106416350420'
10316
+
10317
+
10318
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
10319
+ 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.0ms)
10320
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.2ms)
10321
+
10322
+
10323
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:06:10 +0100
10324
+ Processing by OrdersController#show as HTML
10325
+ Parameters: {"id"=>"11"}
10326
+ Order Load (0.4ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10327
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10328
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'QxrD8hkBYtqdHs3Byp11' ORDER BY "opay_payments"."id" ASC LIMIT 1
10329
+  (0.1ms) begin transaction
10330
+ SQL (1.8ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "QxrD8hkBYtqdHs3Byp11"], ["updated_at", Wed, 26 Mar 2014 11:06:10 UTC +00:00]]
10331
+  (2.5ms) commit transaction
10332
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'pwCPaJhKpwV9fWcCxKED' ORDER BY "opay_payments"."id" ASC LIMIT 1
10333
+  (0.1ms) begin transaction
10334
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "pwCPaJhKpwV9fWcCxKED"], ["updated_at", Wed, 26 Mar 2014 11:06:10 UTC +00:00]]
10335
+  (0.8ms) commit transaction
10336
+ Rendered orders/show.html.erb within layouts/application (110.0ms)
10337
+ Completed 200 OK in 165ms (Views: 139.1ms | ActiveRecord: 10.1ms)
10338
+
10339
+
10340
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:11 +0100
10341
+
10342
+
10343
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:11 +0100
10344
+
10345
+
10346
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:11 +0100
10347
+
10348
+
10349
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:11 +0100
10350
+
10351
+
10352
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:11 +0100
10353
+
10354
+
10355
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10356
+ Processing by OrdersController#show as HTML
10357
+ Parameters: {"id"=>"11"}
10358
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10359
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10360
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'YZC82frMvE5oiP1bSgSd' ORDER BY "opay_payments"."id" ASC LIMIT 1
10361
+  (0.1ms) begin transaction
10362
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "YZC82frMvE5oiP1bSgSd"], ["updated_at", Wed, 26 Mar 2014 11:06:28 UTC +00:00]]
10363
+  (0.8ms) commit transaction
10364
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'YCM24oCNNpDmycbDxavs' ORDER BY "opay_payments"."id" ASC LIMIT 1
10365
+  (0.1ms) begin transaction
10366
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "YCM24oCNNpDmycbDxavs"], ["updated_at", Wed, 26 Mar 2014 11:06:28 UTC +00:00]]
10367
+  (0.8ms) commit transaction
10368
+ Rendered orders/show.html.erb within layouts/application (10.1ms)
10369
+ Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 3.2ms)
10370
+
10371
+
10372
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10373
+
10374
+
10375
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10376
+
10377
+
10378
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10379
+
10380
+
10381
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10382
+
10383
+
10384
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:28 +0100
10385
+
10386
+
10387
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10388
+ Processing by OrdersController#show as HTML
10389
+ Parameters: {"id"=>"11"}
10390
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10391
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10392
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'evNxYQgrhYsMCYy4oive' ORDER BY "opay_payments"."id" ASC LIMIT 1
10393
+  (0.1ms) begin transaction
10394
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "evNxYQgrhYsMCYy4oive"], ["updated_at", Wed, 26 Mar 2014 11:06:42 UTC +00:00]]
10395
+  (2.8ms) commit transaction
10396
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'EknqCvHsDgH8gPGawCNT' ORDER BY "opay_payments"."id" ASC LIMIT 1
10397
+  (0.1ms) begin transaction
10398
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "EknqCvHsDgH8gPGawCNT"], ["updated_at", Wed, 26 Mar 2014 11:06:42 UTC +00:00]]
10399
+  (1.1ms) commit transaction
10400
+ Rendered orders/show.html.erb within layouts/application (73.1ms)
10401
+ Completed 200 OK in 148ms (Views: 126.5ms | ActiveRecord: 10.2ms)
10402
+
10403
+
10404
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10405
+
10406
+
10407
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10408
+
10409
+
10410
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10411
+
10412
+
10413
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10414
+
10415
+
10416
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:06:42 +0100
10417
+
10418
+
10419
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:07:45 +0100
10420
+ Processing by OrdersController#show as HTML
10421
+ Parameters: {"id"=>"11"}
10422
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10423
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10424
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'FUVXsTmsxhZ9Pp8tcnkv' ORDER BY "opay_payments"."id" ASC LIMIT 1
10425
+  (0.1ms) begin transaction
10426
+ SQL (1.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "FUVXsTmsxhZ9Pp8tcnkv"], ["updated_at", Wed, 26 Mar 2014 11:07:45 UTC +00:00]]
10427
+  (3.3ms) commit transaction
10428
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Y7abN43pS7kUTxvy2xjT' ORDER BY "opay_payments"."id" ASC LIMIT 1
10429
+  (0.1ms) begin transaction
10430
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "Y7abN43pS7kUTxvy2xjT"], ["updated_at", Wed, 26 Mar 2014 11:07:45 UTC +00:00]]
10431
+  (0.8ms) commit transaction
10432
+ Rendered orders/show.html.erb within layouts/application (123.4ms)
10433
+ Completed 500 Internal Server Error in 143ms
10434
+
10435
+ ActionView::Template::Error (undefined local variable or method `opay' for #<Opay::FormBuilder:0x007ff357ed7ec8>):
10436
+ 23: <% end -%>
10437
+ 24:
10438
+ 25: <%= paypal_form_for(@order) do |f| %>
10439
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10440
+ 27: <%= f.paypal_submit_tag %>
10441
+ 28: <% end -%>
10442
+ 29:
10443
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb__4496842588475430743_70341562792660'
10444
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb__4496842588475430743_70341562792660'
10445
+
10446
+
10447
+ 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)
10448
+ 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.0ms)
10449
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.6ms)
10450
+
10451
+
10452
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:08:28 +0100
10453
+ Processing by OrdersController#show as HTML
10454
+ Parameters: {"id"=>"11"}
10455
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10456
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10457
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'RYPtGnP4zRe1CWRqxzPZ' ORDER BY "opay_payments"."id" ASC LIMIT 1
10458
+  (0.1ms) begin transaction
10459
+ SQL (1.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "RYPtGnP4zRe1CWRqxzPZ"], ["updated_at", Wed, 26 Mar 2014 11:08:28 UTC +00:00]]
10460
+  (2.5ms) commit transaction
10461
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Ap7PckmDxHQSHonzpufs' ORDER BY "opay_payments"."id" ASC LIMIT 1
10462
+  (0.1ms) begin transaction
10463
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "Ap7PckmDxHQSHonzpufs"], ["updated_at", Wed, 26 Mar 2014 11:08:28 UTC +00:00]]
10464
+  (0.9ms) commit transaction
10465
+ Rendered orders/show.html.erb within layouts/application (68.2ms)
10466
+ Completed 500 Internal Server Error in 88ms
10467
+
10468
+ ActionView::Template::Error (nil is not a symbol):
10469
+ 23: <% end -%>
10470
+ 24:
10471
+ 25: <%= paypal_form_for(@order) do |f| %>
10472
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10473
+ 27: <%= f.paypal_submit_tag %>
10474
+ 28: <% end -%>
10475
+ 29:
10476
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb___1094987308371887666_70241488149280'
10477
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb___1094987308371887666_70241488149280'
10478
+
10479
+
10480
+ 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.1ms)
10481
+ 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.1ms)
10482
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.9ms)
10483
+
10484
+
10485
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:09:47 +0100
10486
+ Processing by OrdersController#show as HTML
10487
+ Parameters: {"id"=>"11"}
10488
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10489
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10490
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'ob9CwvaPz5EXQiFoe9Jx' ORDER BY "opay_payments"."id" ASC LIMIT 1
10491
+  (0.1ms) begin transaction
10492
+ SQL (1.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "ob9CwvaPz5EXQiFoe9Jx"], ["updated_at", Wed, 26 Mar 2014 11:09:47 UTC +00:00]]
10493
+  (2.6ms) commit transaction
10494
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'yFmtR7XQTJZzbQH2y4ud' ORDER BY "opay_payments"."id" ASC LIMIT 1
10495
+  (0.1ms) begin transaction
10496
+ SQL (0.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "yFmtR7XQTJZzbQH2y4ud"], ["updated_at", Wed, 26 Mar 2014 11:09:47 UTC +00:00]]
10497
+  (0.7ms) commit transaction
10498
+ Rendered orders/show.html.erb within layouts/application (88.2ms)
10499
+ Completed 500 Internal Server Error in 108ms
10500
+
10501
+ ActionView::Template::Error (undefined method `cancel_payment_path' for #<ActionDispatch::Routing::RoutesProxy:0x007f834e3e1bf0>):
10502
+ 23: <% end -%>
10503
+ 24:
10504
+ 25: <%= paypal_form_for(@order) do |f| %>
10505
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10506
+ 27: <%= f.paypal_submit_tag %>
10507
+ 28: <% end -%>
10508
+ 29:
10509
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb___4298322347377076017_70100963384100'
10510
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb___4298322347377076017_70100963384100'
10511
+
10512
+
10513
+ 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)
10514
+ 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.0ms)
10515
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.5ms)
10516
+
10517
+
10518
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:11:42 +0100
10519
+ Processing by OrdersController#show as HTML
10520
+ Parameters: {"id"=>"11"}
10521
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10522
+ Opay::Payment Load (2.8ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10523
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'XrRdL2NQJiGXYbqeJQ2H' ORDER BY "opay_payments"."id" ASC LIMIT 1
10524
+  (0.1ms) begin transaction
10525
+ SQL (1.6ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "XrRdL2NQJiGXYbqeJQ2H"], ["updated_at", Wed, 26 Mar 2014 11:11:43 UTC +00:00]]
10526
+  (2.3ms) commit transaction
10527
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'PDcjyTurbj2yesHHcc57' ORDER BY "opay_payments"."id" ASC LIMIT 1
10528
+  (0.1ms) begin transaction
10529
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "PDcjyTurbj2yesHHcc57"], ["updated_at", Wed, 26 Mar 2014 11:11:43 UTC +00:00]]
10530
+  (0.6ms) commit transaction
10531
+ Rendered orders/show.html.erb within layouts/application (75.5ms)
10532
+ Completed 500 Internal Server Error in 97ms
10533
+
10534
+ ActionView::Template::Error (undefined method `cancel_payment_path' for #<ActionDispatch::Routing::RoutesProxy:0x007f842f991208>):
10535
+ 23: <% end -%>
10536
+ 24:
10537
+ 25: <%= paypal_form_for(@order) do |f| %>
10538
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10539
+ 27: <%= f.paypal_submit_tag %>
10540
+ 28: <% end -%>
10541
+ 29:
10542
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb___3713253799349200231_70102849587940'
10543
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb___3713253799349200231_70102849587940'
10544
+
10545
+
10546
+ 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.2ms)
10547
+ 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.1ms)
10548
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.3ms)
10549
+
10550
+
10551
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:12:13 +0100
10552
+ Processing by OrdersController#show as HTML
10553
+ Parameters: {"id"=>"11"}
10554
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10555
+ Opay::Payment Load (1.9ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10556
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'kYtiQhhTFBkHAxDqvutk' ORDER BY "opay_payments"."id" ASC LIMIT 1
10557
+  (0.1ms) begin transaction
10558
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "kYtiQhhTFBkHAxDqvutk"], ["updated_at", Wed, 26 Mar 2014 11:12:14 UTC +00:00]]
10559
+  (2.2ms) commit transaction
10560
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Kb3PsrzxC2qxwk23h8ox' ORDER BY "opay_payments"."id" ASC LIMIT 1
10561
+  (0.1ms) begin transaction
10562
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "Kb3PsrzxC2qxwk23h8ox"], ["updated_at", Wed, 26 Mar 2014 11:12:14 UTC +00:00]]
10563
+  (1.0ms) commit transaction
10564
+ Rendered orders/show.html.erb within layouts/application (69.6ms)
10565
+ Completed 200 OK in 147ms (Views: 126.5ms | ActiveRecord: 9.3ms)
10566
+
10567
+
10568
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:12:14 +0100
10569
+
10570
+
10571
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:12:14 +0100
10572
+
10573
+
10574
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:12:14 +0100
10575
+
10576
+
10577
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:12:14 +0100
10578
+
10579
+
10580
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:12:14 +0100
10581
+
10582
+
10583
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:13:48 +0100
10584
+ Processing by OrdersController#show as HTML
10585
+ Parameters: {"id"=>"11"}
10586
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10587
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10588
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '3Q3P3HxfUNGH2SA3fend' ORDER BY "opay_payments"."id" ASC LIMIT 1
10589
+  (0.1ms) begin transaction
10590
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "3Q3P3HxfUNGH2SA3fend"], ["updated_at", Wed, 26 Mar 2014 11:13:48 UTC +00:00]]
10591
+  (2.3ms) commit transaction
10592
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'NtDbcDb4yi4rWS94QDkw' ORDER BY "opay_payments"."id" ASC LIMIT 1
10593
+  (0.1ms) begin transaction
10594
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "NtDbcDb4yi4rWS94QDkw"], ["updated_at", Wed, 26 Mar 2014 11:13:48 UTC +00:00]]
10595
+  (0.9ms) commit transaction
10596
+ Rendered orders/show.html.erb within layouts/application (67.0ms)
10597
+ Completed 500 Internal Server Error in 87ms
10598
+
10599
+ ActionView::Template::Error (nil is not a symbol):
10600
+ 23: <% end -%>
10601
+ 24:
10602
+ 25: <%= paypal_form_for(@order) do |f| %>
10603
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10604
+ 27: <%= f.paypal_submit_tag %>
10605
+ 28: <% end -%>
10606
+ 29:
10607
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb___989983410501932168_70156464301500'
10608
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb___989983410501932168_70156464301500'
10609
+
10610
+
10611
+ 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.4ms)
10612
+ 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.1ms)
10613
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.5ms)
10614
+
10615
+
10616
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10617
+ Processing by OrdersController#show as HTML
10618
+ Parameters: {"id"=>"11"}
10619
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10620
+ Opay::Payment Load (2.5ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10621
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'mqG5kiu4KoJ4FgThQPqZ' ORDER BY "opay_payments"."id" ASC LIMIT 1
10622
+  (0.1ms) begin transaction
10623
+ SQL (1.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "mqG5kiu4KoJ4FgThQPqZ"], ["updated_at", Wed, 26 Mar 2014 11:14:24 UTC +00:00]]
10624
+  (2.6ms) commit transaction
10625
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'YpcK71UZMAQednCpG1Q6' ORDER BY "opay_payments"."id" ASC LIMIT 1
10626
+  (0.1ms) begin transaction
10627
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "YpcK71UZMAQednCpG1Q6"], ["updated_at", Wed, 26 Mar 2014 11:14:24 UTC +00:00]]
10628
+  (1.0ms) commit transaction
10629
+ Rendered orders/show.html.erb within layouts/application (69.8ms)
10630
+ Completed 200 OK in 147ms (Views: 124.2ms | ActiveRecord: 10.6ms)
10631
+
10632
+
10633
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10634
+
10635
+
10636
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10637
+
10638
+
10639
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10640
+
10641
+
10642
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10643
+
10644
+
10645
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:14:24 +0100
10646
+
10647
+
10648
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10649
+ Processing by OrdersController#show as HTML
10650
+ Parameters: {"id"=>"11"}
10651
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10652
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10653
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'ZqFU2Hy6NpqpsehHdQ7x' ORDER BY "opay_payments"."id" ASC LIMIT 1
10654
+  (0.1ms) begin transaction
10655
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "ZqFU2Hy6NpqpsehHdQ7x"], ["updated_at", Wed, 26 Mar 2014 11:16:48 UTC +00:00]]
10656
+  (0.8ms) commit transaction
10657
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Gbdf2JFhtr3qxYAi4X2o' ORDER BY "opay_payments"."id" ASC LIMIT 1
10658
+  (0.0ms) begin transaction
10659
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "Gbdf2JFhtr3qxYAi4X2o"], ["updated_at", Wed, 26 Mar 2014 11:16:48 UTC +00:00]]
10660
+  (0.8ms) commit transaction
10661
+ Rendered orders/show.html.erb within layouts/application (10.6ms)
10662
+ Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 3.1ms)
10663
+
10664
+
10665
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10666
+
10667
+
10668
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10669
+
10670
+
10671
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10672
+
10673
+
10674
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10675
+
10676
+
10677
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:16:48 +0100
10678
+
10679
+
10680
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:17:55 +0100
10681
+ Processing by OrdersController#show as HTML
10682
+ Parameters: {"id"=>"11"}
10683
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10684
+ 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", 11], ["payable_type", "Order"]]
10685
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'D98JfrbfWAXa2YX3WaTE' ORDER BY "opay_payments"."id" ASC LIMIT 1
10686
+  (0.1ms) begin transaction
10687
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "D98JfrbfWAXa2YX3WaTE"], ["updated_at", Wed, 26 Mar 2014 11:17:55 UTC +00:00]]
10688
+  (3.0ms) commit transaction
10689
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'abw7meHV9zyohnj7nouG' ORDER BY "opay_payments"."id" ASC LIMIT 1
10690
+  (0.1ms) begin transaction
10691
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "abw7meHV9zyohnj7nouG"], ["updated_at", Wed, 26 Mar 2014 11:17:55 UTC +00:00]]
10692
+  (0.7ms) commit transaction
10693
+ Rendered orders/show.html.erb within layouts/application (77.1ms)
10694
+ Completed 200 OK in 156ms (Views: 131.1ms | ActiveRecord: 12.3ms)
10695
+
10696
+
10697
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:17:56 +0100
10698
+
10699
+
10700
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:17:56 +0100
10701
+
10702
+
10703
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:17:56 +0100
10704
+
10705
+
10706
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:17:56 +0100
10707
+
10708
+
10709
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:17:56 +0100
10710
+
10711
+
10712
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 12:17:57 +0100
10713
+ Processing by Opay::PaypalController#new as HTML
10714
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "create_url"=>"http://localhost:3000/opay/paypal/new", "cancel_url"=>"http://localhost:3000/cancel", "session_id"=>"abw7meHV9zyohnj7nouG", "amount"=>"123", "x"=>"78", "y"=>"8"}
10715
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'abw7meHV9zyohnj7nouG' ORDER BY "opay_payments"."id" ASC LIMIT 1
10716
+  (0.1ms) begin transaction
10717
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "EC-9HU13651EU692490R"], ["updated_at", Wed, 26 Mar 2014 11:17:59 UTC +00:00]]
10718
+  (2.8ms) commit transaction
10719
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-9HU13651EU692490R
10720
+ Completed 302 Found in 1674ms (ActiveRecord: 3.5ms)
10721
+
10722
+
10723
+ Started GET "/opay/paypal/new?token=EC-9HU13651EU692490R&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:18:23 +0100
10724
+
10725
+ ActionController::RoutingError (No route matches [GET] "/opay/paypal/new"):
10726
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10727
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10728
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
10729
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
10730
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10731
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
10732
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
10733
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
10734
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10735
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10736
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10737
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
10738
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10739
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
10740
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10741
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
10742
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
10743
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10744
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10745
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10746
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
10747
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
10748
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
10749
+
10750
+
10751
+ 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.2ms)
10752
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
10753
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
10754
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.6ms)
10755
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (34.4ms)
10756
+
10757
+
10758
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10759
+ Processing by OrdersController#index as HTML
10760
+ Order Load (1.7ms) SELECT "orders".* FROM "orders"
10761
+ Opay::Payment Load (3.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
10762
+ 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"]]
10763
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
10764
+ 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"]]
10765
+ 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", 5], ["payable_type", "Order"]]
10766
+ 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", 6], ["payable_type", "Order"]]
10767
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
10768
+ 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", 8], ["payable_type", "Order"]]
10769
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
10770
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
10771
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10772
+ Rendered orders/index.html.erb within layouts/application (53.2ms)
10773
+ Completed 200 OK in 138ms (Views: 126.0ms | ActiveRecord: 7.3ms)
10774
+
10775
+
10776
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10777
+
10778
+
10779
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10780
+
10781
+
10782
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10783
+
10784
+
10785
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10786
+
10787
+
10788
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:01 +0100
10789
+
10790
+
10791
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10792
+ Processing by OrdersController#show as HTML
10793
+ Parameters: {"id"=>"11"}
10794
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10795
+ 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", 11], ["payable_type", "Order"]]
10796
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'aVUmptmc325gzoKuPMNF' ORDER BY "opay_payments"."id" ASC LIMIT 1
10797
+  (0.1ms) begin transaction
10798
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "aVUmptmc325gzoKuPMNF"], ["updated_at", Wed, 26 Mar 2014 11:20:04 UTC +00:00]]
10799
+  (2.8ms) commit transaction
10800
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'FGpsozmMc8FbP9c2ARz5' ORDER BY "opay_payments"."id" ASC LIMIT 1
10801
+  (0.1ms) begin transaction
10802
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "FGpsozmMc8FbP9c2ARz5"], ["updated_at", Wed, 26 Mar 2014 11:20:04 UTC +00:00]]
10803
+  (0.9ms) commit transaction
10804
+ Rendered orders/show.html.erb within layouts/application (23.5ms)
10805
+ Completed 200 OK in 29ms (Views: 21.3ms | ActiveRecord: 6.3ms)
10806
+
10807
+
10808
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10809
+
10810
+
10811
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10812
+
10813
+
10814
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10815
+
10816
+
10817
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10818
+
10819
+
10820
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:20:04 +0100
10821
+
10822
+
10823
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 12:20:05 +0100
10824
+ Processing by Opay::PaypalController#new as HTML
10825
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "create_url"=>"http://localhost:3000/opay/paypal/new", "cancel_url"=>"http://localhost:3000/cancel", "session_id"=>"FGpsozmMc8FbP9c2ARz5", "amount"=>"123", "x"=>"57", "y"=>"16"}
10826
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'FGpsozmMc8FbP9c2ARz5' ORDER BY "opay_payments"."id" ASC LIMIT 1
10827
+  (0.1ms) begin transaction
10828
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "EC-94M36163V0215214P"], ["updated_at", Wed, 26 Mar 2014 11:20:08 UTC +00:00]]
10829
+  (3.1ms) commit transaction
10830
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-94M36163V0215214P
10831
+ Completed 302 Found in 2484ms (ActiveRecord: 3.8ms)
10832
+
10833
+
10834
+ Started GET "/opay/paypal/new?token=EC-94M36163V0215214P&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:20:24 +0100
10835
+
10836
+ ActionController::RoutingError (No route matches [GET] "/opay/paypal/new"):
10837
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10838
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10839
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
10840
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
10841
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10842
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
10843
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
10844
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
10845
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10846
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10847
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10848
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
10849
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10850
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
10851
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10852
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
10853
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
10854
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10855
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10856
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10857
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
10858
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
10859
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
10860
+
10861
+
10862
+ 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.2ms)
10863
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
10864
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
10865
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.7ms)
10866
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (31.4ms)
10867
+
10868
+
10869
+ Started GET "/opay/paypal/new?token=EC-94M36163V0215214P&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:21:10 +0100
10870
+
10871
+ ActionController::RoutingError (No route matches [GET] "/opay/paypal/new"):
10872
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10873
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
10874
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
10875
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
10876
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
10877
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
10878
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
10879
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
10880
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
10881
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
10882
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
10883
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
10884
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10885
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
10886
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
10887
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
10888
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
10889
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
10890
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
10891
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
10892
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
10893
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
10894
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
10895
+
10896
+
10897
+ 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.1ms)
10898
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.6ms)
10899
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
10900
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.0ms)
10901
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (35.1ms)
10902
+
10903
+
10904
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:21:12 +0100
10905
+ Processing by OrdersController#index as HTML
10906
+ Order Load (1.4ms) SELECT "orders".* FROM "orders"
10907
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
10908
+ 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"]]
10909
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
10910
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
10911
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
10912
+ 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", 6], ["payable_type", "Order"]]
10913
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
10914
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 8], ["payable_type", "Order"]]
10915
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
10916
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
10917
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10918
+ Rendered orders/index.html.erb within layouts/application (84.0ms)
10919
+ Completed 200 OK in 162ms (Views: 152.4ms | ActiveRecord: 5.2ms)
10920
+
10921
+
10922
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:21:13 +0100
10923
+
10924
+
10925
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:21:13 +0100
10926
+
10927
+
10928
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:21:13 +0100
10929
+
10930
+
10931
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:21:13 +0100
10932
+
10933
+
10934
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:21:13 +0100
10935
+
10936
+
10937
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:21:14 +0100
10938
+ Processing by OrdersController#show as HTML
10939
+ Parameters: {"id"=>"11"}
10940
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10941
+ 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", 11], ["payable_type", "Order"]]
10942
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'DDriemy4YsLezjgPoeAf' ORDER BY "opay_payments"."id" ASC LIMIT 1
10943
+  (0.1ms) begin transaction
10944
+ SQL (1.5ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "DDriemy4YsLezjgPoeAf"], ["updated_at", Wed, 26 Mar 2014 11:21:14 UTC +00:00]]
10945
+  (2.4ms) commit transaction
10946
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'w5eJSP27N7YY8yboc6Tb' ORDER BY "opay_payments"."id" ASC LIMIT 1
10947
+  (0.1ms) begin transaction
10948
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "w5eJSP27N7YY8yboc6Tb"], ["updated_at", Wed, 26 Mar 2014 11:21:14 UTC +00:00]]
10949
+  (0.7ms) commit transaction
10950
+ Rendered orders/show.html.erb within layouts/application (27.4ms)
10951
+ Completed 500 Internal Server Error in 31ms
10952
+
10953
+ ActionView::Template::Error (undefined method `paypal_create_payment_url' for #<ActionDispatch::Routing::RoutesProxy:0x007fc6fc6fe198>):
10954
+ 23: <% end -%>
10955
+ 24:
10956
+ 25: <%= paypal_form_for(@order) do |f| %>
10957
+ 26: <%= f.paypal_payment_info desc: 'Test payment', client_ip: '127.0.0.1' %>
10958
+ 27: <%= f.paypal_submit_tag %>
10959
+ 28: <% end -%>
10960
+ 29:
10961
+ app/views/orders/show.html.erb:26:in `block in _app_views_orders_show_html_erb__121614291019874798_70246307471620'
10962
+ app/views/orders/show.html.erb:25:in `_app_views_orders_show_html_erb__121614291019874798_70246307471620'
10963
+
10964
+
10965
+ 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.2ms)
10966
+ 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.0ms)
10967
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.0ms)
10968
+
10969
+
10970
+ Started GET "/orders/11" for 127.0.0.1 at 2014-03-26 12:22:53 +0100
10971
+ Processing by OrdersController#show as HTML
10972
+ Parameters: {"id"=>"11"}
10973
+ Order Load (0.4ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "11"]]
10974
+ Opay::Payment Load (2.0ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
10975
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'ocNybxianBzwy6iCTTCy' ORDER BY "opay_payments"."id" ASC LIMIT 1
10976
+  (0.1ms) begin transaction
10977
+ SQL (1.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "ocNybxianBzwy6iCTTCy"], ["updated_at", Wed, 26 Mar 2014 11:22:54 UTC +00:00]]
10978
+  (3.0ms) commit transaction
10979
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'm87anX6m4wxMsdCi54rp' ORDER BY "opay_payments"."id" ASC LIMIT 1
10980
+  (0.1ms) begin transaction
10981
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "m87anX6m4wxMsdCi54rp"], ["updated_at", Wed, 26 Mar 2014 11:22:54 UTC +00:00]]
10982
+  (1.0ms) commit transaction
10983
+ Rendered orders/show.html.erb within layouts/application (105.4ms)
10984
+ Completed 200 OK in 148ms (Views: 122.0ms | ActiveRecord: 10.7ms)
10985
+
10986
+
10987
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:22:54 +0100
10988
+
10989
+
10990
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:22:54 +0100
10991
+
10992
+
10993
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:22:54 +0100
10994
+
10995
+
10996
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:22:54 +0100
10997
+
10998
+
10999
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:22:54 +0100
11000
+
11001
+
11002
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 12:22:56 +0100
11003
+ Processing by Opay::PaypalController#new as HTML
11004
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "confirm_url"=>"http://localhost:3000/opay/paypal/confirm", "cancel_url"=>"http://localhost:3000/cancel", "session_id"=>"m87anX6m4wxMsdCi54rp", "amount"=>"123", "x"=>"72", "y"=>"15"}
11005
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'm87anX6m4wxMsdCi54rp' ORDER BY "opay_payments"."id" ASC LIMIT 1
11006
+  (0.1ms) begin transaction
11007
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["session_id", "EC-0JB44150003482301"], ["updated_at", Wed, 26 Mar 2014 11:22:58 UTC +00:00]]
11008
+  (2.3ms) commit transaction
11009
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-0JB44150003482301
11010
+ Completed 302 Found in 2479ms (ActiveRecord: 3.0ms)
11011
+
11012
+
11013
+ Started GET "/opay/paypal/confirm?token=EC-0JB44150003482301&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:23:15 +0100
11014
+
11015
+ AbstractController::ActionNotFound (The action 'confirm' could not be found for Opay::PaypalController):
11016
+ actionpack (4.0.4) lib/abstract_controller/base.rb:131:in `process'
11017
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
11018
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
11019
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11020
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
11021
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
11022
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
11023
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
11024
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11025
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11026
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11027
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11028
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11029
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
11030
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11031
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11032
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11033
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11034
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11035
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11036
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11037
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11038
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
11039
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11040
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11041
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
11042
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
11043
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
11044
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11045
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1093271326943730298__call__callbacks'
11046
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
11047
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11048
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
11049
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11050
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11051
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11052
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
11053
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
11054
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11055
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
11056
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
11057
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
11058
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11059
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11060
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11061
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
11062
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11063
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
11064
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11065
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11066
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
11067
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11068
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11069
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11070
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
11071
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
11072
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
11073
+
11074
+
11075
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.5ms)
11076
+
11077
+
11078
+ Started GET "/opay/paypal/confirm?token=EC-0JB44150003482301&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:23:25 +0100
11079
+
11080
+ AbstractController::ActionNotFound (The action 'confirm' could not be found for Opay::PaypalController):
11081
+ actionpack (4.0.4) lib/abstract_controller/base.rb:131:in `process'
11082
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
11083
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
11084
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11085
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
11086
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
11087
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
11088
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
11089
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11090
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11091
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11092
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11093
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11094
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
11095
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11096
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11097
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11098
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11099
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11100
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11101
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11102
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11103
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
11104
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11105
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11106
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
11107
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
11108
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
11109
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11110
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1093271326943730298__call__callbacks'
11111
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
11112
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11113
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
11114
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11115
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11116
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11117
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
11118
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
11119
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11120
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
11121
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
11122
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
11123
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11124
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11125
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11126
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
11127
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11128
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
11129
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11130
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11131
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
11132
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11133
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11134
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11135
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
11136
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
11137
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
11138
+
11139
+
11140
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.6ms)
11141
+
11142
+
11143
+ Started GET "/opay/paypal/confirm?token=EC-0JB44150003482301&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:23:26 +0100
11144
+
11145
+ AbstractController::ActionNotFound (The action 'confirm' could not be found for Opay::PaypalController):
11146
+ actionpack (4.0.4) lib/abstract_controller/base.rb:131:in `process'
11147
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
11148
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
11149
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
11150
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
11151
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
11152
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
11153
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
11154
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11155
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11156
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11157
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11158
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11159
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
11160
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
11161
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
11162
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
11163
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
11164
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
11165
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
11166
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
11167
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
11168
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
11169
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
11170
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
11171
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
11172
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
11173
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
11174
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
11175
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__1093271326943730298__call__callbacks'
11176
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
11177
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
11178
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
11179
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
11180
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
11181
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
11182
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
11183
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
11184
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
11185
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
11186
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
11187
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
11188
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
11189
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
11190
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
11191
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
11192
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11193
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
11194
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
11195
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
11196
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
11197
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
11198
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
11199
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
11200
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
11201
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
11202
+ /Users/olownia/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
11203
+
11204
+
11205
+ Rendered /Users/olownia/.rvm/gems/ruby-2.0.0-p353@opay/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.4ms)
11206
+
11207
+
11208
+ Started GET "/opay/paypal/confirm?token=EC-0JB44150003482301&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:23:35 +0100
11209
+ Processing by Opay::PaypalController#confirm as HTML
11210
+ Parameters: {"token"=>"EC-0JB44150003482301", "PayerID"=>"7RJPMT48ZEAZ8"}
11211
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'EC-0JB44150003482301' ORDER BY "opay_payments"."id" ASC LIMIT 1
11212
+ Order Load (2.0ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 11]]
11213
+ 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", 11], ["payable_type", "Order"]]
11214
+  (0.1ms) begin transaction
11215
+ SQL (1.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 11 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:23:39 UTC +00:00]]
11216
+  (2.1ms) commit transaction
11217
+  (0.1ms) begin transaction
11218
+ SQL (0.4ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 11 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:23:39 UTC +00:00]]
11219
+  (0.9ms) commit transaction
11220
+ Redirected to http://localhost:3000/
11221
+ Completed 302 Found in 4107ms (ActiveRecord: 9.0ms)
11222
+
11223
+
11224
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:23:39 +0100
11225
+ Processing by OrdersController#index as HTML
11226
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
11227
+ Opay::Payment Load (0.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"]]
11228
+ Opay::Payment Load (0.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"]]
11229
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
11230
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
11231
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
11232
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
11233
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
11234
+ 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", 8], ["payable_type", "Order"]]
11235
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
11236
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
11237
+ 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", 11], ["payable_type", "Order"]]
11238
+ Rendered orders/index.html.erb within layouts/application (16.1ms)
11239
+ Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 1.7ms)
11240
+
11241
+
11242
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:39 +0100
11243
+
11244
+
11245
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:39 +0100
11246
+
11247
+
11248
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:39 +0100
11249
+
11250
+
11251
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:40 +0100
11252
+
11253
+
11254
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:40 +0100
11255
+
11256
+
11257
+ Started GET "/orders/new" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11258
+ Processing by OrdersController#new as HTML
11259
+ Rendered orders/_form.html.erb (9.8ms)
11260
+ Rendered orders/new.html.erb within layouts/application (13.4ms)
11261
+ Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.0ms)
11262
+
11263
+
11264
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11265
+
11266
+
11267
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11268
+
11269
+
11270
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11271
+
11272
+
11273
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11274
+
11275
+
11276
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:43 +0100
11277
+
11278
+
11279
+ Started POST "/orders" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11280
+ Processing by OrdersController#create as HTML
11281
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "order"=>{"name"=>"odfssfd", "amount"=>"3455"}, "commit"=>"Create Order"}
11282
+  (0.1ms) begin transaction
11283
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", "3455"], ["created_at", Wed, 26 Mar 2014 11:23:56 UTC +00:00], ["name", "odfssfd"], ["updated_at", Wed, 26 Mar 2014 11:23:56 UTC +00:00]]
11284
+  (0.8ms) commit transaction
11285
+ Redirected to http://localhost:3000/orders/12
11286
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
11287
+
11288
+
11289
+ Started GET "/orders/12" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11290
+ Processing by OrdersController#show as HTML
11291
+ Parameters: {"id"=>"12"}
11292
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "12"]]
11293
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 12], ["payable_type", "Order"]]
11294
+  (0.1ms) begin transaction
11295
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'DWm6bxpFxTRkJ8LimdsF' ORDER BY "opay_payments"."id" ASC LIMIT 1
11296
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 3455], ["created_at", Wed, 26 Mar 2014 11:23:56 UTC +00:00], ["payable_id", 12], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "DWm6bxpFxTRkJ8LimdsF"], ["updated_at", Wed, 26 Mar 2014 11:23:56 UTC +00:00]]
11297
+  (0.7ms) commit transaction
11298
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'KhUazrzPDSPeQ9LnUV4t' ORDER BY "opay_payments"."id" ASC LIMIT 1
11299
+  (0.1ms) begin transaction
11300
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 12 [["session_id", "KhUazrzPDSPeQ9LnUV4t"], ["updated_at", Wed, 26 Mar 2014 11:23:56 UTC +00:00]]
11301
+  (0.7ms) commit transaction
11302
+ Rendered orders/show.html.erb within layouts/application (16.8ms)
11303
+ Completed 200 OK in 22ms (Views: 17.9ms | ActiveRecord: 3.1ms)
11304
+
11305
+
11306
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11307
+
11308
+
11309
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11310
+
11311
+
11312
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11313
+
11314
+
11315
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11316
+
11317
+
11318
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:23:56 +0100
11319
+
11320
+
11321
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 12:23:57 +0100
11322
+ Processing by Opay::PaypalController#new as HTML
11323
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "confirm_url"=>"http://localhost:3000/opay/paypal/confirm", "cancel_url"=>"http://localhost:3000/cancel", "session_id"=>"KhUazrzPDSPeQ9LnUV4t", "amount"=>"3455", "x"=>"65", "y"=>"12"}
11324
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'KhUazrzPDSPeQ9LnUV4t' ORDER BY "opay_payments"."id" ASC LIMIT 1
11325
+  (0.1ms) begin transaction
11326
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 12 [["session_id", "EC-9VJ616047K511440U"], ["updated_at", Wed, 26 Mar 2014 11:23:58 UTC +00:00]]
11327
+  (2.1ms) commit transaction
11328
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-9VJ616047K511440U
11329
+ Completed 302 Found in 1234ms (ActiveRecord: 2.8ms)
11330
+
11331
+
11332
+ Started GET "/opay/paypal/confirm?token=EC-9VJ616047K511440U&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:24:25 +0100
11333
+ Processing by Opay::PaypalController#confirm as HTML
11334
+ Parameters: {"token"=>"EC-9VJ616047K511440U", "PayerID"=>"7RJPMT48ZEAZ8"}
11335
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'EC-9VJ616047K511440U' ORDER BY "opay_payments"."id" ASC LIMIT 1
11336
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 12]]
11337
+ 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", 12], ["payable_type", "Order"]]
11338
+  (0.1ms) begin transaction
11339
+ SQL (0.4ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 12 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:24:29 UTC +00:00]]
11340
+  (2.8ms) commit transaction
11341
+  (0.1ms) begin transaction
11342
+ SQL (0.4ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 12 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:24:29 UTC +00:00]]
11343
+  (0.9ms) commit transaction
11344
+ Redirected to http://localhost:3000/
11345
+ Completed 302 Found in 3331ms (ActiveRecord: 5.3ms)
11346
+
11347
+
11348
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11349
+ Processing by OrdersController#index as HTML
11350
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
11351
+ Opay::Payment Load (0.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"]]
11352
+ Opay::Payment Load (0.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"]]
11353
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
11354
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
11355
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
11356
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
11357
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
11358
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 8], ["payable_type", "Order"]]
11359
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
11360
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
11361
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
11362
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 12], ["payable_type", "Order"]]
11363
+ Rendered orders/index.html.erb within layouts/application (11.8ms)
11364
+ Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 1.2ms)
11365
+
11366
+
11367
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11368
+
11369
+
11370
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11371
+
11372
+
11373
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11374
+
11375
+
11376
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11377
+
11378
+
11379
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:29 +0100
11380
+
11381
+
11382
+ Started GET "/orders/new" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11383
+ Processing by OrdersController#new as HTML
11384
+ Rendered orders/_form.html.erb (3.2ms)
11385
+ Rendered orders/new.html.erb within layouts/application (4.2ms)
11386
+ Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
11387
+
11388
+
11389
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11390
+
11391
+
11392
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11393
+
11394
+
11395
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11396
+
11397
+
11398
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11399
+
11400
+
11401
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:32 +0100
11402
+
11403
+
11404
+ Started POST "/orders" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11405
+ Processing by OrdersController#create as HTML
11406
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "order"=>{"name"=>"dfsfsd", "amount"=>"100"}, "commit"=>"Create Order"}
11407
+  (0.1ms) begin transaction
11408
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", "100"], ["created_at", Wed, 26 Mar 2014 11:24:38 UTC +00:00], ["name", "dfsfsd"], ["updated_at", Wed, 26 Mar 2014 11:24:38 UTC +00:00]]
11409
+  (1.0ms) commit transaction
11410
+ Redirected to http://localhost:3000/orders/13
11411
+ Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
11412
+
11413
+
11414
+ Started GET "/orders/13" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11415
+ Processing by OrdersController#show as HTML
11416
+ Parameters: {"id"=>"13"}
11417
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "13"]]
11418
+ 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", 13], ["payable_type", "Order"]]
11419
+  (0.1ms) begin transaction
11420
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'MVyzeUJpHaNvvxYe7pSd' ORDER BY "opay_payments"."id" ASC LIMIT 1
11421
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 100], ["created_at", Wed, 26 Mar 2014 11:24:38 UTC +00:00], ["payable_id", 13], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "MVyzeUJpHaNvvxYe7pSd"], ["updated_at", Wed, 26 Mar 2014 11:24:38 UTC +00:00]]
11422
+  (1.0ms) commit transaction
11423
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'gvx3aarxVgSWumbBnY4C' ORDER BY "opay_payments"."id" ASC LIMIT 1
11424
+  (0.0ms) begin transaction
11425
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 13 [["session_id", "gvx3aarxVgSWumbBnY4C"], ["updated_at", Wed, 26 Mar 2014 11:24:38 UTC +00:00]]
11426
+  (0.6ms) commit transaction
11427
+ Rendered orders/show.html.erb within layouts/application (12.6ms)
11428
+ Completed 200 OK in 19ms (Views: 14.0ms | ActiveRecord: 3.2ms)
11429
+
11430
+
11431
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11432
+
11433
+
11434
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11435
+
11436
+
11437
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11438
+
11439
+
11440
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11441
+
11442
+
11443
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:24:38 +0100
11444
+
11445
+
11446
+ Started PATCH "/opay/paypal/new" for 127.0.0.1 at 2014-03-26 12:24:39 +0100
11447
+ Processing by Opay::PaypalController#new as HTML
11448
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxPfeVzneXNj+2bpRUb7hS67YTqTM6/hZBnUjyKVxes=", "desc"=>"Test payment", "client_ip"=>"127.0.0.1", "confirm_url"=>"http://localhost:3000/opay/paypal/confirm", "cancel_url"=>"http://localhost:3000/cancel", "session_id"=>"gvx3aarxVgSWumbBnY4C", "amount"=>"100", "x"=>"54", "y"=>"14"}
11449
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'gvx3aarxVgSWumbBnY4C' ORDER BY "opay_payments"."id" ASC LIMIT 1
11450
+  (0.1ms) begin transaction
11451
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 13 [["session_id", "EC-1UJ90758EA102210E"], ["updated_at", Wed, 26 Mar 2014 11:24:40 UTC +00:00]]
11452
+  (2.2ms) commit transaction
11453
+ Redirected to https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1UJ90758EA102210E
11454
+ Completed 302 Found in 1056ms (ActiveRecord: 2.8ms)
11455
+
11456
+
11457
+ Started GET "/opay/paypal/confirm?token=EC-1UJ90758EA102210E&PayerID=7RJPMT48ZEAZ8" for 127.0.0.1 at 2014-03-26 12:25:00 +0100
11458
+ Processing by Opay::PaypalController#confirm as HTML
11459
+ Parameters: {"token"=>"EC-1UJ90758EA102210E", "PayerID"=>"7RJPMT48ZEAZ8"}
11460
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'EC-1UJ90758EA102210E' ORDER BY "opay_payments"."id" ASC LIMIT 1
11461
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 13]]
11462
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 13], ["payable_type", "Order"]]
11463
+  (0.1ms) begin transaction
11464
+ SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 13 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:25:03 UTC +00:00]]
11465
+  (3.0ms) commit transaction
11466
+  (0.1ms) begin transaction
11467
+ SQL (0.3ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 13 [["finished", true], ["updated_at", Wed, 26 Mar 2014 11:25:03 UTC +00:00]]
11468
+  (0.6ms) commit transaction
11469
+ Redirected to http://localhost:3000/
11470
+ Completed 302 Found in 3065ms (ActiveRecord: 4.9ms)
11471
+
11472
+
11473
+ Started GET "/" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11474
+ Processing by OrdersController#index as HTML
11475
+ Order Load (0.2ms) SELECT "orders".* FROM "orders"
11476
+ Opay::Payment Load (0.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"]]
11477
+ Opay::Payment Load (0.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"]]
11478
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 3], ["payable_type", "Order"]]
11479
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 4], ["payable_type", "Order"]]
11480
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 5], ["payable_type", "Order"]]
11481
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 6], ["payable_type", "Order"]]
11482
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 7], ["payable_type", "Order"]]
11483
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 8], ["payable_type", "Order"]]
11484
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 9], ["payable_type", "Order"]]
11485
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 10], ["payable_type", "Order"]]
11486
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 11], ["payable_type", "Order"]]
11487
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 12], ["payable_type", "Order"]]
11488
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 13], ["payable_type", "Order"]]
11489
+ Rendered orders/index.html.erb within layouts/application (13.9ms)
11490
+ Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 1.4ms)
11491
+
11492
+
11493
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11494
+
11495
+
11496
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11497
+
11498
+
11499
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11500
+
11501
+
11502
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11503
+
11504
+
11505
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-03-26 12:25:03 +0100
11506
+  (1.2ms) CREATE TABLE "opay_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_id" integer, "payable_type" varchar(255), "session_id" varchar(255) NOT NULL, "provider" varchar(255) NOT NULL, "amount" integer NOT NULL, "finished" boolean DEFAULT 'f' NOT NULL, "status" varchar(255), "created_at" datetime, "updated_at" datetime) 
11507
+  (1.2ms) CREATE INDEX "index_opay_payments_on_payable_id_and_payable_type" ON "opay_payments" ("payable_id", "payable_type")
11508
+  (1.2ms) CREATE UNIQUE INDEX "index_opay_payments_on_session_id" ON "opay_payments" ("session_id")
11509
+  (1.2ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "amount" varchar(255), "finished" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)
11510
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11511
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11512
+  (0.1ms) SELECT version FROM "schema_migrations"
11513
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130326152550')
11514
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11515
+  (3.5ms) CREATE TABLE "opay_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_id" integer, "payable_type" varchar(255), "session_id" varchar(255) NOT NULL, "provider" varchar(255) NOT NULL, "amount" integer NOT NULL, "finished" boolean DEFAULT 'f' NOT NULL, "status" varchar(255), "created_at" datetime, "updated_at" datetime) 
11516
+  (1.1ms) CREATE INDEX "index_opay_payments_on_payable_id_and_payable_type" ON "opay_payments" ("payable_id", "payable_type")
11517
+  (1.1ms) CREATE UNIQUE INDEX "index_opay_payments_on_session_id" ON "opay_payments" ("session_id")
11518
+  (1.0ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "amount" varchar(255), "finished" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)
11519
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11520
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11521
+  (0.1ms) SELECT version FROM "schema_migrations"
11522
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130326152550')
11523
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"