braintree 2.34.1 → 2.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/braintree/transaction.rb +2 -0
- data/lib/braintree/version.rb +2 -2
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/transaction_spec.rb +2 -1
- metadata +142 -142
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8255caf771801b6ed236593abe70c8588af90ac
|
4
|
+
data.tar.gz: a8b79d3b27f4aad1108fe0525353c84d895beade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a30b1f2eefc20f98eebb9c28fa10b912037ce08deca61fef0a4b3434a56b013e7b472e5d9a5a0160d25012e5aebb49bd5d79f3ed2d62aafd698a6aef1a5d30ee
|
7
|
+
data.tar.gz: d58234dd3dfe67b7edfa094c00c3f940c26770efd48bc5d6e3a2634de811ccf4d7601e0773d9bebc4e8550e304ef125f8403cb4794d80ca06be0487c6d5f28d3
|
@@ -88,6 +88,8 @@ module Braintree
|
|
88
88
|
attr_reader :processor_response_code
|
89
89
|
# The response text from the processor.
|
90
90
|
attr_reader :processor_response_text
|
91
|
+
# The raw response from the processor.
|
92
|
+
attr_reader :additional_processor_response
|
91
93
|
# The settlement response code from the processor.
|
92
94
|
attr_reader :processor_settlement_response_code
|
93
95
|
# The settlement response text from the processor.
|
data/lib/braintree/version.rb
CHANGED
data/spec/httpsd.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
28882
|
@@ -366,7 +366,7 @@ describe Braintree::Transaction do
|
|
366
366
|
result.success?.should == true
|
367
367
|
end
|
368
368
|
|
369
|
-
it "returns processor response code and text if declined" do
|
369
|
+
it "returns processor response code and text as well as the additional processor response if declined" do
|
370
370
|
result = Braintree::Transaction.create(
|
371
371
|
:type => "sale",
|
372
372
|
:amount => Braintree::Test::TransactionAmounts::Decline,
|
@@ -381,6 +381,7 @@ describe Braintree::Transaction do
|
|
381
381
|
result.transaction.status.should == Braintree::Transaction::Status::ProcessorDeclined
|
382
382
|
result.transaction.processor_response_code.should == "2000"
|
383
383
|
result.transaction.processor_response_text.should == "Do Not Honor"
|
384
|
+
result.transaction.additional_processor_response.should == "2000 : Do Not Honor"
|
384
385
|
end
|
385
386
|
|
386
387
|
it "accepts all four country codes" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braintree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -30,179 +30,179 @@ executables: []
|
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
|
-
- README.rdoc
|
34
33
|
- LICENSE
|
35
|
-
-
|
36
|
-
-
|
37
|
-
- lib/braintree
|
38
|
-
- lib/braintree/
|
39
|
-
- lib/braintree/
|
40
|
-
- lib/braintree/
|
34
|
+
- README.rdoc
|
35
|
+
- braintree.gemspec
|
36
|
+
- lib/braintree.rb
|
37
|
+
- lib/braintree/add_on.rb
|
38
|
+
- lib/braintree/add_on_gateway.rb
|
39
|
+
- lib/braintree/address.rb
|
41
40
|
- lib/braintree/address/country_names.rb
|
42
|
-
- lib/braintree/
|
43
|
-
- lib/braintree/
|
44
|
-
- lib/braintree/
|
41
|
+
- lib/braintree/address_gateway.rb
|
42
|
+
- lib/braintree/advanced_search.rb
|
43
|
+
- lib/braintree/base_module.rb
|
44
|
+
- lib/braintree/client_token.rb
|
45
|
+
- lib/braintree/client_token_gateway.rb
|
46
|
+
- lib/braintree/configuration.rb
|
47
|
+
- lib/braintree/credit_card.rb
|
48
|
+
- lib/braintree/credit_card_gateway.rb
|
49
|
+
- lib/braintree/credit_card_verification.rb
|
45
50
|
- lib/braintree/credit_card_verification_gateway.rb
|
46
|
-
- lib/braintree/
|
51
|
+
- lib/braintree/credit_card_verification_search.rb
|
52
|
+
- lib/braintree/customer.rb
|
53
|
+
- lib/braintree/customer_gateway.rb
|
47
54
|
- lib/braintree/customer_search.rb
|
55
|
+
- lib/braintree/descriptor.rb
|
56
|
+
- lib/braintree/digest.rb
|
57
|
+
- lib/braintree/disbursement.rb
|
58
|
+
- lib/braintree/discount.rb
|
59
|
+
- lib/braintree/discount_gateway.rb
|
60
|
+
- lib/braintree/dispute.rb
|
61
|
+
- lib/braintree/dispute/transaction_details.rb
|
62
|
+
- lib/braintree/error_codes.rb
|
63
|
+
- lib/braintree/error_result.rb
|
64
|
+
- lib/braintree/errors.rb
|
65
|
+
- lib/braintree/exceptions.rb
|
66
|
+
- lib/braintree/gateway.rb
|
48
67
|
- lib/braintree/http.rb
|
49
|
-
- lib/braintree/
|
68
|
+
- lib/braintree/merchant_account.rb
|
69
|
+
- lib/braintree/merchant_account/address_details.rb
|
70
|
+
- lib/braintree/merchant_account/business_details.rb
|
71
|
+
- lib/braintree/merchant_account/funding_details.rb
|
72
|
+
- lib/braintree/merchant_account/individual_details.rb
|
73
|
+
- lib/braintree/merchant_account_gateway.rb
|
50
74
|
- lib/braintree/modification.rb
|
51
|
-
- lib/braintree/
|
75
|
+
- lib/braintree/payment_instrument_type.rb
|
76
|
+
- lib/braintree/payment_method.rb
|
77
|
+
- lib/braintree/payment_method_gateway.rb
|
78
|
+
- lib/braintree/paypal_account.rb
|
79
|
+
- lib/braintree/paypal_account_gateway.rb
|
80
|
+
- lib/braintree/plan.rb
|
81
|
+
- lib/braintree/plan_gateway.rb
|
82
|
+
- lib/braintree/resource_collection.rb
|
83
|
+
- lib/braintree/sepa_bank_account.rb
|
84
|
+
- lib/braintree/sepa_bank_account_gateway.rb
|
85
|
+
- lib/braintree/settlement_batch.rb
|
86
|
+
- lib/braintree/settlement_batch_summary.rb
|
87
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
52
88
|
- lib/braintree/sha256_digest.rb
|
53
|
-
- lib/braintree/
|
54
|
-
- lib/braintree/
|
55
|
-
- lib/braintree/
|
56
|
-
- lib/braintree/xml.rb
|
57
|
-
- lib/braintree/transaction.rb
|
58
|
-
- lib/braintree/credit_card.rb
|
59
|
-
- lib/braintree/client_token_gateway.rb
|
60
|
-
- lib/braintree/credit_card_verification.rb
|
61
|
-
- lib/braintree/transparent_redirect_gateway.rb
|
89
|
+
- lib/braintree/signature_service.rb
|
90
|
+
- lib/braintree/subscription.rb
|
91
|
+
- lib/braintree/subscription_gateway.rb
|
62
92
|
- lib/braintree/subscription_search.rb
|
63
|
-
- lib/braintree/
|
93
|
+
- lib/braintree/successful_result.rb
|
94
|
+
- lib/braintree/test/credit_card.rb
|
95
|
+
- lib/braintree/test/merchant_account.rb
|
96
|
+
- lib/braintree/test/nonce.rb
|
97
|
+
- lib/braintree/test/transaction_amounts.rb
|
98
|
+
- lib/braintree/test/venmo_sdk.rb
|
99
|
+
- lib/braintree/test_transaction.rb
|
100
|
+
- lib/braintree/testing_gateway.rb
|
101
|
+
- lib/braintree/transaction.rb
|
102
|
+
- lib/braintree/transaction/address_details.rb
|
64
103
|
- lib/braintree/transaction/credit_card_details.rb
|
65
|
-
- lib/braintree/transaction/
|
104
|
+
- lib/braintree/transaction/customer_details.rb
|
66
105
|
- lib/braintree/transaction/disbursement_details.rb
|
106
|
+
- lib/braintree/transaction/paypal_details.rb
|
107
|
+
- lib/braintree/transaction/status_details.rb
|
67
108
|
- lib/braintree/transaction/subscription_details.rb
|
68
|
-
- lib/braintree/
|
69
|
-
- lib/braintree/
|
70
|
-
- lib/braintree/xml/rexml.rb
|
71
|
-
- lib/braintree/xml/libxml.rb
|
72
|
-
- lib/braintree/xml/generator.rb
|
73
|
-
- lib/braintree/xml/parser.rb
|
74
|
-
- lib/braintree/webhook_notification_gateway.rb
|
75
|
-
- lib/braintree/error_result.rb
|
76
|
-
- lib/braintree/subscription.rb
|
77
|
-
- lib/braintree/add_on_gateway.rb
|
78
|
-
- lib/braintree/version.rb
|
79
|
-
- lib/braintree/address.rb
|
80
|
-
- lib/braintree/plan.rb
|
81
|
-
- lib/braintree/paypal_account_gateway.rb
|
82
|
-
- lib/braintree/settlement_batch.rb
|
83
|
-
- lib/braintree/payment_instrument_type.rb
|
109
|
+
- lib/braintree/transaction_gateway.rb
|
110
|
+
- lib/braintree/transaction_search.rb
|
84
111
|
- lib/braintree/transparent_redirect.rb
|
85
|
-
- lib/braintree/
|
86
|
-
- lib/braintree/
|
87
|
-
- lib/braintree/disbursement.rb
|
88
|
-
- lib/braintree/credit_card_gateway.rb
|
89
|
-
- lib/braintree/test/venmo_sdk.rb
|
90
|
-
- lib/braintree/test/credit_card.rb
|
91
|
-
- lib/braintree/test/nonce.rb
|
92
|
-
- lib/braintree/test/transaction_amounts.rb
|
93
|
-
- lib/braintree/test/merchant_account.rb
|
112
|
+
- lib/braintree/transparent_redirect_gateway.rb
|
113
|
+
- lib/braintree/unknown_payment_method.rb
|
94
114
|
- lib/braintree/util.rb
|
95
|
-
- lib/braintree/
|
96
|
-
- lib/braintree/merchant_account/funding_details.rb
|
97
|
-
- lib/braintree/merchant_account/individual_details.rb
|
98
|
-
- lib/braintree/merchant_account/address_details.rb
|
99
|
-
- lib/braintree/merchant_account/business_details.rb
|
100
|
-
- lib/braintree/merchant_account_gateway.rb
|
101
|
-
- lib/braintree/testing_gateway.rb
|
115
|
+
- lib/braintree/validation_error.rb
|
102
116
|
- lib/braintree/validation_error_collection.rb
|
103
|
-
- lib/braintree/
|
104
|
-
- lib/braintree/paypal_account.rb
|
105
|
-
- lib/braintree/exceptions.rb
|
106
|
-
- lib/braintree/customer.rb
|
107
|
-
- lib/braintree/configuration.rb
|
108
|
-
- lib/braintree/digest.rb
|
109
|
-
- lib/braintree/dispute.rb
|
110
|
-
- lib/braintree/dispute/transaction_details.rb
|
111
|
-
- lib/braintree/advanced_search.rb
|
117
|
+
- lib/braintree/version.rb
|
112
118
|
- lib/braintree/webhook_notification.rb
|
113
|
-
- lib/braintree/
|
114
|
-
- lib/braintree/test_transaction.rb
|
115
|
-
- lib/braintree/subscription_gateway.rb
|
116
|
-
- lib/braintree/payment_method_gateway.rb
|
117
|
-
- lib/braintree/discount.rb
|
118
|
-
- lib/braintree/settlement_batch_summary.rb
|
119
|
+
- lib/braintree/webhook_notification_gateway.rb
|
119
120
|
- lib/braintree/webhook_testing.rb
|
120
|
-
- lib/braintree/
|
121
|
-
- lib/braintree/
|
122
|
-
- lib/braintree/
|
123
|
-
- lib/braintree/
|
124
|
-
- lib/braintree/
|
125
|
-
- lib/braintree.rb
|
121
|
+
- lib/braintree/webhook_testing_gateway.rb
|
122
|
+
- lib/braintree/xml.rb
|
123
|
+
- lib/braintree/xml/generator.rb
|
124
|
+
- lib/braintree/xml/libxml.rb
|
125
|
+
- lib/braintree/xml/parser.rb
|
126
|
+
- lib/braintree/xml/rexml.rb
|
127
|
+
- lib/ssl/api_braintreegateway_com.ca.crt
|
126
128
|
- lib/ssl/sandbox_braintreegateway_com.ca.crt
|
127
129
|
- lib/ssl/securetrust_ca.crt
|
128
130
|
- lib/ssl/www_braintreegateway_com.ca.crt
|
129
|
-
-
|
131
|
+
- spec/hacks/tcp_socket.rb
|
132
|
+
- spec/httpsd.pid
|
133
|
+
- spec/integration/braintree/add_on_spec.rb
|
134
|
+
- spec/integration/braintree/address_spec.rb
|
135
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
136
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
137
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
138
|
+
- spec/integration/braintree/credit_card_spec.rb
|
139
|
+
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
140
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
141
|
+
- spec/integration/braintree/customer_search_spec.rb
|
142
|
+
- spec/integration/braintree/customer_spec.rb
|
143
|
+
- spec/integration/braintree/disbursement_spec.rb
|
144
|
+
- spec/integration/braintree/discount_spec.rb
|
145
|
+
- spec/integration/braintree/error_codes_spec.rb
|
146
|
+
- spec/integration/braintree/http_spec.rb
|
147
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
148
|
+
- spec/integration/braintree/payment_method_spec.rb
|
149
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
150
|
+
- spec/integration/braintree/plan_spec.rb
|
151
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
152
|
+
- spec/integration/braintree/subscription_spec.rb
|
153
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
154
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
155
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
156
|
+
- spec/integration/braintree/transaction_spec.rb
|
157
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
158
|
+
- spec/integration/spec_helper.rb
|
130
159
|
- spec/script/httpsd.rb
|
131
|
-
- spec/
|
160
|
+
- spec/spec.opts
|
161
|
+
- spec/spec_helper.rb
|
132
162
|
- spec/ssl/certificate.crt
|
133
163
|
- spec/ssl/geotrust_global.crt
|
134
|
-
- spec/
|
135
|
-
- spec/unit/braintree/
|
136
|
-
- spec/unit/braintree/unknown_payment_method_spec.rb
|
137
|
-
- spec/unit/braintree/subscription_search_spec.rb
|
138
|
-
- spec/unit/braintree/validation_error_collection_spec.rb
|
139
|
-
- spec/unit/braintree/validation_error_spec.rb
|
140
|
-
- spec/unit/braintree/disbursement_spec.rb
|
141
|
-
- spec/unit/braintree/paypal_account_spec.rb
|
164
|
+
- spec/ssl/privateKey.key
|
165
|
+
- spec/unit/braintree/address_spec.rb
|
142
166
|
- spec/unit/braintree/base_module_spec.rb
|
143
|
-
- spec/unit/braintree/util_spec.rb
|
144
|
-
- spec/unit/braintree/transparent_redirect_spec.rb
|
145
|
-
- spec/unit/braintree/digest_spec.rb
|
146
167
|
- spec/unit/braintree/client_token_spec.rb
|
147
|
-
- spec/unit/braintree/
|
168
|
+
- spec/unit/braintree/configuration_spec.rb
|
169
|
+
- spec/unit/braintree/credit_card_spec.rb
|
170
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
171
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
172
|
+
- spec/unit/braintree/customer_spec.rb
|
173
|
+
- spec/unit/braintree/digest_spec.rb
|
174
|
+
- spec/unit/braintree/disbursement_spec.rb
|
175
|
+
- spec/unit/braintree/dispute_spec.rb
|
148
176
|
- spec/unit/braintree/error_result_spec.rb
|
177
|
+
- spec/unit/braintree/errors_spec.rb
|
178
|
+
- spec/unit/braintree/http_spec.rb
|
179
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
180
|
+
- spec/unit/braintree/modification_spec.rb
|
181
|
+
- spec/unit/braintree/payment_method_spec.rb
|
182
|
+
- spec/unit/braintree/paypal_account_spec.rb
|
183
|
+
- spec/unit/braintree/resource_collection_spec.rb
|
184
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
185
|
+
- spec/unit/braintree/signature_service_spec.rb
|
186
|
+
- spec/unit/braintree/subscription_search_spec.rb
|
187
|
+
- spec/unit/braintree/subscription_spec.rb
|
188
|
+
- spec/unit/braintree/successful_result_spec.rb
|
149
189
|
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
150
190
|
- spec/unit/braintree/transaction/customer_details_spec.rb
|
151
191
|
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
192
|
+
- spec/unit/braintree/transaction_search_spec.rb
|
152
193
|
- spec/unit/braintree/transaction_spec.rb
|
153
|
-
- spec/unit/braintree/
|
194
|
+
- spec/unit/braintree/transparent_redirect_spec.rb
|
195
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
196
|
+
- spec/unit/braintree/util_spec.rb
|
197
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
198
|
+
- spec/unit/braintree/validation_error_spec.rb
|
199
|
+
- spec/unit/braintree/webhook_notification_spec.rb
|
154
200
|
- spec/unit/braintree/xml/libxml_spec.rb
|
155
201
|
- spec/unit/braintree/xml/parser_spec.rb
|
156
202
|
- spec/unit/braintree/xml/rexml_spec.rb
|
157
|
-
- spec/unit/braintree/payment_method_spec.rb
|
158
|
-
- spec/unit/braintree/successful_result_spec.rb
|
159
|
-
- spec/unit/braintree/subscription_spec.rb
|
160
|
-
- spec/unit/braintree/http_spec.rb
|
161
|
-
- spec/unit/braintree/credit_card_spec.rb
|
162
|
-
- spec/unit/braintree/transaction_search_spec.rb
|
163
|
-
- spec/unit/braintree/modification_spec.rb
|
164
|
-
- spec/unit/braintree/address_spec.rb
|
165
|
-
- spec/unit/braintree/merchant_account_spec.rb
|
166
|
-
- spec/unit/braintree/dispute_spec.rb
|
167
|
-
- spec/unit/braintree/customer_spec.rb
|
168
|
-
- spec/unit/braintree/signature_service_spec.rb
|
169
203
|
- spec/unit/braintree/xml_spec.rb
|
170
|
-
- spec/unit/braintree/configuration_spec.rb
|
171
|
-
- spec/unit/braintree/credit_card_verification_spec.rb
|
172
|
-
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
173
|
-
- spec/unit/braintree/sha256_digest_spec.rb
|
174
|
-
- spec/unit/spec_helper.rb
|
175
204
|
- spec/unit/braintree_spec.rb
|
176
|
-
- spec/
|
177
|
-
- spec/integration/braintree/disbursement_spec.rb
|
178
|
-
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
179
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
180
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
181
|
-
- spec/integration/braintree/error_codes_spec.rb
|
182
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
183
|
-
- spec/integration/braintree/test_transaction_spec.rb
|
184
|
-
- spec/integration/braintree/transaction_spec.rb
|
185
|
-
- spec/integration/braintree/customer_search_spec.rb
|
186
|
-
- spec/integration/braintree/payment_method_spec.rb
|
187
|
-
- spec/integration/braintree/subscription_spec.rb
|
188
|
-
- spec/integration/braintree/http_spec.rb
|
189
|
-
- spec/integration/braintree/credit_card_spec.rb
|
190
|
-
- spec/integration/braintree/transaction_search_spec.rb
|
191
|
-
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
192
|
-
- spec/integration/braintree/address_spec.rb
|
193
|
-
- spec/integration/braintree/merchant_account_spec.rb
|
194
|
-
- spec/integration/braintree/client_api/client_token_spec.rb
|
195
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
196
|
-
- spec/integration/braintree/customer_spec.rb
|
197
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
198
|
-
- spec/integration/braintree/discount_spec.rb
|
199
|
-
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
200
|
-
- spec/integration/braintree/add_on_spec.rb
|
201
|
-
- spec/integration/spec_helper.rb
|
202
|
-
- spec/httpsd.pid
|
203
|
-
- spec/hacks/tcp_socket.rb
|
204
|
-
- spec/spec_helper.rb
|
205
|
-
- braintree.gemspec
|
205
|
+
- spec/unit/spec_helper.rb
|
206
206
|
homepage: http://www.braintreepayments.com/
|
207
207
|
licenses:
|
208
208
|
- MIT
|
@@ -223,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
223
|
version: '0'
|
224
224
|
requirements: []
|
225
225
|
rubyforge_project: braintree
|
226
|
-
rubygems_version: 2.
|
226
|
+
rubygems_version: 2.2.2
|
227
227
|
signing_key:
|
228
228
|
specification_version: 4
|
229
229
|
summary: Braintree Gateway Ruby Client Library
|