Created
April 24, 2012 14:10
-
-
Save doesterr/2479990 to your computer and use it in GitHub Desktop.
adyen rspec output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rspec -c | |
.....................................................................................................................................................................................................................................................................#<Adyen::API::PaymentService::AuthorisationResponse:0x00000103152e18 @http_response=#<Net::HTTPInternalServerError 500 Internal Server Error readbody=true>, @xml_querier=<?xml version="1.0"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<soap:Body> | |
<soap:Fault> | |
<faultcode>soap:Server</faultcode> | |
<faultstring>security 010 Not allowed</faultstring> | |
</soap:Fault> | |
</soap:Body> | |
</soap:Envelope> | |
, @fault_message="security 010 Not allowed"> | |
FFFFFFFF | |
Failures: | |
1) Adyen::API with an actual remote connection performs a payment request | |
Failure/Error: @payment_response.should be_authorized | |
expected authorized? to return true, got false | |
# ./spec/functional/api_spec.rb:34:in `block (2 levels) in <top (required)>' | |
2) Adyen::API with an actual remote connection performs a recurring payment request | |
Failure/Error: response.should be_authorized | |
expected authorized? to return true, got false | |
# ./spec/functional/api_spec.rb:44:in `block (2 levels) in <top (required)>' | |
3) Adyen::API with an actual remote connection performs a one-click payment request | |
Failure/Error: detail = Adyen::API.list_recurring_details(@user_id).references.last | |
NoMethodError: | |
undefined method `map' for nil:NilClass | |
# ./lib/adyen/api/recurring_service.rb:99:in `references' | |
# ./spec/functional/api_spec.rb:49:in `block (2 levels) in <top (required)>' | |
4) Adyen::API with an actual remote connection captures a payment | |
Failure/Error: response = Adyen::API.capture_payment(@payment_response.psp_reference, { :currency => 'EUR', :value => '1234' }) | |
ArgumentError: | |
The required parameter `:psp_reference' is missing. | |
# ./lib/adyen/api/simple_soap_client.rb:78:in `validate_parameter_value!' | |
# ./lib/adyen/api/simple_soap_client.rb:86:in `block in validate_parameters!' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `each' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `validate_parameters!' | |
# ./lib/adyen/api/payment_service.rb:133:in `capture_and_refund_params' | |
# ./lib/adyen/api/payment_service.rb:115:in `capture_request_body' | |
# ./lib/adyen/api/payment_service.rb:60:in `capture' | |
# ./lib/adyen/api.rb:210:in `capture_payment' | |
# ./spec/functional/api_spec.rb:80:in `block (2 levels) in <top (required)>' | |
5) Adyen::API with an actual remote connection refunds a payment | |
Failure/Error: response = Adyen::API.refund_payment(@payment_response.psp_reference, { :currency => 'EUR', :value => '1234' }) | |
ArgumentError: | |
The required parameter `:psp_reference' is missing. | |
# ./lib/adyen/api/simple_soap_client.rb:78:in `validate_parameter_value!' | |
# ./lib/adyen/api/simple_soap_client.rb:86:in `block in validate_parameters!' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `each' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `validate_parameters!' | |
# ./lib/adyen/api/payment_service.rb:133:in `capture_and_refund_params' | |
# ./lib/adyen/api/payment_service.rb:119:in `refund_request_body' | |
# ./lib/adyen/api/payment_service.rb:65:in `refund' | |
# ./lib/adyen/api.rb:228:in `refund_payment' | |
# ./spec/functional/api_spec.rb:85:in `block (2 levels) in <top (required)>' | |
6) Adyen::API with an actual remote connection cancels or refunds a payment | |
Failure/Error: response = Adyen::API.cancel_or_refund_payment(@payment_response.psp_reference) | |
ArgumentError: | |
The required parameter `:psp_reference' is missing. | |
# ./lib/adyen/api/simple_soap_client.rb:78:in `validate_parameter_value!' | |
# ./lib/adyen/api/simple_soap_client.rb:86:in `block in validate_parameters!' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `each' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `validate_parameters!' | |
# ./lib/adyen/api/payment_service.rb:123:in `cancel_or_refund_request_body' | |
# ./lib/adyen/api/payment_service.rb:75:in `cancel_or_refund' | |
# ./lib/adyen/api.rb:243:in `cancel_or_refund_payment' | |
# ./spec/functional/api_spec.rb:90:in `block (2 levels) in <top (required)>' | |
7) Adyen::API with an actual remote connection cancels a payment | |
Failure/Error: response = Adyen::API.cancel_payment(@payment_response.psp_reference) | |
ArgumentError: | |
The required parameter `:psp_reference' is missing. | |
# ./lib/adyen/api/simple_soap_client.rb:78:in `validate_parameter_value!' | |
# ./lib/adyen/api/simple_soap_client.rb:86:in `block in validate_parameters!' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `each' | |
# ./lib/adyen/api/simple_soap_client.rb:83:in `validate_parameters!' | |
# ./lib/adyen/api/payment_service.rb:128:in `cancel_request_body' | |
# ./lib/adyen/api/payment_service.rb:70:in `cancel' | |
# ./lib/adyen/api.rb:257:in `cancel_payment' | |
# ./spec/functional/api_spec.rb:95:in `block (2 levels) in <top (required)>' | |
8) Adyen::API with an actual remote connection disables a recurring contract | |
Failure/Error: response.should be_success | |
expected success? to return true, got false | |
# ./spec/functional/api_spec.rb:101:in `block (2 levels) in <top (required)>' | |
Finished in 1.72 seconds | |
269 examples, 8 failures | |
Failed examples: | |
rspec ./spec/functional/api_spec.rb:32 # Adyen::API with an actual remote connection performs a payment request | |
rspec ./spec/functional/api_spec.rb:38 # Adyen::API with an actual remote connection performs a recurring payment request | |
rspec ./spec/functional/api_spec.rb:48 # Adyen::API with an actual remote connection performs a one-click payment request | |
rspec ./spec/functional/api_spec.rb:79 # Adyen::API with an actual remote connection captures a payment | |
rspec ./spec/functional/api_spec.rb:84 # Adyen::API with an actual remote connection refunds a payment | |
rspec ./spec/functional/api_spec.rb:89 # Adyen::API with an actual remote connection cancels or refunds a payment | |
rspec ./spec/functional/api_spec.rb:94 # Adyen::API with an actual remote connection cancels a payment | |
rspec ./spec/functional/api_spec.rb:99 # Adyen::API with an actual remote connection disables a recurring contract |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment