opay 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d176e0d6b89beb52d34fb5eedf06726607791e44
4
- data.tar.gz: fca4f9121ec81d39a7f6e98fb8f1d1caabb17112
3
+ metadata.gz: 7347fca7025b1ecf075227c669279403b0ac4a0d
4
+ data.tar.gz: ade474a950db4e792bbcf399c6041fef210634c6
5
5
  SHA512:
6
- metadata.gz: a60dfde636453c6573848d82592a0a30bafe018bbc8ccc9eedb832f9fa6b72505c6593b3da0676fde1ea316edf604bdfddd818f085db563f99051f6a3ee762d8
7
- data.tar.gz: 973d6f4312ff8743103486f99ce7cef80914425a71ba8c8bcf6683f8aa83f55bd94b4c0d11d37358b5d3c36d49e5884db69d4f2e7651995525c0d8087a754e73
6
+ metadata.gz: 4cdb31a5c8c52ccd1726c7b2ffb18c87c708c0b22897225203f7e042439ad884832ad88bb6c65952aa11b833e9551dbaa15d9ad36a16cd74271744731813ae04
7
+ data.tar.gz: 7ba3840f2b8a6725a6b4c049ab8275f4deb203ed2ad550ba4e32e491bffe1b0b493cf5add62360d6598ab6b9986276af4eaee51e918ab8f4697c5355d353701b
@@ -1,3 +1,5 @@
1
+ require 'activemerchant'
2
+
1
3
  module Opay
2
4
  module Providers
3
5
 
@@ -52,9 +54,9 @@ module Opay
52
54
  def self.geteway
53
55
  # ActiveMerchant::Billing::BogusGateway.new in test
54
56
  @geteway ||= begin
55
- ActiveMerchant::Billing::Base.mode = :test if Opay.config.test_mode == true
57
+ ::ActiveMerchant::Billing::Base.mode = :test if Opay.config.test_mode == true
56
58
 
57
- geteway = ActiveMerchant::Billing::PaypalExpressGateway.new({
59
+ geteway = ::ActiveMerchant::Billing::PaypalExpressGateway.new({
58
60
  login: Opay.config.paypal_login,
59
61
  password: Opay.config.paypal_password,
60
62
  signature: Opay.config.paypal_signature
data/lib/opay/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Opay
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
Binary file
@@ -7026,3 +7026,729 @@ Migrating to CreateOrders (20130326152550)
7026
7026
   (0.9ms) DELETE FROM "orders";
7027
7027
   (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7028
7028
   (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7029
+  (3.0ms) DELETE FROM "opay_payments";
7030
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7031
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7032
+  (1.0ms) DELETE FROM "orders";
7033
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7034
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7035
+  (1.1ms) DELETE FROM "opay_payments";
7036
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7037
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7038
+  (1.2ms) DELETE FROM "orders";
7039
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7040
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7041
+  (0.1ms) begin transaction
7042
+ SQL (6.2ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7043
+  (0.7ms) commit transaction
7044
+ 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", 1], ["payable_type", "Order"]]
7045
+  (0.1ms) begin transaction
7046
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '3mAzyA6Acpxp5P6oJgPZ' ORDER BY "opay_payments"."id" ASC LIMIT 1
7047
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "3mAzyA6Acpxp5P6oJgPZ"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7048
+  (0.7ms) commit transaction
7049
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '3mAzyA6Acpxp5P6oJgPZ' ORDER BY "opay_payments"."id" ASC LIMIT 1
7050
+  (1.0ms) DELETE FROM "opay_payments";
7051
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7052
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7053
+  (0.8ms) DELETE FROM "orders";
7054
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7055
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7056
+  (0.1ms) begin transaction
7057
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7058
+  (0.8ms) commit transaction
7059
+ 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"]]
7060
+  (0.1ms) begin transaction
7061
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'qm7UVjJtsZBCqzUyEhUx' ORDER BY "opay_payments"."id" ASC LIMIT 1
7062
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "qm7UVjJtsZBCqzUyEhUx"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7063
+  (0.9ms) commit transaction
7064
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'WTsvPWqCB99qJMPNBqxh' ORDER BY "opay_payments"."id" ASC LIMIT 1
7065
+  (0.1ms) begin transaction
7066
+ SQL (1.0ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "WTsvPWqCB99qJMPNBqxh"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7067
+  (0.8ms) commit transaction
7068
+  (1.1ms) DELETE FROM "opay_payments";
7069
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7070
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7071
+  (0.7ms) DELETE FROM "orders";
7072
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7073
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7074
+  (0.1ms) begin transaction
7075
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7076
+  (0.7ms) commit transaction
7077
+  (0.1ms) begin transaction
7078
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'GzKpu7fuisry6pxrQhMC' ORDER BY "opay_payments"."id" ASC LIMIT 1
7079
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "GzKpu7fuisry6pxrQhMC"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7080
+  (0.8ms) commit transaction
7081
+  (0.8ms) DELETE FROM "opay_payments";
7082
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7083
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7084
+  (0.7ms) DELETE FROM "orders";
7085
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7086
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7087
+  (1.2ms) DELETE FROM "opay_payments";
7088
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7089
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7090
+  (0.8ms) DELETE FROM "orders";
7091
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7092
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7093
+  (1.0ms) DELETE FROM "opay_payments";
7094
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7096
+  (0.7ms) DELETE FROM "orders";
7097
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7098
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7099
+  (0.1ms) begin transaction
7100
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7101
+  (0.6ms) commit transaction
7102
+ 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"]]
7103
+  (0.1ms) begin transaction
7104
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '1mNq1sHqd9EiNrsgMQSa' ORDER BY "opay_payments"."id" ASC LIMIT 1
7105
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "1mNq1sHqd9EiNrsgMQSa"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7106
+  (0.8ms) commit transaction
7107
+  (1.3ms) DELETE FROM "opay_payments";
7108
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7109
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7110
+  (0.8ms) DELETE FROM "orders";
7111
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7112
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7113
+  (0.1ms) begin transaction
7114
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7115
+  (0.7ms) commit transaction
7116
+ 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"]]
7117
+  (0.1ms) begin transaction
7118
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '98zEuBXiSCQm8auKbAFy' ORDER BY "opay_payments"."id" ASC LIMIT 1
7119
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "98zEuBXiSCQm8auKbAFy"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7120
+  (0.9ms) commit transaction
7121
+  (1.0ms) DELETE FROM "opay_payments";
7122
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7123
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7124
+  (0.8ms) DELETE FROM "orders";
7125
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7126
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7127
+  (0.1ms) begin transaction
7128
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7129
+  (0.9ms) commit transaction
7130
+ 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"]]
7131
+  (0.0ms) begin transaction
7132
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Mz7SgC98zuLjSy5SkYEN' ORDER BY "opay_payments"."id" ASC LIMIT 1
7133
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "Mz7SgC98zuLjSy5SkYEN"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7134
+  (0.7ms) commit transaction
7135
+  (1.1ms) DELETE FROM "opay_payments";
7136
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7137
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7138
+  (0.7ms) DELETE FROM "orders";
7139
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7140
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7141
+  (0.1ms) begin transaction
7142
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7143
+  (0.7ms) commit transaction
7144
+ 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"]]
7145
+  (0.0ms) begin transaction
7146
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Ysrs7YMZuzEnK26cV6X5' ORDER BY "opay_payments"."id" ASC LIMIT 1
7147
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "Ysrs7YMZuzEnK26cV6X5"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7148
+  (0.8ms) commit transaction
7149
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Ysrs7YMZuzEnK26cV6X5' ORDER BY "opay_payments"."id" ASC LIMIT 1
7150
+ Order Load (0.4ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7151
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7152
+  (0.1ms) begin transaction
7153
+ SQL (0.4ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7154
+  (0.8ms) commit transaction
7155
+  (0.0ms) begin transaction
7156
+ SQL (0.5ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7157
+  (0.7ms) commit transaction
7158
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7159
+  (0.9ms) DELETE FROM "opay_payments";
7160
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7161
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7162
+  (0.8ms) DELETE FROM "orders";
7163
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7164
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
7165
+  (0.1ms) begin transaction
7166
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7167
+  (0.8ms) commit transaction
7168
+ 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"]]
7169
+  (0.0ms) begin transaction
7170
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'VFwNDryCxvLVXy5Z2txN' ORDER BY "opay_payments"."id" ASC LIMIT 1
7171
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "VFwNDryCxvLVXy5Z2txN"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7172
+  (0.9ms) commit transaction
7173
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'VFwNDryCxvLVXy5Z2txN' ORDER BY "opay_payments"."id" ASC LIMIT 1
7174
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7175
+ 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"]]
7176
+  (0.1ms) begin transaction
7177
+ SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7178
+  (0.7ms) commit transaction
7179
+  (0.0ms) begin transaction
7180
+ SQL (0.2ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7181
+  (0.7ms) commit transaction
7182
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7183
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7184
+  (0.8ms) DELETE FROM "opay_payments";
7185
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7186
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7187
+  (0.7ms) DELETE FROM "orders";
7188
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7189
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7190
+  (0.1ms) begin transaction
7191
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7192
+  (0.8ms) commit transaction
7193
+  (0.8ms) DELETE FROM "opay_payments";
7194
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7195
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7196
+  (0.7ms) DELETE FROM "orders";
7197
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7198
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'orders';
7199
+  (1.0ms) DELETE FROM "opay_payments";
7200
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7201
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7202
+  (0.9ms) DELETE FROM "orders";
7203
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7204
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7205
+  (0.8ms) DELETE FROM "opay_payments";
7206
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7207
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7208
+  (1.2ms) DELETE FROM "orders";
7209
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7210
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7211
+  (0.1ms) begin transaction
7212
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7213
+  (0.7ms) commit transaction
7214
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7215
+  (0.1ms) begin transaction
7216
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'dpruzQN5w3VXoyB8zDdQ' ORDER BY "opay_payments"."id" ASC LIMIT 1
7217
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "dpruzQN5w3VXoyB8zDdQ"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7218
+  (0.7ms) commit transaction
7219
+  (1.0ms) DELETE FROM "opay_payments";
7220
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7221
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7222
+  (0.7ms) DELETE FROM "orders";
7223
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7224
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7225
+  (0.1ms) begin transaction
7226
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7227
+  (0.7ms) commit transaction
7228
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7229
+  (0.1ms) begin transaction
7230
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'VARy5qwunSGdWsfumbsD' ORDER BY "opay_payments"."id" ASC LIMIT 1
7231
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "VARy5qwunSGdWsfumbsD"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7232
+  (0.8ms) commit transaction
7233
+  (1.1ms) DELETE FROM "opay_payments";
7234
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7235
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7236
+  (0.6ms) DELETE FROM "orders";
7237
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7238
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
7239
+  (0.1ms) begin transaction
7240
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7241
+  (0.8ms) commit transaction
7242
+ 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"]]
7243
+  (0.1ms) begin transaction
7244
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'p6omVwPgD4ZTqopdzmyz' ORDER BY "opay_payments"."id" ASC LIMIT 1
7245
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "p6omVwPgD4ZTqopdzmyz"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7246
+  (0.9ms) commit transaction
7247
+  (1.1ms) DELETE FROM "opay_payments";
7248
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7249
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7250
+  (0.8ms) DELETE FROM "orders";
7251
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7252
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7253
+  (0.1ms) begin transaction
7254
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7255
+  (0.9ms) commit transaction
7256
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7257
+  (0.1ms) begin transaction
7258
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'h8z3peJgrxS8UV9p6Uf7' ORDER BY "opay_payments"."id" ASC LIMIT 1
7259
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "h8z3peJgrxS8UV9p6Uf7"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7260
+  (0.9ms) commit transaction
7261
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'PVMJ6zcaeXUPoAwrQVnP' ORDER BY "opay_payments"."id" ASC LIMIT 1
7262
+  (0.0ms) begin transaction
7263
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "PVMJ6zcaeXUPoAwrQVnP"], ["updated_at", Thu, 27 Mar 2014 11:34:48 UTC +00:00]]
7264
+  (0.7ms) commit transaction
7265
+  (0.9ms) DELETE FROM "opay_payments";
7266
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7267
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7268
+  (0.7ms) DELETE FROM "orders";
7269
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7270
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7271
+  (0.1ms) begin transaction
7272
+ SQL (3.1ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7273
+  (2.8ms) commit transaction
7274
+ 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", 1], ["payable_type", "Order"]]
7275
+  (0.1ms) begin transaction
7276
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'V9DhTrCezZhPnMBudM45' ORDER BY "opay_payments"."id" ASC LIMIT 1
7277
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "V9DhTrCezZhPnMBudM45"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7278
+  (2.3ms) commit transaction
7279
+  (2.9ms) DELETE FROM "opay_payments";
7280
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7281
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7282
+  (3.3ms) DELETE FROM "orders";
7283
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7284
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7285
+  (0.1ms) begin transaction
7286
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7287
+  (2.6ms) commit transaction
7288
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7289
+  (0.1ms) begin transaction
7290
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'TephRgJbRxf3a7uaC21G' ORDER BY "opay_payments"."id" ASC LIMIT 1
7291
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "TephRgJbRxf3a7uaC21G"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7292
+  (0.9ms) commit transaction
7293
+  (2.5ms) DELETE FROM "opay_payments";
7294
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7295
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7296
+  (0.9ms) DELETE FROM "orders";
7297
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7298
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'orders';
7299
+  (0.1ms) begin transaction
7300
+ SQL (0.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7301
+  (0.6ms) commit transaction
7302
+ 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"]]
7303
+  (0.1ms) begin transaction
7304
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '6KCgpHHgyjm5xSwJu89U' ORDER BY "opay_payments"."id" ASC LIMIT 1
7305
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "6KCgpHHgyjm5xSwJu89U"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7306
+  (1.9ms) commit transaction
7307
+  (3.6ms) DELETE FROM "opay_payments";
7308
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7309
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7310
+  (4.0ms) DELETE FROM "orders";
7311
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7312
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
7313
+  (0.1ms) begin transaction
7314
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7315
+  (0.8ms) commit transaction
7316
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7317
+  (0.1ms) begin transaction
7318
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'pLNSoeMJx4q4n1h9BFjL' ORDER BY "opay_payments"."id" ASC LIMIT 1
7319
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "pLNSoeMJx4q4n1h9BFjL"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7320
+  (1.5ms) commit transaction
7321
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'nPTXhdzvBahhpsSEDw8v' ORDER BY "opay_payments"."id" ASC LIMIT 1
7322
+  (0.0ms) begin transaction
7323
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "nPTXhdzvBahhpsSEDw8v"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7324
+  (1.8ms) commit transaction
7325
+  (1.2ms) DELETE FROM "opay_payments";
7326
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7327
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7328
+  (0.9ms) DELETE FROM "orders";
7329
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7330
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7331
+  (0.1ms) begin transaction
7332
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7333
+  (1.1ms) commit transaction
7334
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7335
+  (0.1ms) begin transaction
7336
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'FUYiZuqHc6PV7wEzJmrQ' ORDER BY "opay_payments"."id" ASC LIMIT 1
7337
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "FUYiZuqHc6PV7wEzJmrQ"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7338
+  (0.9ms) commit transaction
7339
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'UAqxH1qLqcXRmKvbHyMY' ORDER BY "opay_payments"."id" ASC LIMIT 1
7340
+  (0.1ms) begin transaction
7341
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "UAqxH1qLqcXRmKvbHyMY"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7342
+  (1.1ms) commit transaction
7343
+  (1.2ms) DELETE FROM "opay_payments";
7344
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7345
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7346
+  (0.7ms) DELETE FROM "orders";
7347
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7348
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7349
+  (0.1ms) begin transaction
7350
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7351
+  (0.9ms) commit transaction
7352
+  (0.0ms) begin transaction
7353
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'AExxyof1niMSyzsNxsHU' ORDER BY "opay_payments"."id" ASC LIMIT 1
7354
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "AExxyof1niMSyzsNxsHU"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7355
+  (2.2ms) commit transaction
7356
+  (1.2ms) DELETE FROM "opay_payments";
7357
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7358
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7359
+  (0.7ms) DELETE FROM "orders";
7360
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7361
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'orders';
7362
+  (2.6ms) DELETE FROM "opay_payments";
7363
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7364
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7365
+  (0.7ms) DELETE FROM "orders";
7366
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7367
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7368
+  (2.5ms) DELETE FROM "opay_payments";
7369
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7370
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7371
+  (1.1ms) DELETE FROM "orders";
7372
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7373
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7374
+  (1.1ms) DELETE FROM "opay_payments";
7375
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7376
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7377
+  (1.7ms) DELETE FROM "orders";
7378
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7379
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7380
+  (2.3ms) DELETE FROM "opay_payments";
7381
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7382
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7383
+  (1.2ms) DELETE FROM "orders";
7384
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7385
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7386
+  (0.1ms) begin transaction
7387
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7388
+  (0.9ms) commit transaction
7389
+  (0.8ms) DELETE FROM "opay_payments";
7390
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7391
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7392
+  (0.7ms) DELETE FROM "orders";
7393
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7394
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
7395
+  (2.7ms) DELETE FROM "opay_payments";
7396
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7397
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7398
+  (1.1ms) DELETE FROM "orders";
7399
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7400
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7401
+  (1.1ms) DELETE FROM "opay_payments";
7402
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7403
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7404
+  (3.4ms) DELETE FROM "orders";
7405
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7406
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7407
+  (0.1ms) begin transaction
7408
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7409
+  (0.9ms) commit transaction
7410
+ 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"]]
7411
+  (0.0ms) begin transaction
7412
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a9qeppc2iiZfDmxqyjGU' ORDER BY "opay_payments"."id" ASC LIMIT 1
7413
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a9qeppc2iiZfDmxqyjGU"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7414
+  (1.0ms) commit transaction
7415
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'a9qeppc2iiZfDmxqyjGU' ORDER BY "opay_payments"."id" ASC LIMIT 1
7416
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7417
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7418
+  (0.1ms) begin transaction
7419
+ SQL (0.5ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7420
+  (4.6ms) commit transaction
7421
+  (0.1ms) begin transaction
7422
+ SQL (0.6ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7423
+  (1.0ms) commit transaction
7424
+ Opay::Payment Load (0.3ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7425
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7426
+  (1.3ms) DELETE FROM "opay_payments";
7427
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7428
+  (4.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7429
+  (3.8ms) DELETE FROM "orders";
7430
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7431
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'orders';
7432
+  (0.1ms) begin transaction
7433
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7434
+  (2.8ms) commit transaction
7435
+ 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"]]
7436
+  (0.0ms) begin transaction
7437
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'icpvswq4JJsnp9CRiM6k' ORDER BY "opay_payments"."id" ASC LIMIT 1
7438
+ SQL (0.5ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "icpvswq4JJsnp9CRiM6k"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7439
+  (2.5ms) commit transaction
7440
+  (1.2ms) DELETE FROM "opay_payments";
7441
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7442
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7443
+  (3.3ms) DELETE FROM "orders";
7444
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7445
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
7446
+  (0.1ms) begin transaction
7447
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7448
+  (2.6ms) commit transaction
7449
+ 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"]]
7450
+  (0.1ms) begin transaction
7451
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zwH5tLCiNyikpqsbf1sT' ORDER BY "opay_payments"."id" ASC LIMIT 1
7452
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "zwH5tLCiNyikpqsbf1sT"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7453
+  (0.9ms) commit transaction
7454
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zwH5tLCiNyikpqsbf1sT' ORDER BY "opay_payments"."id" ASC LIMIT 1
7455
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7456
+ 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"]]
7457
+  (0.0ms) begin transaction
7458
+ SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7459
+  (0.6ms) commit transaction
7460
+  (0.1ms) begin transaction
7461
+ SQL (0.2ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7462
+  (0.6ms) commit transaction
7463
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7464
+  (0.9ms) DELETE FROM "opay_payments";
7465
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7466
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7467
+  (1.2ms) DELETE FROM "orders";
7468
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7469
+  (3.5ms) DELETE FROM sqlite_sequence where name = 'orders';
7470
+  (0.1ms) begin transaction
7471
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7472
+  (0.8ms) commit transaction
7473
+ 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"]]
7474
+  (0.0ms) begin transaction
7475
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'xH6VVMkMpETKy6kJLXiB' ORDER BY "opay_payments"."id" ASC LIMIT 1
7476
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "xH6VVMkMpETKy6kJLXiB"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7477
+  (0.9ms) commit transaction
7478
+  (0.9ms) DELETE FROM "opay_payments";
7479
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7480
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7481
+  (3.3ms) DELETE FROM "orders";
7482
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7483
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
7484
+  (0.1ms) begin transaction
7485
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7486
+  (0.6ms) commit transaction
7487
+ 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"]]
7488
+  (0.1ms) begin transaction
7489
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'xKL5oeqQYmn3bQP3JMkV' ORDER BY "opay_payments"."id" ASC LIMIT 1
7490
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "xKL5oeqQYmn3bQP3JMkV"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7491
+  (0.8ms) commit transaction
7492
+  (1.1ms) DELETE FROM "opay_payments";
7493
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7494
+  (3.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7495
+  (1.3ms) DELETE FROM "orders";
7496
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7497
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7498
+  (0.1ms) begin transaction
7499
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7500
+  (2.8ms) commit transaction
7501
+ 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"]]
7502
+  (0.0ms) begin transaction
7503
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'fPBs9qsETsHqe1PMq4Zg' ORDER BY "opay_payments"."id" ASC LIMIT 1
7504
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "fPBs9qsETsHqe1PMq4Zg"], ["updated_at", Thu, 27 Mar 2014 11:35:57 UTC +00:00]]
7505
+  (1.1ms) commit transaction
7506
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'fPBs9qsETsHqe1PMq4Zg' ORDER BY "opay_payments"."id" ASC LIMIT 1
7507
+  (2.5ms) DELETE FROM "opay_payments";
7508
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7509
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7510
+  (3.4ms) DELETE FROM "orders";
7511
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7512
+  (3.4ms) DELETE FROM sqlite_sequence where name = 'orders';
7513
+  (0.1ms) begin transaction
7514
+ SQL (4.6ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7515
+  (0.7ms) commit transaction
7516
+ Opay::Payment Load (0.5ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7517
+  (0.1ms) begin transaction
7518
+ Opay::Payment Load (0.4ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'izyg52xuThgUNiRjWfsE' ORDER BY "opay_payments"."id" ASC LIMIT 1
7519
+ SQL (0.7ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "izyg52xuThgUNiRjWfsE"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7520
+  (0.8ms) commit transaction
7521
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'oruD73EAs9AcduE6TivJ' ORDER BY "opay_payments"."id" ASC LIMIT 1
7522
+  (0.0ms) begin transaction
7523
+ SQL (0.4ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "oruD73EAs9AcduE6TivJ"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7524
+  (0.9ms) commit transaction
7525
+  (0.8ms) DELETE FROM "opay_payments";
7526
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7527
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7528
+  (0.8ms) DELETE FROM "orders";
7529
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7530
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7531
+  (0.1ms) begin transaction
7532
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7533
+  (0.9ms) commit transaction
7534
+ 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"]]
7535
+  (0.1ms) begin transaction
7536
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'bR24TsSn8j7exje9qn4F' ORDER BY "opay_payments"."id" ASC LIMIT 1
7537
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "bR24TsSn8j7exje9qn4F"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7538
+  (1.0ms) commit transaction
7539
+  (1.2ms) DELETE FROM "opay_payments";
7540
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7541
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7542
+  (0.8ms) DELETE FROM "orders";
7543
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7544
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'orders';
7545
+  (0.1ms) begin transaction
7546
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7547
+  (0.9ms) commit transaction
7548
+ 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"]]
7549
+  (0.1ms) begin transaction
7550
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'eZHSAsCLxdXYMMCHfz49' ORDER BY "opay_payments"."id" ASC LIMIT 1
7551
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "eZHSAsCLxdXYMMCHfz49"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7552
+  (0.9ms) commit transaction
7553
+  (1.0ms) DELETE FROM "opay_payments";
7554
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7555
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7556
+  (0.7ms) DELETE FROM "orders";
7557
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7558
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7559
+  (0.1ms) begin transaction
7560
+ SQL (0.5ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7561
+  (0.9ms) commit transaction
7562
+ 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"]]
7563
+  (0.1ms) begin transaction
7564
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'pzJxwyBAtj4yFxrxvmNS' ORDER BY "opay_payments"."id" ASC LIMIT 1
7565
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "pzJxwyBAtj4yFxrxvmNS"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7566
+  (1.0ms) commit transaction
7567
+  (1.0ms) DELETE FROM "opay_payments";
7568
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7569
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7570
+  (0.6ms) DELETE FROM "orders";
7571
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7572
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
7573
+  (1.1ms) DELETE FROM "opay_payments";
7574
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7575
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7576
+  (1.1ms) DELETE FROM "orders";
7577
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7578
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7579
+  (1.0ms) DELETE FROM "opay_payments";
7580
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7581
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7582
+  (0.6ms) DELETE FROM "orders";
7583
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7584
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7585
+  (0.1ms) begin transaction
7586
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7587
+  (0.8ms) commit transaction
7588
+  (0.8ms) DELETE FROM "opay_payments";
7589
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7590
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7591
+  (0.7ms) DELETE FROM "orders";
7592
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7593
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'orders';
7594
+  (0.1ms) begin transaction
7595
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7596
+  (0.6ms) commit transaction
7597
+ 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"]]
7598
+  (0.0ms) begin transaction
7599
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zxbzrYySsXWMbuPGVogL' ORDER BY "opay_payments"."id" ASC LIMIT 1
7600
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "zxbzrYySsXWMbuPGVogL"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7601
+  (0.8ms) commit transaction
7602
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'zxbzrYySsXWMbuPGVogL' ORDER BY "opay_payments"."id" ASC LIMIT 1
7603
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7604
+ 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"]]
7605
+  (0.1ms) begin transaction
7606
+ SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7607
+  (0.8ms) commit transaction
7608
+  (0.0ms) begin transaction
7609
+ SQL (0.4ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7610
+  (0.8ms) commit transaction
7611
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7612
+  (1.0ms) DELETE FROM "opay_payments";
7613
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7614
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7615
+  (0.7ms) DELETE FROM "orders";
7616
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7617
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7618
+  (0.1ms) begin transaction
7619
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7620
+  (1.0ms) commit transaction
7621
+ 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"]]
7622
+  (0.0ms) begin transaction
7623
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'UYqzBrpePgoDUTxupMaw' ORDER BY "opay_payments"."id" ASC LIMIT 1
7624
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "UYqzBrpePgoDUTxupMaw"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7625
+  (0.9ms) commit transaction
7626
+  (1.1ms) DELETE FROM "opay_payments";
7627
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7628
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7629
+  (0.7ms) DELETE FROM "orders";
7630
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7631
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7632
+  (0.1ms) begin transaction
7633
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7634
+  (0.9ms) commit transaction
7635
+ 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"]]
7636
+  (0.1ms) begin transaction
7637
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'v89BTDk8XZk8sYddqEY2' ORDER BY "opay_payments"."id" ASC LIMIT 1
7638
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "v89BTDk8XZk8sYddqEY2"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7639
+  (0.8ms) commit transaction
7640
+  (1.1ms) DELETE FROM "opay_payments";
7641
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7642
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7643
+  (0.7ms) DELETE FROM "orders";
7644
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7645
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7646
+  (0.1ms) begin transaction
7647
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7648
+  (0.8ms) commit transaction
7649
+ 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"]]
7650
+  (0.0ms) begin transaction
7651
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'qWyFi2GvfKtBjnNxXaVz' ORDER BY "opay_payments"."id" ASC LIMIT 1
7652
+ SQL (0.6ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "qWyFi2GvfKtBjnNxXaVz"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7653
+  (0.7ms) commit transaction
7654
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'qWyFi2GvfKtBjnNxXaVz' ORDER BY "opay_payments"."id" ASC LIMIT 1
7655
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7656
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7657
+  (0.1ms) begin transaction
7658
+ SQL (0.3ms) UPDATE "opay_payments" SET "finished" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7659
+  (0.8ms) commit transaction
7660
+  (0.1ms) begin transaction
7661
+ SQL (0.2ms) UPDATE "orders" SET "finished" = ?, "updated_at" = ? WHERE "orders"."id" = 1 [["finished", true], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7662
+  (0.6ms) commit transaction
7663
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."id" = ? LIMIT 1 [["id", 1]]
7664
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 1]]
7665
+  (0.9ms) DELETE FROM "opay_payments";
7666
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7667
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7668
+  (1.1ms) DELETE FROM "orders";
7669
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7670
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'orders';
7671
+  (1.0ms) DELETE FROM "opay_payments";
7672
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7673
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7674
+  (0.7ms) DELETE FROM "orders";
7675
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7676
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7677
+  (0.1ms) begin transaction
7678
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7679
+  (0.8ms) commit transaction
7680
+  (0.0ms) begin transaction
7681
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'KSCmQRyUsonkpvcwpwyf' ORDER BY "opay_payments"."id" ASC LIMIT 1
7682
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "KSCmQRyUsonkpvcwpwyf"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7683
+  (0.8ms) commit transaction
7684
+  (0.9ms) DELETE FROM "opay_payments";
7685
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7686
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7687
+  (0.6ms) DELETE FROM "orders";
7688
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7689
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'orders';
7690
+  (0.1ms) begin transaction
7691
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7692
+  (1.0ms) commit transaction
7693
+ 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"]]
7694
+  (0.0ms) begin transaction
7695
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = '3qWFeD4XJtFH4GZNaTYP' ORDER BY "opay_payments"."id" ASC LIMIT 1
7696
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "3qWFeD4XJtFH4GZNaTYP"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7697
+  (0.8ms) commit transaction
7698
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'fMqeiNQKgVKWn7LVmXEr' ORDER BY "opay_payments"."id" ASC LIMIT 1
7699
+  (0.1ms) begin transaction
7700
+ SQL (0.3ms) UPDATE "opay_payments" SET "session_id" = ?, "updated_at" = ? WHERE "opay_payments"."id" = 1 [["session_id", "fMqeiNQKgVKWn7LVmXEr"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7701
+  (0.8ms) commit transaction
7702
+  (0.8ms) DELETE FROM "opay_payments";
7703
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7704
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7705
+  (0.7ms) DELETE FROM "orders";
7706
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7707
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'orders';
7708
+  (1.0ms) DELETE FROM "opay_payments";
7709
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7710
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7711
+  (1.0ms) DELETE FROM "orders";
7712
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7713
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7714
+  (0.1ms) begin transaction
7715
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7716
+  (0.7ms) commit transaction
7717
+ 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"]]
7718
+  (0.0ms) begin transaction
7719
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Z9HsCcZ5Q74uB2p7sF99' ORDER BY "opay_payments"."id" ASC LIMIT 1
7720
+ SQL (0.3ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 1000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "Z9HsCcZ5Q74uB2p7sF99"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7721
+  (0.8ms) commit transaction
7722
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'Z9HsCcZ5Q74uB2p7sF99' ORDER BY "opay_payments"."id" ASC LIMIT 1
7723
+  (1.1ms) DELETE FROM "opay_payments";
7724
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7725
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7726
+  (0.7ms) DELETE FROM "orders";
7727
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7728
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7729
+  (0.1ms) begin transaction
7730
+ SQL (0.4ms) INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["name", "first order"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7731
+  (0.8ms) commit transaction
7732
+ Opay::Payment Load (0.2ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = ? AND "opay_payments"."payable_type" = ? LIMIT 1 [["payable_id", 1], ["payable_type", "Order"]]
7733
+  (0.1ms) begin transaction
7734
+ Opay::Payment Load (0.1ms) SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."session_id" = 'FDVLjmVgn9nvNrkxgJ7u' ORDER BY "opay_payments"."id" ASC LIMIT 1
7735
+ SQL (0.4ms) INSERT INTO "opay_payments" ("amount", "created_at", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["amount", 2000], ["created_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "FDVLjmVgn9nvNrkxgJ7u"], ["updated_at", Thu, 27 Mar 2014 11:36:35 UTC +00:00]]
7736
+  (1.1ms) commit transaction
7737
+  (1.1ms) DELETE FROM "opay_payments";
7738
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7739
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7740
+  (0.7ms) DELETE FROM "orders";
7741
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7742
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'orders';
7743
+  (1.0ms) DELETE FROM "opay_payments";
7744
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7745
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7746
+  (0.7ms) DELETE FROM "orders";
7747
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7748
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
7749
+  (1.0ms) DELETE FROM "opay_payments";
7750
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7751
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'opay_payments';
7752
+  (0.7ms) DELETE FROM "orders";
7753
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7754
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'orders';
@@ -1,5 +1,4 @@
1
1
  require 'spec_helper'
2
- require 'Activemerchant'
3
2
 
4
3
  module Opay
5
4
  describe Providers::Paypal do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mariusz Ołownia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-26 00:00:00.000000000 Z
11
+ date: 2014-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails