defra_ruby_mocks 1.4.1 → 1.5.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
  SHA256:
3
- metadata.gz: 37b80527c008c3d05100caffb316ae36fd75050a7d5612db07a180f163e3e17a
4
- data.tar.gz: 622dc9a174d7e0af97046b33a12164b37deec2d3574afebd42932b7c7b699171
3
+ metadata.gz: 49581eea82699de82215ca95ff2dab0ff58b782e9c322003859bf211669ae717
4
+ data.tar.gz: 9ee91cdb992f56c2fee2a71be9c4c19d2289b19ea03c29e61076e23f064b19a6
5
5
  SHA512:
6
- metadata.gz: ab9dec997252c0e656cb39c4364e9d2f28e28bfd707309178a3d0e17d3d3289241720cc4c78a1f542edef1545a5d30e43573aea389e6fc69ee33237e47414c95
7
- data.tar.gz: e3f3707826e51e569703a04aaaaeb4593f99db011331ffd73018909c8548f702cf317ccefe0f30308047b3734107b4ce292c8ef740fb362e9647834b3eb79e4c
6
+ metadata.gz: ceeb708b2dd35c00eca628e935edc3e6db111cb731a6cb2721885f00dc7618d1778ff0ad4487b1f9b131e1db9c193ed222b74a148623dcfc84e1de2e55fc842b
7
+ data.tar.gz: 2db7ba1c4d5c1c484b414949e04622809fcd906767c8af69990d19709e6e210f968fbc6657af3f2adfa561e938398e79211b95c4a3cca95224c380ed377b7660
data/README.md CHANGED
@@ -122,6 +122,30 @@ This Worldpay mock replicates those 2 interactions with the following urls
122
122
  - `../worldpay/payments-service`
123
123
  - `../worldpay/dispatcher`
124
124
 
125
+ ##### Cancelled payments
126
+
127
+ The engine has the ability to mock a user cancelling a payment when on the Worldpay site. To have the mock return a cancelled payment response just ensure the registration's company name includes the word `cancel` (case doesn't matter).
128
+
129
+ If it does the engine will redirect back to the cancelled url instead of the success url provided, plus set the payment status to `CANCELLED`.
130
+
131
+ This allows us to test how the application handles Worldpay responding with a cancelled payment response.
132
+
133
+ ##### Errored payments
134
+
135
+ The engine has the ability to Worldpay erroring during a payment. To have the mock return an errored payment response just ensure the registration's company name includes the word `error` (case doesn't matter).
136
+
137
+ If it does the engine will redirect back to the error url instead of the success url provided, plus set the payment status to `ERROR`.
138
+
139
+ This allows us to test how the application handles Worldpay responding with an errored payment response.
140
+
141
+ ##### Pending payments
142
+
143
+ The engine has the ability to also mock Worldpay marking a payment as pending. To have the mock return a payment pending response just ensure the registration's company name includes the word `pending` (case doesn't matter).
144
+
145
+ If it does the engine will redirect back to the pending url instead of the success url provided, plus set the payment status to `SENT_FOR_AUTHORISATION`.
146
+
147
+ This allows us to test how the application handles Worldpay responding with a payment pending response.
148
+
125
149
  ##### Refused payments
126
150
 
127
151
  The engine has the ability to also mock Worldpay refusing a payment. To have the mock refuse payment just ensure the registration's company name includes the word `reject` (case doesn't matter).
@@ -10,14 +10,18 @@ module DefraRubyMocks
10
10
 
11
11
  render_payment_response if @values[:request_type] == :payment
12
12
  render_refund_response if @values[:request_type] == :refund
13
- rescue StandardError
13
+ rescue StandardError => e
14
+ Rails.logger.error("MOCKS: Worldpay payments service error: #{e.message}")
14
15
  head 500
15
16
  end
16
17
 
17
18
  def dispatcher
18
19
  @response = WorldpayResponseService.run(
19
20
  success_url: params[:successURL],
20
- failure_url: params[:failureURL]
21
+ failure_url: params[:failureURL],
22
+ pending_url: params[:pendingURL],
23
+ cancel_url: params[:cancelURL],
24
+ error_url: params[:errorURL]
21
25
  )
22
26
 
23
27
  if @response.status == :STUCK
@@ -25,7 +29,8 @@ module DefraRubyMocks
25
29
  else
26
30
  redirect_to @response.url
27
31
  end
28
- rescue StandardError
32
+ rescue StandardError => e
33
+ Rails.logger.error("MOCKS: Worldpay dispatcher error: #{e.message}")
29
34
  head 500
30
35
  end
31
36
 
@@ -3,11 +3,19 @@
3
3
  module DefraRubyMocks
4
4
  class WorldpayResponseService < BaseService
5
5
 
6
- def run(success_url:, failure_url:)
7
- parse_reference(success_url)
6
+ def run(success_url:, failure_url:, pending_url:, cancel_url:, error_url:)
7
+ urls = {
8
+ success: success_url,
9
+ failure: failure_url,
10
+ pending: pending_url,
11
+ cancel: cancel_url,
12
+ error: error_url
13
+ }
14
+
15
+ parse_reference(urls[:success])
8
16
  @resource = WorldpayResourceService.run(reference: @reference)
9
17
 
10
- generate_response(success_url, failure_url)
18
+ generate_response(urls)
11
19
  end
12
20
 
13
21
  private
@@ -59,27 +67,44 @@ module DefraRubyMocks
59
67
  def payment_status
60
68
  return :REFUSED if @resource.company_name.include?("reject")
61
69
  return :STUCK if @resource.company_name.include?("stuck")
70
+ return :SENT_FOR_AUTHORISATION if @resource.company_name.include?("pending")
71
+ return :CANCELLED if @resource.company_name.include?("cancel")
72
+ return :ERROR if @resource.company_name.include?("error")
62
73
 
63
74
  :AUTHORISED
64
75
  end
65
76
 
77
+ def url(payment_status, urls)
78
+ return urls[:failure] if %i[REFUSED STUCK].include?(payment_status)
79
+ return urls[:pending] if payment_status == :SENT_FOR_AUTHORISATION
80
+ return urls[:cancel] if payment_status == :CANCELLED
81
+ return urls[:error] if payment_status == :ERROR
82
+
83
+ urls[:success]
84
+ end
85
+
86
+ # Generate a mac that matches what Worldpay would generate
87
+ #
88
+ # For whatever reason, if the payment is cancelled by the user Worldpay does
89
+ # not include the payment status in the mac it generates. Plus the order of
90
+ # things in the array is important.
66
91
  def generate_mac(status)
67
92
  data = [
68
93
  order_key,
69
94
  order_value,
70
- "GBP",
71
- status,
72
- DefraRubyMocks.configuration.worldpay_mac_secret
95
+ "GBP"
73
96
  ]
97
+ data << status unless status == :CANCELLED
98
+ data << DefraRubyMocks.configuration.worldpay_mac_secret
74
99
 
75
100
  Digest::MD5.hexdigest(data.join).to_s
76
101
  end
77
102
 
78
- def generate_response(success_url, failure_url)
103
+ def generate_response(urls)
79
104
  status = payment_status
80
105
 
81
106
  WorldpayResponse.new(
82
- status == :AUTHORISED ? success_url : failure_url,
107
+ url(status, urls),
83
108
  @url_format == :new ? "?" : "&",
84
109
  order_key,
85
110
  generate_mac(status),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DefraRubyMocks
4
- VERSION = "1.4.1"
4
+ VERSION = "1.5.0"
5
5
  end
@@ -725,3 +725,719 @@ Processing by DefraRubyMocks::CompanyController#show as HTML
725
725
  Parameters: {"id"=>"foo"}
726
726
  Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
727
727
  Completed 404 Not Found in 1ms (Views: 0.5ms)
728
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
729
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
730
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
731
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
732
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
733
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
734
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
735
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
736
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
737
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
738
+ Processing by DefraRubyMocks::CompanyController#show as HTML
739
+ Parameters: {"id"=>"05868270"}
740
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (10.5ms)
741
+ Completed 200 OK in 32ms (Views: 31.8ms)
742
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
743
+ Processing by DefraRubyMocks::CompanyController#show as HTML
744
+ Parameters: {"id"=>"99999999"}
745
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.4ms)
746
+ Completed 404 Not Found in 4ms (Views: 4.3ms)
747
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
748
+ Processing by DefraRubyMocks::CompanyController#show as HTML
749
+ Parameters: {"id"=>"foo"}
750
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
751
+ Completed 404 Not Found in 1ms (Views: 0.5ms)
752
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
753
+ Processing by DefraRubyMocks::CompanyController#show as HTML
754
+ Parameters: {"id"=>"SC247974"}
755
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
756
+ Completed 200 OK in 1ms (Views: 0.4ms)
757
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
758
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
759
+ Completed 500 Internal Server Error in 11ms
760
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
761
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
762
+ Completed 500 Internal Server Error in 0ms
763
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:44:12 +0100
764
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
765
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
766
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (2.3ms)
767
+ Completed 200 OK in 17ms (Views: 16.3ms)
768
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
769
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
770
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.1ms)
771
+ Completed 200 OK in 1ms (Views: 0.4ms)
772
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
773
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
774
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
775
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
776
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
777
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
778
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
779
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
780
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
781
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
782
+ Processing by DefraRubyMocks::CompanyController#show as HTML
783
+ Parameters: {"id"=>"05868270"}
784
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.4ms)
785
+ Completed 200 OK in 13ms (Views: 12.3ms)
786
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
787
+ Processing by DefraRubyMocks::CompanyController#show as HTML
788
+ Parameters: {"id"=>"foo"}
789
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.4ms)
790
+ Completed 404 Not Found in 18ms (Views: 18.2ms)
791
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
792
+ Processing by DefraRubyMocks::CompanyController#show as HTML
793
+ Parameters: {"id"=>"SC247974"}
794
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
795
+ Completed 200 OK in 1ms (Views: 0.4ms)
796
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
797
+ Processing by DefraRubyMocks::CompanyController#show as HTML
798
+ Parameters: {"id"=>"99999999"}
799
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.0ms)
800
+ Completed 404 Not Found in 0ms (Views: 0.4ms)
801
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:45:57 +0100
802
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
803
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
804
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (1.8ms)
805
+ Completed 200 OK in 14ms (Views: 13.6ms)
806
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
807
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
808
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.1ms)
809
+ Completed 200 OK in 1ms (Views: 0.4ms)
810
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
811
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
812
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
813
+ Processing by DefraRubyMocks::CompanyController#show as HTML
814
+ Parameters: {"id"=>"99999999"}
815
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.4ms)
816
+ Completed 404 Not Found in 14ms (Views: 13.5ms)
817
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
818
+ Processing by DefraRubyMocks::CompanyController#show as HTML
819
+ Parameters: {"id"=>"foo"}
820
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
821
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
822
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
823
+ Processing by DefraRubyMocks::CompanyController#show as HTML
824
+ Parameters: {"id"=>"SC247974"}
825
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.4ms)
826
+ Completed 200 OK in 4ms (Views: 4.2ms)
827
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
828
+ Processing by DefraRubyMocks::CompanyController#show as HTML
829
+ Parameters: {"id"=>"05868270"}
830
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
831
+ Completed 200 OK in 1ms (Views: 0.4ms)
832
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
833
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
834
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/refund_request.xml.erb (0.5ms)
835
+ Completed 200 OK in 15ms (Views: 14.0ms)
836
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
837
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
838
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/payment_request.xml.erb (0.5ms)
839
+ Completed 200 OK in 17ms (Views: 16.5ms)
840
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
841
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
842
+ Completed 500 Internal Server Error in 0ms
843
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
844
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
845
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
846
+ Completed 500 Internal Server Error in 0ms
847
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
848
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
849
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
850
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
851
+ Completed 302 Found in 1ms
852
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
853
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
854
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
855
+ Redirected to http://www.example.com/defra_ruby_mocks/worldpay/stuck
856
+ Completed 302 Found in 1ms
857
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
858
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:46:38 +0100
859
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
860
+ Processing by DefraRubyMocks::CompanyController#show as HTML
861
+ Parameters: {"id"=>"05868270"}
862
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (1.7ms)
863
+ Completed 200 OK in 21ms (Views: 20.5ms)
864
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
865
+ Processing by DefraRubyMocks::CompanyController#show as HTML
866
+ Parameters: {"id"=>"99999999"}
867
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.4ms)
868
+ Completed 404 Not Found in 13ms (Views: 13.2ms)
869
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
870
+ Processing by DefraRubyMocks::CompanyController#show as HTML
871
+ Parameters: {"id"=>"foo"}
872
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
873
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
874
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
875
+ Processing by DefraRubyMocks::CompanyController#show as HTML
876
+ Parameters: {"id"=>"SC247974"}
877
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
878
+ Completed 200 OK in 1ms (Views: 0.4ms)
879
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
880
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
881
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
882
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
883
+ Completed 200 OK in 6ms (Views: 5.8ms)
884
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
885
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
886
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.1ms)
887
+ Completed 200 OK in 0ms (Views: 0.3ms)
888
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
889
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
890
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
891
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
892
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
893
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
894
+ Redirected to http://www.example.com/defra_ruby_mocks/worldpay/stuck
895
+ Completed 302 Found in 1ms
896
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
897
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
898
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
899
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
900
+ Completed 302 Found in 1ms
901
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
902
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
903
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
904
+ Completed 500 Internal Server Error in 0ms
905
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
906
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
907
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/refund_request.xml.erb (0.5ms)
908
+ Completed 200 OK in 14ms (Views: 14.0ms)
909
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
910
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
911
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/payment_request.xml.erb (0.4ms)
912
+ Completed 200 OK in 5ms (Views: 4.9ms)
913
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:00 +0100
914
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
915
+ Completed 500 Internal Server Error in 0ms
916
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
917
+ Processing by DefraRubyMocks::CompanyController#show as HTML
918
+ Parameters: {"id"=>"99999999"}
919
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (11.5ms)
920
+ Completed 404 Not Found in 31ms (Views: 31.0ms)
921
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
922
+ Processing by DefraRubyMocks::CompanyController#show as HTML
923
+ Parameters: {"id"=>"SC247974"}
924
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.3ms)
925
+ Completed 200 OK in 4ms (Views: 3.7ms)
926
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
927
+ Processing by DefraRubyMocks::CompanyController#show as HTML
928
+ Parameters: {"id"=>"foo"}
929
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
930
+ Completed 404 Not Found in 1ms (Views: 0.5ms)
931
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
932
+ Processing by DefraRubyMocks::CompanyController#show as HTML
933
+ Parameters: {"id"=>"05868270"}
934
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
935
+ Completed 200 OK in 1ms (Views: 0.4ms)
936
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
937
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
938
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
939
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
940
+ Completed 200 OK in 15ms (Views: 14.2ms)
941
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
942
+ Processing by DefraRubyMocks::WorldpayController#stuck as HTML
943
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.1ms)
944
+ Completed 200 OK in 0ms (Views: 0.4ms)
945
+ Started GET "/defra_ruby_mocks/worldpay/stuck" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
946
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
947
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
948
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
949
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
950
+ Completed 302 Found in 1ms
951
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
952
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
953
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
954
+ Redirected to http://www.example.com/defra_ruby_mocks/worldpay/stuck
955
+ Completed 302 Found in 1ms
956
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
957
+ Processing by DefraRubyMocks::WorldpayApiController#dispatcher as HTML
958
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
959
+ Completed 500 Internal Server Error in 0ms
960
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
961
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
962
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/refund_request.xml.erb (0.5ms)
963
+ Completed 200 OK in 13ms (Views: 12.8ms)
964
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
965
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
966
+ Completed 500 Internal Server Error in 0ms
967
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
968
+ Processing by DefraRubyMocks::WorldpayApiController#payments_service as HTML
969
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay_api/payment_request.xml.erb (0.5ms)
970
+ Completed 200 OK in 4ms (Views: 3.8ms)
971
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
972
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-04 21:47:16 +0100
973
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
974
+ Processing by DefraRubyMocks::CompanyController#show as HTML
975
+ Parameters: {"id"=>"foo"}
976
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (1.8ms)
977
+ Completed 404 Not Found in 30ms (Views: 29.6ms)
978
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
979
+ Processing by DefraRubyMocks::CompanyController#show as HTML
980
+ Parameters: {"id"=>"SC247974"}
981
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.3ms)
982
+ Completed 200 OK in 4ms (Views: 3.8ms)
983
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
984
+ Processing by DefraRubyMocks::CompanyController#show as HTML
985
+ Parameters: {"id"=>"99999999"}
986
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
987
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
988
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
989
+ Processing by DefraRubyMocks::CompanyController#show as HTML
990
+ Parameters: {"id"=>"05868270"}
991
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
992
+ Completed 200 OK in 1ms (Views: 0.4ms)
993
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
994
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
995
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
996
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
997
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
998
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.4ms)
999
+ Completed 200 OK in 14ms (Views: 13.4ms)
1000
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
1001
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1002
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.4ms)
1003
+ Completed 200 OK in 6ms (Views: 5.2ms)
1004
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
1005
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1006
+ Completed 500 Internal Server Error in 0ms
1007
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
1008
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1009
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1010
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1011
+ Completed 302 Found in 0ms
1012
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
1013
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1014
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1015
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
1016
+ Completed 200 OK in 6ms (Views: 5.2ms)
1017
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-05 10:58:38 +0100
1018
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1019
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
1020
+ Completed 500 Internal Server Error in 0ms
1021
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-05 11:08:07 +0100
1022
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1023
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
1024
+ Completed 500 Internal Server Error in 0ms
1025
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:08:07 +0100
1026
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1027
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1028
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1029
+ Completed 302 Found in 1ms
1030
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:08:07 +0100
1031
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1032
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1033
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (1.9ms)
1034
+ Completed 200 OK in 14ms (Views: 13.1ms)
1035
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-05 11:13:31 +0100
1036
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1037
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
1038
+ Completed 500 Internal Server Error in 1ms
1039
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-05 11:14:51 +0100
1040
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1041
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
1042
+ Completed 500 Internal Server Error in 0ms
1043
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:14:52 +0100
1044
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1045
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1046
+ Completed 500 Internal Server Error in 14ms
1047
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:14:52 +0100
1048
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1049
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1050
+ Completed 500 Internal Server Error in 1ms
1051
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin" for 127.0.0.1 at 2020-06-05 11:15:56 +0100
1052
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1053
+ Parameters: {"successURL"=>"http://example.com/forthewin"}
1054
+ Completed 500 Internal Server Error in 0ms
1055
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:15:56 +0100
1056
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1057
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1058
+ Completed 500 Internal Server Error in 18ms
1059
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess" for 127.0.0.1 at 2020-06-05 11:15:56 +0100
1060
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1061
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success"}
1062
+ Completed 500 Internal Server Error in 1ms
1063
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:19:53 +0100
1064
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1065
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1066
+ Completed 500 Internal Server Error in 21ms
1067
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:19:53 +0100
1068
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1069
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1070
+ Completed 500 Internal Server Error in 1ms
1071
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:19:53 +0100
1072
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1073
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1074
+ Completed 500 Internal Server Error in 0ms
1075
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:20:33 +0100
1076
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1077
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1078
+ Completed 500 Internal Server Error in 0ms
1079
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:20:33 +0100
1080
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1081
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1082
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (2.2ms)
1083
+ Completed 200 OK in 14ms (Views: 13.2ms)
1084
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:20:33 +0100
1085
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1086
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1087
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1088
+ Completed 302 Found in 1ms
1089
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1090
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1091
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (1.8ms)
1092
+ Completed 200 OK in 22ms (Views: 21.1ms)
1093
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1094
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1095
+ Completed 500 Internal Server Error in 0ms
1096
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1097
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1098
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1099
+ Completed 200 OK in 6ms (Views: 5.1ms)
1100
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1101
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1102
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1103
+ Completed 500 Internal Server Error in 0ms
1104
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1105
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1106
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1107
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
1108
+ Completed 200 OK in 5ms (Views: 4.3ms)
1109
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1110
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1111
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending"}
1112
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1113
+ Completed 302 Found in 0ms
1114
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1115
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1116
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1117
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1118
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1119
+ Parameters: {"id"=>"foo"}
1120
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.4ms)
1121
+ Completed 404 Not Found in 13ms (Views: 12.8ms)
1122
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1123
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1124
+ Parameters: {"id"=>"SC247974"}
1125
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.3ms)
1126
+ Completed 200 OK in 4ms (Views: 3.8ms)
1127
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1128
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1129
+ Parameters: {"id"=>"05868270"}
1130
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
1131
+ Completed 200 OK in 1ms (Views: 0.4ms)
1132
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-05 11:29:35 +0100
1133
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1134
+ Parameters: {"id"=>"99999999"}
1135
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
1136
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
1137
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1138
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1139
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1140
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1141
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (3.2ms)
1142
+ Completed 200 OK in 28ms (Views: 23.7ms)
1143
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1144
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1145
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1146
+ Completed 200 OK in 6ms (Views: 4.9ms)
1147
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1148
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1149
+ Completed 500 Internal Server Error in 0ms
1150
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1151
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1152
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1153
+ Completed 500 Internal Server Error in 0ms
1154
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1155
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1156
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1157
+ Completed 500 Internal Server Error in 22ms
1158
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:10 +0100
1159
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1160
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1161
+ Completed 500 Internal Server Error in 1ms
1162
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1163
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1164
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1165
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1166
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1167
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (2.0ms)
1168
+ Completed 200 OK in 15ms (Views: 14.5ms)
1169
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1170
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1171
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1172
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1173
+ Completed 302 Found in 0ms
1174
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1175
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1176
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1177
+ Completed 500 Internal Server Error in 0ms
1178
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1179
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1180
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1181
+ Completed 200 OK in 15ms (Views: 12.2ms)
1182
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1183
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1184
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1185
+ Completed 200 OK in 7ms (Views: 5.0ms)
1186
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 11:53:59 +0100
1187
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1188
+ Completed 500 Internal Server Error in 0ms
1189
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1190
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1191
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (8.7ms)
1192
+ Completed 200 OK in 31ms (Views: 27.8ms)
1193
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1194
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1195
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1196
+ Completed 200 OK in 6ms (Views: 4.8ms)
1197
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1198
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1199
+ Completed 500 Internal Server Error in 0ms
1200
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1201
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1202
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1203
+ Completed 500 Internal Server Error in 0ms
1204
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1205
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1206
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1207
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1208
+ Completed 302 Found in 1ms
1209
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1210
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1211
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1212
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.8ms)
1213
+ Completed 200 OK in 7ms (Views: 6.5ms)
1214
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1215
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 13:37:05 +0100
1216
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1217
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1218
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1219
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1220
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (1.7ms)
1221
+ Completed 200 OK in 30ms (Views: 20.9ms)
1222
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1223
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1224
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1225
+ Completed 200 OK in 6ms (Views: 5.0ms)
1226
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1227
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1228
+ Completed 500 Internal Server Error in 0ms
1229
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1230
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1231
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1232
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1233
+ Completed 302 Found in 1ms
1234
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1235
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1236
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1237
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.6ms)
1238
+ Completed 200 OK in 4ms (Views: 3.7ms)
1239
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel" for 127.0.0.1 at 2020-06-05 15:11:40 +0100
1240
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1241
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel"}
1242
+ Completed 500 Internal Server Error in 0ms
1243
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1244
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1245
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1246
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1247
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1248
+ Completed 500 Internal Server Error in 0ms
1249
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1250
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1251
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1252
+ Completed 500 Internal Server Error in 25ms
1253
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1254
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1255
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1256
+ Completed 500 Internal Server Error in 3ms
1257
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1258
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1259
+ Completed 500 Internal Server Error in 2ms
1260
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1261
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1262
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (2.1ms)
1263
+ Completed 200 OK in 33ms (Views: 31.5ms)
1264
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:13:25 +0100
1265
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1266
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1267
+ Completed 200 OK in 7ms (Views: 5.1ms)
1268
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1269
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1270
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1271
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1272
+ Completed 302 Found in 1ms
1273
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1274
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1275
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1276
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (2.0ms)
1277
+ Completed 200 OK in 13ms (Views: 13.0ms)
1278
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1279
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1280
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1281
+ Completed 500 Internal Server Error in 0ms
1282
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1283
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1284
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1285
+ Completed 200 OK in 15ms (Views: 12.2ms)
1286
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1287
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1288
+ Completed 500 Internal Server Error in 0ms
1289
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1290
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1291
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1292
+ Completed 200 OK in 7ms (Views: 5.1ms)
1293
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1294
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:14:11 +0100
1295
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1296
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1297
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1298
+ Parameters: {"id"=>"foo"}
1299
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (1.7ms)
1300
+ Completed 404 Not Found in 31ms (Views: 30.6ms)
1301
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1302
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1303
+ Parameters: {"id"=>"SC247974"}
1304
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.3ms)
1305
+ Completed 200 OK in 4ms (Views: 3.8ms)
1306
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1307
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1308
+ Parameters: {"id"=>"99999999"}
1309
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.0ms)
1310
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
1311
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1312
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1313
+ Parameters: {"id"=>"05868270"}
1314
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
1315
+ Completed 200 OK in 1ms (Views: 0.4ms)
1316
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1317
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1318
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.4ms)
1319
+ Completed 200 OK in 13ms (Views: 12.7ms)
1320
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1321
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1322
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1323
+ Completed 500 Internal Server Error in 1ms
1324
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1325
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1326
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1327
+ Completed 200 OK in 5ms (Views: 4.9ms)
1328
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1329
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1330
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1331
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
1332
+ Completed 200 OK in 5ms (Views: 4.2ms)
1333
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1334
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1335
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1336
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1337
+ Completed 302 Found in 1ms
1338
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1339
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1340
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1341
+ Completed 500 Internal Server Error in 7ms
1342
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1343
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:36:01 +0100
1344
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1345
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1346
+ Parameters: {"id"=>"foo"}
1347
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (1.5ms)
1348
+ Completed 404 Not Found in 30ms (Views: 30.1ms)
1349
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1350
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1351
+ Parameters: {"id"=>"SC247974"}
1352
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.3ms)
1353
+ Completed 200 OK in 4ms (Views: 3.8ms)
1354
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1355
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1356
+ Parameters: {"id"=>"99999999"}
1357
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
1358
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
1359
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1360
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1361
+ Parameters: {"id"=>"05868270"}
1362
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
1363
+ Completed 200 OK in 1ms (Views: 0.4ms)
1364
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1365
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1366
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1367
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1368
+ MOCKs: Worldpay dispatcher error: Could not find resource: foo
1369
+ Completed 500 Internal Server Error in 0ms
1370
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1371
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1372
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1373
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.7ms)
1374
+ Completed 200 OK in 7ms (Views: 6.6ms)
1375
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1376
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1377
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1378
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1379
+ Completed 302 Found in 0ms
1380
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1381
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1382
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1383
+ Completed 200 OK in 13ms (Views: 12.8ms)
1384
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1385
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1386
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1387
+ Completed 500 Internal Server Error in 1ms
1388
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1389
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1390
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.4ms)
1391
+ Completed 200 OK in 5ms (Views: 4.8ms)
1392
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1393
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:36:18 +0100
1394
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1395
+ Started GET "/defra_ruby_mocks/company/99999999" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1396
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1397
+ Parameters: {"id"=>"99999999"}
1398
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (1.8ms)
1399
+ Completed 404 Not Found in 22ms (Views: 21.3ms)
1400
+ Started GET "/defra_ruby_mocks/company/05868270" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1401
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1402
+ Parameters: {"id"=>"05868270"}
1403
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.4ms)
1404
+ Completed 200 OK in 4ms (Views: 3.7ms)
1405
+ Started GET "/defra_ruby_mocks/company/foo" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1406
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1407
+ Parameters: {"id"=>"foo"}
1408
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/not_found.json.erb (0.1ms)
1409
+ Completed 404 Not Found in 1ms (Views: 0.4ms)
1410
+ Started GET "/defra_ruby_mocks/company/SC247974" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1411
+ Processing by DefraRubyMocks::CompanyController#show as HTML
1412
+ Parameters: {"id"=>"SC247974"}
1413
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/company/show.json.erb (0.1ms)
1414
+ Completed 200 OK in 0ms (Views: 0.3ms)
1415
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1416
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1417
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1418
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1419
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/refund_request.xml.erb (0.5ms)
1420
+ Completed 200 OK in 14ms (Views: 13.2ms)
1421
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1422
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1423
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/payment_request.xml.erb (0.5ms)
1424
+ Completed 200 OK in 13ms (Views: 12.6ms)
1425
+ Started GET "/defra_ruby_mocks/worldpay/payments-service" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1426
+ Processing by DefraRubyMocks::WorldpayController#payments_service as HTML
1427
+ MOCKS: Worldpay payments service error: undefined method `text' for nil:NilClass
1428
+ Completed 500 Internal Server Error in 1ms
1429
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1430
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1431
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1432
+ Redirected to http://example.com/fo/12345/worldpay/success?orderKey=admincode1^^987654&paymentStatus=AUTHORISED&paymentAmount=10500&paymentCurrency=GBP&mac=0ba5271e1ed1b26f9bb428ef7fb536a4&source=WP
1433
+ Completed 302 Found in 1ms
1434
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fsuccess&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1435
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1436
+ Parameters: {"successURL"=>"http://example.com/fo/12345/worldpay/success", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1437
+ Rendered /Users/acruikshanks/projects/gitlab/wcr-vagrant/defra-ruby-mocks/app/views/defra_ruby_mocks/worldpay/stuck.html.erb (0.6ms)
1438
+ Completed 200 OK in 4ms (Views: 3.9ms)
1439
+ Started GET "/defra_ruby_mocks/worldpay/dispatcher?successURL=http%3A%2F%2Fexample.com%2Fforthewin&failureURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ffailure&pendingURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fpending&cancelURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Fcancel&errorURL=http%3A%2F%2Fexample.com%2Ffo%2F12345%2Fworldpay%2Ferror" for 127.0.0.1 at 2020-06-05 15:52:25 +0100
1440
+ Processing by DefraRubyMocks::WorldpayController#dispatcher as HTML
1441
+ Parameters: {"successURL"=>"http://example.com/forthewin", "failureURL"=>"http://example.com/fo/12345/worldpay/failure", "pendingURL"=>"http://example.com/fo/12345/worldpay/pending", "cancelURL"=>"http://example.com/fo/12345/worldpay/cancel", "errorURL"=>"http://example.com/fo/12345/worldpay/error"}
1442
+ MOCKS: Worldpay dispatcher error: Could not find resource: foo
1443
+ Completed 500 Internal Server Error in 0ms