active_payment 1.0.3 → 1.1.0

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: 0896a5bea7ca3f4ad64160c9a83d71c97da93f43
4
- data.tar.gz: 4a1d6ce9a6d12ec602c220a1a28bfc98e5452a5c
3
+ metadata.gz: 2a08e5a0d6565635e4066b51284f40ea7c672f31
4
+ data.tar.gz: 998aab2b750b0207ad71686c88605dc503029569
5
5
  SHA512:
6
- metadata.gz: e9c87745a4e4ecdb7a1f42fa4968187e93366b680c55dd5da35b3ccfe9ac131949aedd4b8a647d5c78d249f2d1ae3a8e9d8fe3a41a8f16ab90f00c9cf373a872
7
- data.tar.gz: c9342816bd91964f00a9c11b11c2e2b9208fbafe9e98ba597e760562c6794341282e75813977919fc07f057aa156c3cd9bbe09b4209228a21911506ede22422a
6
+ metadata.gz: e7b17224bb65288be4a427c4afbc9e7bef76c4d3c61588654b12785e522be3ba16614f1aac82356927b9f214a3231495da62e0b7c2df72c13aafe6e7419908bd
7
+ data.tar.gz: b34153968b1fc3b528d8ce0d6699c8a3630809cd3718a52d7e3038cd06e1f8a29657c7a92f131575e6bf48ddbfad789f550f4cf02b5e1e5f9e24576e85166fa1
@@ -55,7 +55,7 @@ module ActivePayment
55
55
  def paypal_recipients
56
56
  recipients = []
57
57
  @sales.each do |sale|
58
- recipients << sale.paypal_recipient
58
+ recipients << sale.paypal_recipient if sale.amount > 0
59
59
  end
60
60
 
61
61
  recipients
@@ -1,3 +1,3 @@
1
1
  module ActivePayment
2
- VERSION = '1.0.3'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -3,7 +3,7 @@ require 'helper'
3
3
  describe ActivePayment::Models::Sales do
4
4
  before(:each) do
5
5
  @payer = PayerObj.new
6
- @payee = PayeeObj.new
6
+ @payee = PayeeObj.new.to_payee
7
7
  @payable = PayableObj.new.to_payable
8
8
  @sale = ActivePayment::Models::Sale.new(payable: @payable, payer: @payer, payee: @payee)
9
9
  @sale2 = ActivePayment::Models::Sale.new(payable: @payable, payer: @payer, payee: @payee)
@@ -48,16 +48,18 @@ describe ActivePayment::Models::Sales do
48
48
 
49
49
  describe 'paypal_hash' do
50
50
  it 'display an array of sale paypal_hash' do
51
- end
52
- end
53
-
54
- describe 'each' do
55
- it 'behave as expected' do
51
+ expect(@sales.paypal_hash).to eq([{:description=>"description", :invoice_data=>{:item=>[{:name=>"description", :item_count=>1, :item_price=>1.0, :price=>1.0}], :total_shipping=>20, :total_tax=>10}, :receiver=>{:email=>"activepayment@paypal.com"}}, {:description=>"description", :invoice_data=>{:item=>[{:name=>"description", :item_count=>1, :item_price=>1.0, :price=>1.0}], :total_shipping=>20, :total_tax=>10}, :receiver=>{:email=>"activepayment@paypal.com"}}, {:description=>"description", :invoice_data=>{:item=>[{:name=>"description", :item_count=>1, :item_price=>1.0, :price=>1.0}], :total_shipping=>20, :total_tax=>10}, :receiver=>{:email=>"activepayment@paypal.com"}}])
56
52
  end
57
53
  end
58
54
 
59
55
  describe 'paypal_recipients' do
60
56
  it 'display an array of sale paypal_recipient' do
57
+ expect(@sales.paypal_recipients).to eq([{:email=>"activepayment@paypal.com", :amount=>1.0, :primary=>false}, {:email=>"activepayment@paypal.com", :amount=>1.0, :primary=>false}, {:email=>"activepayment@paypal.com", :amount=>1.0, :primary=>false}])
58
+ end
59
+
60
+ it 'display only recipient with amount > 0' do
61
+ ActivePayment::Models::Sale.any_instance.stub(:amount).and_return(0)
62
+ expect(@sales.paypal_recipients).to eq([])
61
63
  end
62
64
  end
63
65
  end
Binary file
@@ -7874,3 +7874,1181 @@ Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
7874
7874
   (0.7ms) DELETE FROM "active_payment_transactions";
7875
7875
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7876
7876
   (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7877
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7878
+  (0.1ms) begin transaction
7879
+ SQL (0.4ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:49.543824"], ["updated_at", "2015-12-09 11:27:49.543824"]]
7880
+  (0.8ms) commit transaction
7881
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
7882
+ Parameters: {"token"=>"5678"}
7883
+  (0.2ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7884
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7885
+ Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.3ms)
7886
+  (1.0ms) DELETE FROM "active_payment_transactions";
7887
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7888
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7889
+  (0.0ms) begin transaction
7890
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:49.565471"], ["updated_at", "2015-12-09 11:27:49.565471"]]
7891
+  (0.7ms) commit transaction
7892
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
7893
+ Parameters: {"token"=>"5678"}
7894
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7895
+ ActivePayment::Transaction Load (0.0ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7896
+  (0.1ms) begin transaction
7897
+ SQL (0.4ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 3], ["updated_at", "2015-12-09 11:27:51.026488"], ["id", 1]]
7898
+  (8.9ms) commit transaction
7899
+ Completed 500 Internal Server Error in 1463ms (ActiveRecord: 9.5ms)
7900
+  (0.7ms) DELETE FROM "active_payment_transactions";
7901
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7902
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7903
+  (0.1ms) begin transaction
7904
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.041860"], ["updated_at", "2015-12-09 11:27:51.041860"]]
7905
+  (0.6ms) commit transaction
7906
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
7907
+ Parameters: {"token"=>"invalid_token"}
7908
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "invalid_token"]]
7909
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
7910
+  (0.9ms) DELETE FROM "active_payment_transactions";
7911
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7912
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7913
+  (0.1ms) begin transaction
7914
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.050064"], ["updated_at", "2015-12-09 11:27:51.050064"]]
7915
+  (0.5ms) commit transaction
7916
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
7917
+ Parameters: {"token"=>"5678"}
7918
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7919
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7920
+  (0.0ms) begin transaction
7921
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "paid_at" = ?, "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["paid_at", "2015-09-03 17:21:36.356460"], ["state", 1], ["updated_at", "2015-12-09 11:27:51.056964"], ["id", 1]]
7922
+  (0.7ms) commit transaction
7923
+ Redirected to http://test.host/
7924
+ Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
7925
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."id" = ? LIMIT 1 [["id", 1]]
7926
+  (0.7ms) DELETE FROM "active_payment_transactions";
7927
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7928
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7929
+  (0.1ms) begin transaction
7930
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.065850"], ["updated_at", "2015-12-09 11:27:51.065850"]]
7931
+  (0.6ms) commit transaction
7932
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
7933
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" IS NULL
7934
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
7935
+  (0.8ms) DELETE FROM "active_payment_transactions";
7936
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7937
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7938
+  (0.1ms) begin transaction
7939
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.073830"], ["updated_at", "2015-12-09 11:27:51.073830"]]
7940
+  (0.7ms) commit transaction
7941
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
7942
+ Parameters: {"token"=>"invalid_token"}
7943
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "invalid_token"]]
7944
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
7945
+  (0.9ms) DELETE FROM "active_payment_transactions";
7946
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7947
+  (0.5ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7948
+  (0.1ms) begin transaction
7949
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.083041"], ["updated_at", "2015-12-09 11:27:51.083041"]]
7950
+  (0.6ms) commit transaction
7951
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
7952
+ Parameters: {"token"=>"5678"}
7953
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7954
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7955
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
7956
+  (0.7ms) DELETE FROM "active_payment_transactions";
7957
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7958
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7959
+  (0.1ms) begin transaction
7960
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.091110"], ["updated_at", "2015-12-09 11:27:51.091110"]]
7961
+  (0.6ms) commit transaction
7962
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
7963
+  (0.2ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" IS NULL
7964
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
7965
+  (0.7ms) DELETE FROM "active_payment_transactions";
7966
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7967
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7968
+  (0.1ms) begin transaction
7969
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.098601"], ["updated_at", "2015-12-09 11:27:51.098601"]]
7970
+  (0.7ms) commit transaction
7971
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
7972
+ Parameters: {"token"=>"5678"}
7973
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7974
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
7975
+  (0.0ms) begin transaction
7976
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 2], ["updated_at", "2015-12-09 11:27:51.104374"], ["id", 1]]
7977
+  (0.7ms) commit transaction
7978
+ Redirected to http://test.host/
7979
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
7980
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."id" = ? LIMIT 1 [["id", 1]]
7981
+  (0.8ms) DELETE FROM "active_payment_transactions";
7982
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7983
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7984
+  (0.1ms) begin transaction
7985
+ SQL (0.4ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.111292"], ["updated_at", "2015-12-09 11:27:51.111292"]]
7986
+  (0.7ms) commit transaction
7987
+  (0.7ms) DELETE FROM "active_payment_transactions";
7988
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7989
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7990
+  (0.9ms) DELETE FROM "active_payment_transactions";
7991
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7992
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7993
+  (0.6ms) DELETE FROM "active_payment_transactions";
7994
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7995
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7996
+  (0.7ms) DELETE FROM "active_payment_transactions";
7997
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
7998
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
7999
+  (1.0ms) DELETE FROM "active_payment_transactions";
8000
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8001
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8002
+  (0.7ms) DELETE FROM "active_payment_transactions";
8003
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8004
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8005
+  (0.7ms) DELETE FROM "active_payment_transactions";
8006
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8007
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8008
+  (0.7ms) DELETE FROM "active_payment_transactions";
8009
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8010
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8011
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "1"]]
8012
+  (0.6ms) DELETE FROM "active_payment_transactions";
8013
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8014
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8015
+  (0.7ms) DELETE FROM "active_payment_transactions";
8016
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8017
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8018
+  (0.1ms) begin transaction
8019
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:51.136234"], ["updated_at", "2015-12-09 11:27:51.136234"]]
8020
+  (1.1ms) commit transaction
8021
+  (0.6ms) DELETE FROM "active_payment_transactions";
8022
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8023
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8024
+  (0.1ms) begin transaction
8025
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("currency", "gateway", "amount", "ip_address", "payee_id", "payer_id", "payable_id", "payable_type", "reference_number", "external_id", "metadata", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["currency", "USD"], ["gateway", "ActivePayment::Gateways::PaypalAdaptivePayment"], ["amount", 100], ["ip_address", "127.0.0.1"], ["payee_id", 1], ["payer_id", 2], ["payable_id", 3], ["payable_type", "PayableObj"], ["reference_number", "3"], ["external_id", "token"], ["metadata", "---\n:description: description\n"], ["state", 0], ["created_at", "2015-12-09 11:27:51.143250"], ["updated_at", "2015-12-09 11:27:51.143250"]]
8026
+  (0.7ms) commit transaction
8027
+  (0.7ms) DELETE FROM "active_payment_transactions";
8028
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8029
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8030
+  (0.6ms) DELETE FROM "active_payment_transactions";
8031
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8032
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8033
+  (0.6ms) DELETE FROM "active_payment_transactions";
8034
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8035
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8036
+  (0.9ms) DELETE FROM "active_payment_transactions";
8037
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8038
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8039
+  (0.7ms) DELETE FROM "active_payment_transactions";
8040
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8041
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8042
+  (0.6ms) DELETE FROM "active_payment_transactions";
8043
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8044
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8045
+  (1.0ms) DELETE FROM "active_payment_transactions";
8046
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8047
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8048
+  (0.7ms) DELETE FROM "active_payment_transactions";
8049
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8050
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8051
+  (0.7ms) DELETE FROM "active_payment_transactions";
8052
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8053
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8054
+  (0.7ms) DELETE FROM "active_payment_transactions";
8055
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8056
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8057
+  (0.6ms) DELETE FROM "active_payment_transactions";
8058
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8059
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8060
+  (0.7ms) DELETE FROM "active_payment_transactions";
8061
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8062
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8063
+  (0.7ms) DELETE FROM "active_payment_transactions";
8064
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8065
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8066
+  (0.7ms) DELETE FROM "active_payment_transactions";
8067
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8068
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8069
+  (0.6ms) DELETE FROM "active_payment_transactions";
8070
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8071
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8072
+  (0.7ms) DELETE FROM "active_payment_transactions";
8073
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8074
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8075
+  (0.6ms) DELETE FROM "active_payment_transactions";
8076
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8077
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8078
+  (0.6ms) DELETE FROM "active_payment_transactions";
8079
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8080
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8081
+  (0.7ms) DELETE FROM "active_payment_transactions";
8082
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8083
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8084
+  (0.7ms) DELETE FROM "active_payment_transactions";
8085
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8086
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8087
+  (0.7ms) DELETE FROM "active_payment_transactions";
8088
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8089
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8090
+  (0.7ms) DELETE FROM "active_payment_transactions";
8091
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8092
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8093
+  (0.6ms) DELETE FROM "active_payment_transactions";
8094
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8095
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8096
+  (0.1ms) begin transaction
8097
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("external_id", "gateway", "currency", "ip_address", "amount", "payee_id", "payer_id", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["external_id", "AP-45250901MC1380023"], ["gateway", "paypal_adaptive_payment"], ["currency", "usd"], ["ip_address", "127.0.0.1"], ["amount", 15000], ["payee_id", 1], ["payer_id", 1], ["state", 0], ["created_at", "2015-12-09 11:27:51.185473"], ["updated_at", "2015-12-09 11:27:51.185473"]]
8098
+  (0.6ms) commit transaction
8099
+ ActivePayment::Transaction Load (0.2ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8100
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8101
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8102
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8103
+  (0.1ms) begin transaction
8104
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "paid_at" = ?, "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["paid_at", "2015-12-09 11:27:51.195261"], ["state", 1], ["updated_at", "2015-12-09 11:27:51.195954"], ["id", 1]]
8105
+  (0.7ms) commit transaction
8106
+ Completed 200 OK in 5ms (ActiveRecord: 1.1ms)
8107
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8108
+  (0.7ms) DELETE FROM "active_payment_transactions";
8109
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8110
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8111
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8112
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8113
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
8114
+  (0.9ms) DELETE FROM "active_payment_transactions";
8115
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8116
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8117
+  (0.1ms) begin transaction
8118
+ SQL (0.4ms) INSERT INTO "active_payment_transactions" ("external_id", "gateway", "currency", "ip_address", "amount", "payee_id", "payer_id", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["external_id", "AP-45250901MC1380023"], ["gateway", "paypal_adaptive_payment"], ["currency", "usd"], ["ip_address", "127.0.0.1"], ["amount", 15000], ["payee_id", 1], ["payer_id", 1], ["state", 0], ["created_at", "2015-12-09 11:27:51.206609"], ["updated_at", "2015-12-09 11:27:51.206609"]]
8119
+  (0.7ms) commit transaction
8120
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8121
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8122
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8123
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8124
+  (0.1ms) begin transaction
8125
+ SQL (0.4ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 3], ["updated_at", "2015-12-09 11:27:52.613092"], ["id", 1]]
8126
+  (8.2ms) commit transaction
8127
+ Completed 500 Internal Server Error in 1413ms (ActiveRecord: 8.8ms)
8128
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8129
+  (1.1ms) DELETE FROM "active_payment_transactions";
8130
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8131
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8132
+  (0.7ms) DELETE FROM "active_payment_transactions";
8133
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8134
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8135
+  (0.1ms) begin transaction
8136
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.631506"], ["updated_at", "2015-12-09 11:27:52.631506"]]
8137
+  (0.9ms) commit transaction
8138
+  (0.8ms) DELETE FROM "active_payment_transactions";
8139
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8140
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8141
+  (0.1ms) begin transaction
8142
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.637358"], ["updated_at", "2015-12-09 11:27:52.637358"]]
8143
+  (0.7ms) commit transaction
8144
+  (0.6ms) DELETE FROM "active_payment_transactions";
8145
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8146
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8147
+  (0.0ms) begin transaction
8148
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.642542"], ["updated_at", "2015-12-09 11:27:52.642542"]]
8149
+  (0.6ms) commit transaction
8150
+  (0.6ms) DELETE FROM "active_payment_transactions";
8151
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8152
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8153
+  (0.0ms) begin transaction
8154
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.647568"], ["updated_at", "2015-12-09 11:27:52.647568"]]
8155
+  (0.6ms) commit transaction
8156
+  (0.6ms) DELETE FROM "active_payment_transactions";
8157
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8158
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8159
+  (0.0ms) begin transaction
8160
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.652769"], ["updated_at", "2015-12-09 11:27:52.652769"]]
8161
+  (0.5ms) commit transaction
8162
+  (0.6ms) DELETE FROM "active_payment_transactions";
8163
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8164
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8165
+  (0.1ms) begin transaction
8166
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.658392"], ["updated_at", "2015-12-09 11:27:52.658392"]]
8167
+  (0.9ms) commit transaction
8168
+  (1.3ms) DELETE FROM "active_payment_transactions";
8169
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8170
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8171
+  (0.1ms) begin transaction
8172
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.667409"], ["updated_at", "2015-12-09 11:27:52.667409"]]
8173
+  (0.9ms) commit transaction
8174
+  (0.7ms) DELETE FROM "active_payment_transactions";
8175
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8176
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8177
+  (0.1ms) begin transaction
8178
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.674071"], ["updated_at", "2015-12-09 11:27:52.674071"]]
8179
+  (0.6ms) commit transaction
8180
+  (0.7ms) DELETE FROM "active_payment_transactions";
8181
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8182
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8183
+  (0.1ms) begin transaction
8184
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.680151"], ["updated_at", "2015-12-09 11:27:52.680151"]]
8185
+  (0.6ms) commit transaction
8186
+  (0.7ms) DELETE FROM "active_payment_transactions";
8187
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8188
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8189
+  (0.1ms) begin transaction
8190
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.685387"], ["updated_at", "2015-12-09 11:27:52.685387"]]
8191
+  (0.6ms) commit transaction
8192
+  (0.6ms) DELETE FROM "active_payment_transactions";
8193
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8194
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8195
+  (0.1ms) begin transaction
8196
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.690580"], ["updated_at", "2015-12-09 11:27:52.690580"]]
8197
+  (0.7ms) commit transaction
8198
+  (0.6ms) DELETE FROM "active_payment_transactions";
8199
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8200
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8201
+  (0.0ms) begin transaction
8202
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.695557"], ["updated_at", "2015-12-09 11:27:52.695557"]]
8203
+  (0.5ms) commit transaction
8204
+  (0.7ms) DELETE FROM "active_payment_transactions";
8205
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8206
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8207
+  (0.1ms) begin transaction
8208
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.700769"], ["updated_at", "2015-12-09 11:27:52.700769"]]
8209
+  (1.0ms) commit transaction
8210
+  (1.1ms) DELETE FROM "active_payment_transactions";
8211
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8212
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8213
+  (0.0ms) begin transaction
8214
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.706988"], ["updated_at", "2015-12-09 11:27:52.706988"]]
8215
+  (0.7ms) commit transaction
8216
+  (0.6ms) DELETE FROM "active_payment_transactions";
8217
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8218
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8219
+  (0.1ms) begin transaction
8220
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.713641"], ["updated_at", "2015-12-09 11:27:52.713641"]]
8221
+  (0.7ms) commit transaction
8222
+  (0.6ms) DELETE FROM "active_payment_transactions";
8223
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8224
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8225
+  (0.1ms) begin transaction
8226
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.718666"], ["updated_at", "2015-12-09 11:27:52.718666"]]
8227
+  (0.6ms) commit transaction
8228
+  (0.7ms) DELETE FROM "active_payment_transactions";
8229
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8230
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8231
+  (0.1ms) begin transaction
8232
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.723912"], ["updated_at", "2015-12-09 11:27:52.723912"]]
8233
+  (0.6ms) commit transaction
8234
+  (0.6ms) DELETE FROM "active_payment_transactions";
8235
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8236
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8237
+  (0.0ms) begin transaction
8238
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.728946"], ["updated_at", "2015-12-09 11:27:52.728946"]]
8239
+  (0.6ms) commit transaction
8240
+  (0.6ms) DELETE FROM "active_payment_transactions";
8241
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8242
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8243
+  (0.1ms) begin transaction
8244
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.734161"], ["updated_at", "2015-12-09 11:27:52.734161"]]
8245
+  (0.6ms) commit transaction
8246
+  (0.7ms) DELETE FROM "active_payment_transactions";
8247
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8248
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8249
+  (0.0ms) begin transaction
8250
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:27:52.739159"], ["updated_at", "2015-12-09 11:27:52.739159"]]
8251
+  (1.0ms) commit transaction
8252
+  (0.6ms) DELETE FROM "active_payment_transactions";
8253
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8254
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8255
+  (0.7ms) DELETE FROM "active_payment_transactions";
8256
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8257
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8258
+  (0.9ms) DELETE FROM "active_payment_transactions";
8259
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8260
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8261
+  (0.6ms) DELETE FROM "active_payment_transactions";
8262
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8263
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8264
+  (0.7ms) DELETE FROM "active_payment_transactions";
8265
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8266
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8267
+  (0.7ms) DELETE FROM "active_payment_transactions";
8268
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8269
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8270
+  (0.7ms) DELETE FROM "active_payment_transactions";
8271
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8272
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8273
+  (0.7ms) DELETE FROM "active_payment_transactions";
8274
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8275
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8276
+  (0.7ms) DELETE FROM "active_payment_transactions";
8277
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8278
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8279
+  (0.7ms) DELETE FROM "active_payment_transactions";
8280
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8281
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8282
+  (0.7ms) DELETE FROM "active_payment_transactions";
8283
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8284
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8285
+  (0.6ms) DELETE FROM "active_payment_transactions";
8286
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8287
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8288
+  (0.7ms) DELETE FROM "active_payment_transactions";
8289
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8290
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8291
+  (0.7ms) DELETE FROM "active_payment_transactions";
8292
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8293
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8294
+  (0.7ms) DELETE FROM "active_payment_transactions";
8295
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8296
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8297
+  (0.8ms) DELETE FROM "active_payment_transactions";
8298
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8299
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8300
+  (0.6ms) DELETE FROM "active_payment_transactions";
8301
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8302
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8303
+  (0.7ms) DELETE FROM "active_payment_transactions";
8304
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8305
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8306
+  (0.7ms) DELETE FROM "active_payment_transactions";
8307
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8308
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8309
+  (0.7ms) DELETE FROM "active_payment_transactions";
8310
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8311
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8312
+  (1.2ms) DELETE FROM "active_payment_transactions";
8313
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8314
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8315
+  (0.9ms) DELETE FROM "active_payment_transactions";
8316
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8317
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8318
+  (0.8ms) DELETE FROM "active_payment_transactions";
8319
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8320
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8321
+  (0.8ms) DELETE FROM "active_payment_transactions";
8322
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8323
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8324
+  (0.7ms) DELETE FROM "active_payment_transactions";
8325
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8326
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8327
+  (0.7ms) DELETE FROM "active_payment_transactions";
8328
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8329
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8330
+  (0.7ms) DELETE FROM "active_payment_transactions";
8331
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8332
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8333
+  (0.7ms) DELETE FROM "active_payment_transactions";
8334
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8335
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8336
+  (0.6ms) DELETE FROM "active_payment_transactions";
8337
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8338
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8339
+  (0.7ms) DELETE FROM "active_payment_transactions";
8340
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8341
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8342
+  (0.8ms) DELETE FROM "active_payment_transactions";
8343
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8344
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8345
+  (0.7ms) DELETE FROM "active_payment_transactions";
8346
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8347
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8348
+  (0.7ms) DELETE FROM "active_payment_transactions";
8349
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8350
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8351
+  (0.7ms) DELETE FROM "active_payment_transactions";
8352
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8353
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8354
+  (0.7ms) DELETE FROM "active_payment_transactions";
8355
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8356
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8357
+  (0.6ms) DELETE FROM "active_payment_transactions";
8358
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8359
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8360
+  (0.7ms) DELETE FROM "active_payment_transactions";
8361
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8362
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8363
+  (0.8ms) DELETE FROM "active_payment_transactions";
8364
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8365
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8366
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8367
+  (8.4ms) DELETE FROM "active_payment_transactions";
8368
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8369
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8370
+  (1.2ms) DELETE FROM "active_payment_transactions";
8371
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8372
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8373
+  (1.0ms) DELETE FROM "active_payment_transactions";
8374
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8375
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8376
+  (0.6ms) DELETE FROM "active_payment_transactions";
8377
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8378
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8379
+  (0.7ms) DELETE FROM "active_payment_transactions";
8380
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8381
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8382
+  (0.8ms) DELETE FROM "active_payment_transactions";
8383
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8384
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8385
+  (0.9ms) DELETE FROM "active_payment_transactions";
8386
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8387
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8388
+  (2.1ms) DELETE FROM "active_payment_transactions";
8389
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8390
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8391
+  (1.3ms) DELETE FROM "active_payment_transactions";
8392
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8393
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8394
+  (0.7ms) DELETE FROM "active_payment_transactions";
8395
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8396
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8397
+  (0.7ms) DELETE FROM "active_payment_transactions";
8398
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8399
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8400
+  (0.8ms) DELETE FROM "active_payment_transactions";
8401
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8402
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8403
+  (0.6ms) DELETE FROM "active_payment_transactions";
8404
+  (7.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8405
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8406
+  (0.9ms) DELETE FROM "active_payment_transactions";
8407
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8408
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8409
+  (0.6ms) DELETE FROM "active_payment_transactions";
8410
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8411
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8412
+  (0.8ms) DELETE FROM "active_payment_transactions";
8413
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8414
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8415
+  (0.7ms) DELETE FROM "active_payment_transactions";
8416
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8417
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8418
+  (0.7ms) DELETE FROM "active_payment_transactions";
8419
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8420
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8421
+  (0.9ms) DELETE FROM "active_payment_transactions";
8422
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8423
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8424
+  (0.7ms) DELETE FROM "active_payment_transactions";
8425
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8426
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8427
+  (0.6ms) DELETE FROM "active_payment_transactions";
8428
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8429
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8430
+  (0.7ms) DELETE FROM "active_payment_transactions";
8431
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8432
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8433
+  (0.6ms) DELETE FROM "active_payment_transactions";
8434
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8435
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8436
+  (0.9ms) DELETE FROM "active_payment_transactions";
8437
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8438
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8439
+  (0.8ms) DELETE FROM "active_payment_transactions";
8440
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8441
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8442
+  (0.6ms) DELETE FROM "active_payment_transactions";
8443
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8444
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8445
+  (0.7ms) DELETE FROM "active_payment_transactions";
8446
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8447
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8448
+  (0.8ms) DELETE FROM "active_payment_transactions";
8449
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8450
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8451
+  (0.7ms) DELETE FROM "active_payment_transactions";
8452
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8453
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8454
+  (0.8ms) DELETE FROM "active_payment_transactions";
8455
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8456
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8457
+  (0.7ms) DELETE FROM "active_payment_transactions";
8458
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8459
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8460
+  (1.6ms) DELETE FROM "active_payment_transactions";
8461
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8462
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8463
+  (0.1ms) begin transaction
8464
+ SQL (0.5ms) INSERT INTO "active_payment_transactions" ("external_id", "gateway", "currency", "ip_address", "amount", "payee_id", "payer_id", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["external_id", "AP-45250901MC1380023"], ["gateway", "paypal_adaptive_payment"], ["currency", "usd"], ["ip_address", "127.0.0.1"], ["amount", 15000], ["payee_id", 1], ["payer_id", 1], ["state", 0], ["created_at", "2015-12-09 11:32:19.467107"], ["updated_at", "2015-12-09 11:32:19.467107"]]
8465
+  (0.6ms) commit transaction
8466
+ ActivePayment::Transaction Load (0.2ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8467
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8468
+  (0.2ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8469
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8470
+  (0.0ms) begin transaction
8471
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "paid_at" = ?, "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["paid_at", "2015-12-09 11:32:19.484499"], ["state", 1], ["updated_at", "2015-12-09 11:32:19.485248"], ["id", 1]]
8472
+  (0.7ms) commit transaction
8473
+ Completed 200 OK in 7ms (ActiveRecord: 1.2ms)
8474
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8475
+  (0.8ms) DELETE FROM "active_payment_transactions";
8476
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8477
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8478
+  (0.0ms) begin transaction
8479
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("external_id", "gateway", "currency", "ip_address", "amount", "payee_id", "payer_id", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["external_id", "AP-45250901MC1380023"], ["gateway", "paypal_adaptive_payment"], ["currency", "usd"], ["ip_address", "127.0.0.1"], ["amount", 15000], ["payee_id", 1], ["payer_id", 1], ["state", 0], ["created_at", "2015-12-09 11:32:19.492088"], ["updated_at", "2015-12-09 11:32:19.492088"]]
8480
+  (0.8ms) commit transaction
8481
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8482
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8483
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8484
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8485
+  (0.1ms) begin transaction
8486
+ SQL (0.3ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 3], ["updated_at", "2015-12-09 11:32:20.792476"], ["id", 1]]
8487
+  (8.2ms) commit transaction
8488
+ Completed 500 Internal Server Error in 1307ms (ActiveRecord: 8.7ms)
8489
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? LIMIT 1 [["external_id", "AP-45250901MC1380023"]]
8490
+  (1.0ms) DELETE FROM "active_payment_transactions";
8491
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8492
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8493
+ Processing by ActivePayment::PaypalAdaptivePaymentCallbackController#ipn as HTML
8494
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "AP-45250901MC1380023"]]
8495
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
8496
+  (0.8ms) DELETE FROM "active_payment_transactions";
8497
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8498
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8499
+  (1.0ms) DELETE FROM "active_payment_transactions";
8500
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8501
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8502
+  (0.7ms) DELETE FROM "active_payment_transactions";
8503
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8504
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8505
+  (0.6ms) DELETE FROM "active_payment_transactions";
8506
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8507
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8508
+  (0.6ms) DELETE FROM "active_payment_transactions";
8509
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8510
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8511
+  (0.8ms) DELETE FROM "active_payment_transactions";
8512
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8513
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8514
+  (0.6ms) DELETE FROM "active_payment_transactions";
8515
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8516
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8517
+  (0.8ms) DELETE FROM "active_payment_transactions";
8518
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8519
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8520
+  (0.8ms) DELETE FROM "active_payment_transactions";
8521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8522
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8523
+  (0.9ms) DELETE FROM "active_payment_transactions";
8524
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8525
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8526
+  (0.7ms) DELETE FROM "active_payment_transactions";
8527
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8528
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8529
+  (0.6ms) DELETE FROM "active_payment_transactions";
8530
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8531
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8532
+  (0.7ms) DELETE FROM "active_payment_transactions";
8533
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8534
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8535
+  (0.6ms) DELETE FROM "active_payment_transactions";
8536
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8537
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8538
+  (0.8ms) DELETE FROM "active_payment_transactions";
8539
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8540
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8541
+  (0.7ms) DELETE FROM "active_payment_transactions";
8542
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8543
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8544
+  (0.7ms) DELETE FROM "active_payment_transactions";
8545
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8546
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8547
+  (2.8ms) DELETE FROM "active_payment_transactions";
8548
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8549
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8550
+  (0.8ms) DELETE FROM "active_payment_transactions";
8551
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8552
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8553
+  (0.6ms) DELETE FROM "active_payment_transactions";
8554
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8555
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8556
+  (0.7ms) DELETE FROM "active_payment_transactions";
8557
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8558
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8559
+  (0.6ms) DELETE FROM "active_payment_transactions";
8560
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8561
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8562
+  (0.1ms) begin transaction
8563
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.853837"], ["updated_at", "2015-12-09 11:32:20.853837"]]
8564
+  (0.7ms) commit transaction
8565
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
8566
+ Parameters: {"token"=>"invalid_token"}
8567
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "invalid_token"]]
8568
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
8569
+  (1.0ms) DELETE FROM "active_payment_transactions";
8570
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8571
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8572
+  (0.1ms) begin transaction
8573
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.863790"], ["updated_at", "2015-12-09 11:32:20.863790"]]
8574
+  (0.6ms) commit transaction
8575
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
8576
+ Parameters: {"token"=>"5678"}
8577
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8578
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8579
+  (0.0ms) begin transaction
8580
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 2], ["updated_at", "2015-12-09 11:32:20.868696"], ["id", 1]]
8581
+  (0.6ms) commit transaction
8582
+ Redirected to http://test.host/
8583
+ Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
8584
+ ActivePayment::Transaction Load (0.2ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."id" = ? LIMIT 1 [["id", 1]]
8585
+  (0.8ms) DELETE FROM "active_payment_transactions";
8586
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8587
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8588
+  (0.1ms) begin transaction
8589
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.875844"], ["updated_at", "2015-12-09 11:32:20.875844"]]
8590
+  (0.6ms) commit transaction
8591
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
8592
+  (0.2ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" IS NULL
8593
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
8594
+  (0.7ms) DELETE FROM "active_payment_transactions";
8595
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8596
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8597
+  (0.1ms) begin transaction
8598
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.885121"], ["updated_at", "2015-12-09 11:32:20.885121"]]
8599
+  (0.6ms) commit transaction
8600
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#cancel as HTML
8601
+ Parameters: {"token"=>"5678"}
8602
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8603
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8604
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
8605
+  (0.6ms) DELETE FROM "active_payment_transactions";
8606
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8607
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8608
+  (0.1ms) begin transaction
8609
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.894337"], ["updated_at", "2015-12-09 11:32:20.894337"]]
8610
+  (0.7ms) commit transaction
8611
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
8612
+ Parameters: {"token"=>"5678"}
8613
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8614
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8615
+  (0.1ms) begin transaction
8616
+ SQL (0.2ms) UPDATE "active_payment_transactions" SET "paid_at" = ?, "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["paid_at", "2015-09-03 17:21:36.356460"], ["state", 1], ["updated_at", "2015-12-09 11:32:20.902162"], ["id", 1]]
8617
+  (0.6ms) commit transaction
8618
+ Redirected to http://test.host/
8619
+ Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
8620
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."id" = ? LIMIT 1 [["id", 1]]
8621
+  (0.8ms) DELETE FROM "active_payment_transactions";
8622
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8623
+  (1.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8624
+  (0.1ms) begin transaction
8625
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:20.910604"], ["updated_at", "2015-12-09 11:32:20.910604"]]
8626
+  (0.7ms) commit transaction
8627
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
8628
+ Parameters: {"token"=>"5678"}
8629
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8630
+ ActivePayment::Transaction Load (0.0ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8631
+  (0.1ms) begin transaction
8632
+ SQL (0.3ms) UPDATE "active_payment_transactions" SET "state" = ?, "updated_at" = ? WHERE "active_payment_transactions"."id" = ? [["state", 3], ["updated_at", "2015-12-09 11:32:23.882508"], ["id", 1]]
8633
+  (8.7ms) commit transaction
8634
+ Completed 500 Internal Server Error in 2979ms (ActiveRecord: 9.3ms)
8635
+  (0.7ms) DELETE FROM "active_payment_transactions";
8636
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8637
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8638
+  (0.1ms) begin transaction
8639
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:23.897360"], ["updated_at", "2015-12-09 11:32:23.897360"]]
8640
+  (0.6ms) commit transaction
8641
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
8642
+ Parameters: {"token"=>"5678"}
8643
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8644
+ ActivePayment::Transaction Load (0.1ms) SELECT "active_payment_transactions".* FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "5678"]]
8645
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.1ms)
8646
+  (0.8ms) DELETE FROM "active_payment_transactions";
8647
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8648
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8649
+  (0.1ms) begin transaction
8650
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:23.906682"], ["updated_at", "2015-12-09 11:32:23.906682"]]
8651
+  (0.6ms) commit transaction
8652
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
8653
+ Parameters: {"token"=>"invalid_token"}
8654
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "invalid_token"]]
8655
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
8656
+  (0.7ms) DELETE FROM "active_payment_transactions";
8657
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8658
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8659
+  (0.1ms) begin transaction
8660
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:23.915410"], ["updated_at", "2015-12-09 11:32:23.915410"]]
8661
+  (0.6ms) commit transaction
8662
+ Processing by ActivePayment::PaypalExpressCheckoutCallbackController#success as HTML
8663
+  (0.2ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" IS NULL
8664
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
8665
+  (0.7ms) DELETE FROM "active_payment_transactions";
8666
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8667
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8668
+  (8.9ms) DELETE FROM "active_payment_transactions";
8669
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8670
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8671
+  (0.8ms) DELETE FROM "active_payment_transactions";
8672
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8673
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8674
+  (0.7ms) DELETE FROM "active_payment_transactions";
8675
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8676
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8677
+  (0.7ms) DELETE FROM "active_payment_transactions";
8678
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8679
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8680
+  (0.9ms) DELETE FROM "active_payment_transactions";
8681
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8682
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8683
+  (0.9ms) DELETE FROM "active_payment_transactions";
8684
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8685
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8686
+  (0.7ms) DELETE FROM "active_payment_transactions";
8687
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8688
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8689
+  (0.7ms) DELETE FROM "active_payment_transactions";
8690
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8691
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8692
+  (0.1ms) SELECT COUNT(*) FROM "active_payment_transactions" WHERE "active_payment_transactions"."external_id" = ? [["external_id", "1"]]
8693
+  (0.8ms) DELETE FROM "active_payment_transactions";
8694
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8695
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8696
+  (0.7ms) DELETE FROM "active_payment_transactions";
8697
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8698
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8699
+  (0.7ms) DELETE FROM "active_payment_transactions";
8700
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8701
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8702
+  (0.6ms) DELETE FROM "active_payment_transactions";
8703
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8704
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8705
+  (0.1ms) begin transaction
8706
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.072112"], ["updated_at", "2015-12-09 11:32:28.072112"]]
8707
+  (0.6ms) commit transaction
8708
+  (0.8ms) DELETE FROM "active_payment_transactions";
8709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8710
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8711
+  (0.8ms) DELETE FROM "active_payment_transactions";
8712
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8713
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8714
+  (0.9ms) DELETE FROM "active_payment_transactions";
8715
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8716
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8717
+  (0.1ms) begin transaction
8718
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.083602"], ["updated_at", "2015-12-09 11:32:28.083602"]]
8719
+  (0.6ms) commit transaction
8720
+  (0.8ms) DELETE FROM "active_payment_transactions";
8721
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8722
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8723
+  (0.7ms) DELETE FROM "active_payment_transactions";
8724
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8725
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8726
+  (0.1ms) begin transaction
8727
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("currency", "gateway", "amount", "ip_address", "payee_id", "payer_id", "payable_id", "payable_type", "reference_number", "external_id", "metadata", "state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["currency", "USD"], ["gateway", "ActivePayment::Gateways::PaypalAdaptivePayment"], ["amount", 100], ["ip_address", "127.0.0.1"], ["payee_id", 1], ["payer_id", 2], ["payable_id", 3], ["payable_type", "PayableObj"], ["reference_number", "3"], ["external_id", "token"], ["metadata", "---\n:description: description\n"], ["state", 0], ["created_at", "2015-12-09 11:32:28.093021"], ["updated_at", "2015-12-09 11:32:28.093021"]]
8728
+  (1.0ms) commit transaction
8729
+  (1.0ms) DELETE FROM "active_payment_transactions";
8730
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8731
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8732
+  (0.1ms) begin transaction
8733
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.100896"], ["updated_at", "2015-12-09 11:32:28.100896"]]
8734
+  (0.6ms) commit transaction
8735
+  (0.7ms) DELETE FROM "active_payment_transactions";
8736
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8737
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8738
+  (0.1ms) begin transaction
8739
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.106706"], ["updated_at", "2015-12-09 11:32:28.106706"]]
8740
+  (0.6ms) commit transaction
8741
+  (0.7ms) DELETE FROM "active_payment_transactions";
8742
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8743
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8744
+  (0.1ms) begin transaction
8745
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.112075"], ["updated_at", "2015-12-09 11:32:28.112075"]]
8746
+  (1.0ms) commit transaction
8747
+  (0.7ms) DELETE FROM "active_payment_transactions";
8748
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8749
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8750
+  (0.1ms) begin transaction
8751
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.118337"], ["updated_at", "2015-12-09 11:32:28.118337"]]
8752
+  (0.6ms) commit transaction
8753
+  (0.7ms) DELETE FROM "active_payment_transactions";
8754
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8755
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8756
+  (0.1ms) begin transaction
8757
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.124265"], ["updated_at", "2015-12-09 11:32:28.124265"]]
8758
+  (0.7ms) commit transaction
8759
+  (0.7ms) DELETE FROM "active_payment_transactions";
8760
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8761
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8762
+  (0.1ms) begin transaction
8763
+ SQL (0.6ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.130656"], ["updated_at", "2015-12-09 11:32:28.130656"]]
8764
+  (0.6ms) commit transaction
8765
+  (0.6ms) DELETE FROM "active_payment_transactions";
8766
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8767
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8768
+  (0.1ms) begin transaction
8769
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.136921"], ["updated_at", "2015-12-09 11:32:28.136921"]]
8770
+  (0.6ms) commit transaction
8771
+  (0.6ms) DELETE FROM "active_payment_transactions";
8772
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8773
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8774
+  (0.0ms) begin transaction
8775
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.142069"], ["updated_at", "2015-12-09 11:32:28.142069"]]
8776
+  (0.8ms) commit transaction
8777
+  (0.7ms) DELETE FROM "active_payment_transactions";
8778
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8779
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8780
+  (0.1ms) begin transaction
8781
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.148839"], ["updated_at", "2015-12-09 11:32:28.148839"]]
8782
+  (2.3ms) commit transaction
8783
+  (1.4ms) DELETE FROM "active_payment_transactions";
8784
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8785
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8786
+  (0.1ms) begin transaction
8787
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.157478"], ["updated_at", "2015-12-09 11:32:28.157478"]]
8788
+  (0.6ms) commit transaction
8789
+  (0.6ms) DELETE FROM "active_payment_transactions";
8790
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8791
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8792
+  (0.2ms) begin transaction
8793
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.163777"], ["updated_at", "2015-12-09 11:32:28.163777"]]
8794
+  (0.7ms) commit transaction
8795
+  (0.8ms) DELETE FROM "active_payment_transactions";
8796
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8797
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8798
+  (0.1ms) begin transaction
8799
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.169148"], ["updated_at", "2015-12-09 11:32:28.169148"]]
8800
+  (0.6ms) commit transaction
8801
+  (0.7ms) DELETE FROM "active_payment_transactions";
8802
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8803
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8804
+  (0.0ms) begin transaction
8805
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.174494"], ["updated_at", "2015-12-09 11:32:28.174494"]]
8806
+  (0.5ms) commit transaction
8807
+  (0.6ms) DELETE FROM "active_payment_transactions";
8808
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8809
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8810
+  (0.1ms) begin transaction
8811
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.180572"], ["updated_at", "2015-12-09 11:32:28.180572"]]
8812
+  (0.7ms) commit transaction
8813
+  (0.7ms) DELETE FROM "active_payment_transactions";
8814
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8815
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8816
+  (0.1ms) begin transaction
8817
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.186412"], ["updated_at", "2015-12-09 11:32:28.186412"]]
8818
+  (0.7ms) commit transaction
8819
+  (1.3ms) DELETE FROM "active_payment_transactions";
8820
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8821
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8822
+  (0.2ms) begin transaction
8823
+ SQL (0.2ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.192907"], ["updated_at", "2015-12-09 11:32:28.192907"]]
8824
+  (0.5ms) commit transaction
8825
+  (1.4ms) DELETE FROM "active_payment_transactions";
8826
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8827
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8828
+  (0.1ms) begin transaction
8829
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.199261"], ["updated_at", "2015-12-09 11:32:28.199261"]]
8830
+  (0.6ms) commit transaction
8831
+  (0.7ms) DELETE FROM "active_payment_transactions";
8832
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8833
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8834
+  (0.1ms) begin transaction
8835
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.205540"], ["updated_at", "2015-12-09 11:32:28.205540"]]
8836
+  (0.6ms) commit transaction
8837
+  (0.7ms) DELETE FROM "active_payment_transactions";
8838
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8839
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8840
+  (0.1ms) begin transaction
8841
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.211350"], ["updated_at", "2015-12-09 11:32:28.211350"]]
8842
+  (0.7ms) commit transaction
8843
+  (0.6ms) DELETE FROM "active_payment_transactions";
8844
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8845
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8846
+  (0.1ms) begin transaction
8847
+ SQL (0.3ms) INSERT INTO "active_payment_transactions" ("state", "amount", "currency", "reference_number", "external_id", "payee_id", "payer_id", "payable_id", "payable_type", "gateway", "ip_address", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", 0], ["amount", 123], ["currency", "usd"], ["reference_number", "1234"], ["external_id", "5678"], ["payee_id", 1], ["payer_id", 1], ["payable_id", 1], ["payable_type", "PayableObj"], ["gateway", "paypal_express_checkout"], ["ip_address", "127.0.0.1"], ["created_at", "2015-12-09 11:32:28.218089"], ["updated_at", "2015-12-09 11:32:28.218089"]]
8848
+  (0.7ms) commit transaction
8849
+  (0.7ms) DELETE FROM "active_payment_transactions";
8850
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8851
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8852
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8853
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8854
+  (8.3ms) DELETE FROM "active_payment_transactions";
8855
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8856
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8857
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8858
+  (0.9ms) DELETE FROM "active_payment_transactions";
8859
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8860
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8861
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8862
+  (10.0ms) DELETE FROM "active_payment_transactions";
8863
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8864
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8865
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8866
+  (9.1ms) DELETE FROM "active_payment_transactions";
8867
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8868
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8869
+  (0.8ms) DELETE FROM "active_payment_transactions";
8870
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8871
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8872
+  (0.7ms) DELETE FROM "active_payment_transactions";
8873
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8874
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8875
+  (0.7ms) DELETE FROM "active_payment_transactions";
8876
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8877
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8878
+  (0.7ms) DELETE FROM "active_payment_transactions";
8879
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8880
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8881
+  (0.7ms) DELETE FROM "active_payment_transactions";
8882
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8883
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8884
+  (0.8ms) DELETE FROM "active_payment_transactions";
8885
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8886
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8887
+  (0.9ms) DELETE FROM "active_payment_transactions";
8888
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8889
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8890
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8891
+  (8.8ms) DELETE FROM "active_payment_transactions";
8892
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8893
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8894
+  (0.7ms) DELETE FROM "active_payment_transactions";
8895
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8896
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8897
+  (0.8ms) DELETE FROM "active_payment_transactions";
8898
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8899
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8900
+  (0.7ms) DELETE FROM "active_payment_transactions";
8901
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8902
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8903
+  (0.7ms) DELETE FROM "active_payment_transactions";
8904
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8905
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8906
+  (1.6ms) DELETE FROM "active_payment_transactions";
8907
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8908
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8909
+  (2.1ms) DELETE FROM "active_payment_transactions";
8910
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8911
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8912
+  (0.8ms) DELETE FROM "active_payment_transactions";
8913
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8914
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8915
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8916
+  (1.6ms) DELETE FROM "active_payment_transactions";
8917
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8918
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8919
+  (0.7ms) DELETE FROM "active_payment_transactions";
8920
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8921
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8922
+  (1.0ms) DELETE FROM "active_payment_transactions";
8923
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8924
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8925
+  (0.8ms) DELETE FROM "active_payment_transactions";
8926
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8927
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8928
+  (0.6ms) DELETE FROM "active_payment_transactions";
8929
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8930
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8931
+  (0.6ms) DELETE FROM "active_payment_transactions";
8932
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8933
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8934
+  (0.6ms) DELETE FROM "active_payment_transactions";
8935
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8936
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8937
+  (0.6ms) DELETE FROM "active_payment_transactions";
8938
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8939
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8940
+  (0.8ms) DELETE FROM "active_payment_transactions";
8941
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8942
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8943
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8944
+  (8.1ms) DELETE FROM "active_payment_transactions";
8945
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8946
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8947
+  (0.8ms) DELETE FROM "active_payment_transactions";
8948
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8949
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8950
+  (0.7ms) DELETE FROM "active_payment_transactions";
8951
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8952
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8953
+  (0.6ms) DELETE FROM "active_payment_transactions";
8954
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8955
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8956
+  (0.7ms) DELETE FROM "active_payment_transactions";
8957
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8958
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8959
+  (0.8ms) DELETE FROM "active_payment_transactions";
8960
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8961
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8962
+  (0.7ms) DELETE FROM "active_payment_transactions";
8963
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8964
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8965
+  (0.6ms) DELETE FROM "active_payment_transactions";
8966
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8967
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8968
+  (0.8ms) DELETE FROM "active_payment_transactions";
8969
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8970
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8971
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8972
+  (8.0ms) DELETE FROM "active_payment_transactions";
8973
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8974
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8975
+  (1.0ms) DELETE FROM "active_payment_transactions";
8976
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8977
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8978
+  (1.1ms) DELETE FROM "active_payment_transactions";
8979
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8980
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8981
+  (0.8ms) DELETE FROM "active_payment_transactions";
8982
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8983
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8984
+  (0.8ms) DELETE FROM "active_payment_transactions";
8985
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8986
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8987
+  (0.8ms) DELETE FROM "active_payment_transactions";
8988
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8989
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8990
+  (0.9ms) DELETE FROM "active_payment_transactions";
8991
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8992
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8993
+  (0.7ms) DELETE FROM "active_payment_transactions";
8994
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8995
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8996
+  (0.7ms) DELETE FROM "active_payment_transactions";
8997
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
8998
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
8999
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9000
+  (8.4ms) DELETE FROM "active_payment_transactions";
9001
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9002
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9003
+  (1.1ms) DELETE FROM "active_payment_transactions";
9004
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9005
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9006
+  (0.7ms) DELETE FROM "active_payment_transactions";
9007
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9008
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9009
+  (0.6ms) DELETE FROM "active_payment_transactions";
9010
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9011
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9012
+  (0.6ms) DELETE FROM "active_payment_transactions";
9013
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9014
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9015
+  (0.6ms) DELETE FROM "active_payment_transactions";
9016
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9017
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9018
+  (0.9ms) DELETE FROM "active_payment_transactions";
9019
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9020
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9021
+  (0.7ms) DELETE FROM "active_payment_transactions";
9022
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9023
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9024
+  (0.8ms) DELETE FROM "active_payment_transactions";
9025
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9026
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9027
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9028
+  (8.8ms) DELETE FROM "active_payment_transactions";
9029
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9030
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9031
+  (0.9ms) DELETE FROM "active_payment_transactions";
9032
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9033
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9034
+  (0.8ms) DELETE FROM "active_payment_transactions";
9035
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9036
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9037
+  (0.7ms) DELETE FROM "active_payment_transactions";
9038
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9039
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9040
+  (0.7ms) DELETE FROM "active_payment_transactions";
9041
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9042
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9043
+  (0.7ms) DELETE FROM "active_payment_transactions";
9044
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9045
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9046
+  (0.8ms) DELETE FROM "active_payment_transactions";
9047
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9048
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9049
+  (0.7ms) DELETE FROM "active_payment_transactions";
9050
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9051
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';
9052
+  (0.6ms) DELETE FROM "active_payment_transactions";
9053
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
9054
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'active_payment_transactions';