braintree 2.56.0 → 2.57.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/httpsd.pid CHANGED
@@ -1 +1 @@
1
- 15622
1
+ 11560
@@ -119,6 +119,24 @@ describe Braintree::CreditCard do
119
119
  result.credit_card_verification.avs_street_address_response_code.should == "I"
120
120
  end
121
121
 
122
+ it "allows passing a specific verification amount" do
123
+ customer = Braintree::Customer.create!
124
+ result = Braintree::CreditCard.create(
125
+ :customer_id => customer.id,
126
+ :number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
127
+ :expiration_date => "05/2009",
128
+ :options => {:verify_card => true, :verification_amount => "100.00"}
129
+ )
130
+ result.success?.should == false
131
+ result.credit_card_verification.status.should == Braintree::Transaction::Status::ProcessorDeclined
132
+ result.credit_card_verification.processor_response_code.should == "2000"
133
+ result.credit_card_verification.processor_response_text.should == "Do Not Honor"
134
+ result.credit_card_verification.cvv_response_code.should == "I"
135
+ result.credit_card_verification.avs_error_response_code.should == nil
136
+ result.credit_card_verification.avs_postal_code_response_code.should == "I"
137
+ result.credit_card_verification.avs_street_address_response_code.should == "I"
138
+ end
139
+
122
140
  it "returns risk data on verification on credit_card create" do
123
141
  customer = Braintree::Customer.create!
124
142
  credit_card = Braintree::CreditCard.create!(
@@ -1,6 +1,62 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
2
2
 
3
3
  describe Braintree::CreditCardVerification, "search" do
4
+
5
+ describe "self.create" do
6
+ it "creates a new verification" do
7
+ verification_params = {
8
+ :credit_card => {
9
+ :expiration_date => "05/2012",
10
+ :number => Braintree::Test::CreditCardNumbers::Visa,
11
+ },
12
+ :options => {
13
+ :amount => "10.00"
14
+ }
15
+ }
16
+
17
+ result = Braintree::CreditCardVerification.create(verification_params)
18
+
19
+ result.should be_success
20
+ end
21
+
22
+ it "returns processor response code and text as well as the additional processor response if declined" do
23
+ verification_params = {
24
+ :credit_card => {
25
+ :expiration_date => "05/2012",
26
+ :number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
27
+ },
28
+ :options => {
29
+ :amount => "10.00"
30
+ }
31
+ }
32
+
33
+ result = Braintree::CreditCardVerification.create(verification_params)
34
+
35
+ result.success?.should == false
36
+ result.verification.id.should =~ /^\w{6}$/
37
+ result.verification.status.should == Braintree::CreditCardVerification::Status::ProcessorDeclined
38
+ result.verification.processor_response_code.should == "2000"
39
+ result.verification.processor_response_text.should == "Do Not Honor"
40
+ end
41
+
42
+ it "returns validation errors" do
43
+ verification_params = {
44
+ :credit_card => {
45
+ :expiration_date => "05/2012",
46
+ :number => Braintree::Test::CreditCardNumbers::FailsSandboxVerification::Visa,
47
+ },
48
+ :options => {
49
+ :amount => "-10.00"
50
+ }
51
+ }
52
+
53
+ result = Braintree::CreditCardVerification.create(verification_params)
54
+
55
+ result.success?.should == false
56
+ result.errors.for(:verification).for(:options).first.code.should == Braintree::ErrorCodes::Verification::Options::AmountCannotBeNegative
57
+ end
58
+ end
59
+
4
60
  describe "self.find" do
5
61
  it "finds the verification with the given id" do
6
62
  credit_card_params = {
@@ -268,6 +268,30 @@ describe Braintree::PaymentMethod do
268
268
  result.credit_card_verification.merchant_account_id.should == SpecHelper::NonDefaultMerchantAccountId
269
269
  end
270
270
 
271
+ it "respects verification amount when included outside of the nonce" do
272
+ nonce = nonce_for_new_payment_method(
273
+ :credit_card => {
274
+ :number => "4000111111111115",
275
+ :expiration_month => "11",
276
+ :expiration_year => "2099",
277
+ }
278
+ )
279
+ customer = Braintree::Customer.create!
280
+ result = Braintree::PaymentMethod.create(
281
+ :payment_method_nonce => nonce,
282
+ :customer_id => customer.id,
283
+ :options => {
284
+ :verify_card => true,
285
+ :verification_amount => "100.00"
286
+ }
287
+ )
288
+
289
+ result.should_not be_success
290
+ result.credit_card_verification.status.should == Braintree::Transaction::Status::ProcessorDeclined
291
+ result.credit_card_verification.processor_response_code.should == "2000"
292
+ result.credit_card_verification.processor_response_text.should == "Do Not Honor"
293
+ end
294
+
271
295
  it "respects fail_on_duplicate_payment_method when included outside of the nonce" do
272
296
  customer = Braintree::Customer.create!
273
297
  result = Braintree::CreditCard.create(
@@ -2708,9 +2708,11 @@ describe Braintree::Transaction do
2708
2708
  :expiration_date => "06/2009"
2709
2709
  }
2710
2710
  )
2711
- transaction = Braintree::Transaction.submit_for_settlement!(original_transaction.id)
2711
+ options = { :order_id => "ABC123" }
2712
+ transaction = Braintree::Transaction.submit_for_settlement!(original_transaction.id, "0.01", options)
2712
2713
  transaction.status.should == Braintree::Transaction::Status::SubmittedForSettlement
2713
2714
  transaction.id.should == original_transaction.id
2715
+ transaction.order_id.should == options[:order_id]
2714
2716
  end
2715
2717
 
2716
2718
  it "raises a ValidationsFailed if unsuccessful" do
@@ -2765,6 +2767,84 @@ describe Braintree::Transaction do
2765
2767
  refreshed_authorized_transaction.partial_settlement_transaction_ids.sort.should == [partial_settlement_transaction1.id, partial_settlement_transaction2.id].sort
2766
2768
  end
2767
2769
 
2770
+ it "allows partial settlement to be submitted with order_id" do
2771
+ authorized_transaction = Braintree::Transaction.sale!(
2772
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2773
+ :merchant_account_id => SpecHelper::DefaultMerchantAccountId,
2774
+ :credit_card => {
2775
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2776
+ :expiration_date => "05/2009"
2777
+ }
2778
+ )
2779
+
2780
+ result = Braintree::Transaction.submit_for_partial_settlement(authorized_transaction.id, 100, :order_id => 1234)
2781
+ result.success?.should == true
2782
+ partial_settlement_transaction = result.transaction
2783
+ partial_settlement_transaction.order_id.should == "1234"
2784
+ end
2785
+
2786
+ it "returns an error with an order_id that's too long" do
2787
+ authorized_transaction = Braintree::Transaction.sale!(
2788
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2789
+ :merchant_account_id => SpecHelper::DefaultMerchantAccountId,
2790
+ :credit_card => {
2791
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2792
+ :expiration_date => "05/2009"
2793
+ }
2794
+ )
2795
+
2796
+ result = Braintree::Transaction.submit_for_partial_settlement(authorized_transaction.id, 100, :order_id => "1"*256)
2797
+ result.success?.should == false
2798
+ result.errors.for(:transaction).on(:order_id)[0].code.should == Braintree::ErrorCodes::Transaction::OrderIdIsTooLong
2799
+ end
2800
+
2801
+ it "allows partial settlement to be submitted with descriptors" do
2802
+ authorized_transaction = Braintree::Transaction.sale!(
2803
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2804
+ :merchant_account_id => SpecHelper::DefaultMerchantAccountId,
2805
+ :credit_card => {
2806
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2807
+ :expiration_date => "05/2009"
2808
+ }
2809
+ )
2810
+
2811
+ result = Braintree::Transaction.submit_for_partial_settlement(
2812
+ authorized_transaction.id,
2813
+ 100,
2814
+ :descriptor => { :name => "123*123456789012345678", :phone => "5555551234", :url => "url.com" }
2815
+ )
2816
+ result.success?.should == true
2817
+ partial_settlement_transaction = result.transaction
2818
+ partial_settlement_transaction.descriptor.name.should == "123*123456789012345678"
2819
+ partial_settlement_transaction.descriptor.phone.should == "5555551234"
2820
+ partial_settlement_transaction.descriptor.url.should == "url.com"
2821
+ end
2822
+
2823
+ it "returns an error with a descriptor in an invalid format" do
2824
+ authorized_transaction = Braintree::Transaction.sale!(
2825
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2826
+ :merchant_account_id => SpecHelper::DefaultMerchantAccountId,
2827
+ :credit_card => {
2828
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2829
+ :expiration_date => "05/2009"
2830
+ }
2831
+ )
2832
+
2833
+ result = Braintree::Transaction.submit_for_partial_settlement(
2834
+ authorized_transaction.id,
2835
+ 100,
2836
+ :descriptor => {
2837
+ :name => "invalid_format",
2838
+ :phone => '%bad4445555',
2839
+ :url => '12345678901234'
2840
+ }
2841
+ )
2842
+ result.success?.should == false
2843
+ result.errors.for(:transaction).for(:descriptor).on(:name)[0].code.should == Braintree::ErrorCodes::Descriptor::NameFormatIsInvalid
2844
+ result.errors.for(:transaction).for(:descriptor).on(:phone)[0].code.should == Braintree::ErrorCodes::Descriptor::PhoneFormatIsInvalid
2845
+ result.errors.for(:transaction).for(:descriptor).on(:url)[0].code.should == Braintree::ErrorCodes::Descriptor::UrlFormatIsInvalid
2846
+ end
2847
+
2768
2848
  it "returns an error with an unsupported processor" do
2769
2849
  authorized_transaction = Braintree::Transaction.sale!(
2770
2850
  :amount => Braintree::Test::TransactionAmounts::Authorize,
@@ -2829,6 +2909,36 @@ describe Braintree::Transaction do
2829
2909
  end
2830
2910
  end
2831
2911
 
2912
+ describe "self.submit_for_partial_settlement!" do
2913
+ it "returns the transaction if successful" do
2914
+ original_transaction = Braintree::Transaction.sale!(
2915
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2916
+ :credit_card => {
2917
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2918
+ :expiration_date => "06/2009"
2919
+ }
2920
+ )
2921
+ options = { :order_id => "ABC123" }
2922
+ transaction = Braintree::Transaction.submit_for_partial_settlement!(original_transaction.id, "0.01", options)
2923
+ transaction.status.should == Braintree::Transaction::Status::SubmittedForSettlement
2924
+ transaction.order_id.should == options[:order_id]
2925
+ end
2926
+
2927
+ it "raises a ValidationsFailed if unsuccessful" do
2928
+ transaction = Braintree::Transaction.sale!(
2929
+ :amount => Braintree::Test::TransactionAmounts::Authorize,
2930
+ :credit_card => {
2931
+ :number => Braintree::Test::CreditCardNumbers::Visa,
2932
+ :expiration_date => "06/2009"
2933
+ }
2934
+ )
2935
+ transaction.amount.should == BigDecimal.new("1000.00")
2936
+ expect do
2937
+ Braintree::Transaction.submit_for_partial_settlement!(transaction.id, "1000.01")
2938
+ end.to raise_error(Braintree::ValidationsFailed)
2939
+ end
2940
+ end
2941
+
2832
2942
  describe "self.release_from_escrow" do
2833
2943
  it "returns the transaction if successful" do
2834
2944
  original_transaction = create_escrowed_transcation
@@ -133,6 +133,17 @@ describe Braintree::Configuration do
133
133
  Braintree::Configuration.environment = :invalid_environment
134
134
  end.to raise_error(ArgumentError, ":invalid_environment is not a valid environment")
135
135
  end
136
+
137
+ it "allows the environment to be set with a string value" do
138
+ expect do
139
+ Braintree::Configuration.environment = 'sandbox'
140
+ end.not_to raise_error
141
+ end
142
+
143
+ it "sets the environment as a symbol" do
144
+ Braintree::Configuration.environment = 'sandbox'
145
+ expect(Braintree::Configuration.environment).to eq :sandbox
146
+ end
136
147
  end
137
148
 
138
149
  describe "self.logger" do
@@ -33,6 +33,20 @@ describe Braintree::CreditCardVerification do
33
33
  end
34
34
  end
35
35
 
36
+ describe "self.create" do
37
+ it "rejects invalid parameters" do
38
+ expect do
39
+ Braintree::CreditCardVerification.create(:invalid_key => 4, :credit_card => {:number => "number"})
40
+ end.to raise_error(ArgumentError, "invalid keys: invalid_key")
41
+ end
42
+
43
+ it "rejects parameters that are only valid for 'payment methods create'" do
44
+ expect do
45
+ Braintree::CreditCardVerification.create(:credit_card => {:options => {:verify_card => true}})
46
+ end.to raise_error(ArgumentError, "invalid keys: credit_card[options][verify_card]")
47
+ end
48
+ end
49
+
36
50
  describe "self.find" do
37
51
  it "raises error if passed empty string" do
38
52
  expect do
@@ -95,4 +109,3 @@ describe Braintree::CreditCardVerification do
95
109
  end
96
110
  end
97
111
  end
98
-
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.56.0
4
+ version: 2.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Braintree
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-01 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -33,205 +33,203 @@ files:
33
33
  - README.rdoc
34
34
  - LICENSE
35
35
  - lib/braintree.rb
36
- - lib/braintree/payment_method.rb
37
- - lib/braintree/settlement_batch_summary.rb
38
- - lib/braintree/transaction_gateway.rb
39
- - lib/braintree/europe_bank_account_gateway.rb
40
- - lib/braintree/transparent_redirect.rb
41
- - lib/braintree/credit_card_gateway.rb
42
- - lib/braintree/http.rb
43
- - lib/braintree/coinbase_account.rb
44
- - lib/braintree/risk_data.rb
45
- - lib/braintree/merchant_account/business_details.rb
46
- - lib/braintree/merchant_account/individual_details.rb
47
- - lib/braintree/merchant_account/address_details.rb
48
- - lib/braintree/merchant_account/funding_details.rb
49
- - lib/braintree/merchant_account.rb
50
- - lib/braintree/subscription.rb
51
- - lib/braintree/webhook_testing.rb
52
- - lib/braintree/add_on_gateway.rb
53
- - lib/braintree/merchant_gateway.rb
54
- - lib/braintree/payment_instrument_type.rb
55
- - lib/braintree/plan_gateway.rb
56
- - lib/braintree/customer_search.rb
57
- - lib/braintree/subscription_search.rb
58
- - lib/braintree/credit_card_verification_gateway.rb
59
- - lib/braintree/configuration.rb
36
+ - lib/braintree/address_gateway.rb
60
37
  - lib/braintree/test_transaction.rb
61
- - lib/braintree/transaction_search.rb
62
- - lib/braintree/transaction.rb
63
- - lib/braintree/errors.rb
64
- - lib/braintree/subscription_gateway.rb
65
- - lib/braintree/testing_gateway.rb
66
- - lib/braintree/gateway.rb
67
- - lib/braintree/error_codes.rb
68
- - lib/braintree/dispute.rb
69
- - lib/braintree/discount_gateway.rb
38
+ - lib/braintree/three_d_secure_info.rb
39
+ - lib/braintree/successful_result.rb
40
+ - lib/braintree/xml.rb
70
41
  - lib/braintree/europe_bank_account.rb
71
- - lib/braintree/credentials_parser.rb
72
42
  - lib/braintree/settlement_batch.rb
73
- - lib/braintree/three_d_secure_info.rb
74
- - lib/braintree/transparent_redirect_gateway.rb
75
- - lib/braintree/sha256_digest.rb
76
- - lib/braintree/disbursement.rb
43
+ - lib/braintree/dispute.rb
44
+ - lib/braintree/plan.rb
45
+ - lib/braintree/facilitator_details.rb
77
46
  - lib/braintree/util.rb
47
+ - lib/braintree/testing_gateway.rb
48
+ - lib/braintree/dispute/transaction_details.rb
49
+ - lib/braintree/webhook_notification.rb
50
+ - lib/braintree/subscription_gateway.rb
51
+ - lib/braintree/merchant_account/address_details.rb
52
+ - lib/braintree/merchant_account/business_details.rb
53
+ - lib/braintree/merchant_account/funding_details.rb
54
+ - lib/braintree/merchant_account/individual_details.rb
55
+ - lib/braintree/version.rb
56
+ - lib/braintree/errors.rb
57
+ - lib/braintree/paypal_account_gateway.rb
78
58
  - lib/braintree/add_on.rb
79
- - lib/braintree/android_pay_card.rb
80
- - lib/braintree/amex_express_checkout_card.rb
81
- - lib/braintree/discount.rb
82
- - lib/braintree/digest.rb
59
+ - lib/braintree/risk_data.rb
83
60
  - lib/braintree/payment_method_nonce.rb
84
- - lib/braintree/version.rb
85
- - lib/braintree/base_module.rb
61
+ - lib/braintree/credit_card_verification_gateway.rb
62
+ - lib/braintree/webhook_notification_gateway.rb
63
+ - lib/braintree/address.rb
64
+ - lib/braintree/subscription_search.rb
65
+ - lib/braintree/amex_express_checkout_card.rb
66
+ - lib/braintree/android_pay_card.rb
67
+ - lib/braintree/add_on_gateway.rb
68
+ - lib/braintree/http.rb
69
+ - lib/braintree/settlement_batch_summary_gateway.rb
70
+ - lib/braintree/customer_search.rb
71
+ - lib/braintree/configuration.rb
86
72
  - lib/braintree/webhook_testing_gateway.rb
87
- - lib/braintree/customer_gateway.rb
88
- - lib/braintree/transaction/subscription_details.rb
73
+ - lib/braintree/paypal_account.rb
74
+ - lib/braintree/advanced_search.rb
75
+ - lib/braintree/base_module.rb
76
+ - lib/braintree/address/country_names.rb
77
+ - lib/braintree/digest.rb
78
+ - lib/braintree/payment_method.rb
79
+ - lib/braintree/oauth_credentials.rb
80
+ - lib/braintree/transaction.rb
81
+ - lib/braintree/payment_instrument_type.rb
82
+ - lib/braintree/xml/libxml.rb
83
+ - lib/braintree/xml/generator.rb
84
+ - lib/braintree/xml/rexml.rb
85
+ - lib/braintree/xml/parser.rb
86
+ - lib/braintree/plan_gateway.rb
87
+ - lib/braintree/modification.rb
88
+ - lib/braintree/transaction_gateway.rb
89
+ - lib/braintree/validation_error.rb
90
+ - lib/braintree/merchant.rb
91
+ - lib/braintree/credit_card_gateway.rb
92
+ - lib/braintree/merchant_account_gateway.rb
93
+ - lib/braintree/subscription/status_details.rb
94
+ - lib/braintree/gateway.rb
95
+ - lib/braintree/transaction/address_details.rb
96
+ - lib/braintree/transaction/coinbase_details.rb
89
97
  - lib/braintree/transaction/venmo_account_details.rb
90
- - lib/braintree/transaction/credit_card_details.rb
91
- - lib/braintree/transaction/customer_details.rb
92
- - lib/braintree/transaction/status_details.rb
98
+ - lib/braintree/transaction/apple_pay_details.rb
99
+ - lib/braintree/transaction/android_pay_details.rb
93
100
  - lib/braintree/transaction/disbursement_details.rb
94
- - lib/braintree/transaction/paypal_details.rb
101
+ - lib/braintree/transaction/subscription_details.rb
102
+ - lib/braintree/transaction/status_details.rb
103
+ - lib/braintree/transaction/credit_card_details.rb
95
104
  - lib/braintree/transaction/amex_express_checkout_details.rb
96
- - lib/braintree/transaction/android_pay_details.rb
97
- - lib/braintree/transaction/apple_pay_details.rb
98
- - lib/braintree/transaction/address_details.rb
99
- - lib/braintree/transaction/coinbase_details.rb
100
- - lib/braintree/test/merchant_account.rb
105
+ - lib/braintree/transaction/paypal_details.rb
106
+ - lib/braintree/transaction/customer_details.rb
107
+ - lib/braintree/transaction_search.rb
108
+ - lib/braintree/exceptions.rb
109
+ - lib/braintree/webhook_testing.rb
110
+ - lib/braintree/client_token.rb
111
+ - lib/braintree/venmo_account.rb
112
+ - lib/braintree/test/venmo_sdk.rb
101
113
  - lib/braintree/test/transaction_amounts.rb
102
114
  - lib/braintree/test/nonce.rb
103
- - lib/braintree/test/venmo_sdk.rb
104
115
  - lib/braintree/test/credit_card.rb
105
- - lib/braintree/facilitator_details.rb
106
- - lib/braintree/settlement_batch_summary_gateway.rb
107
- - lib/braintree/validation_error_collection.rb
108
- - lib/braintree/webhook_notification_gateway.rb
109
- - lib/braintree/client_token.rb
110
- - lib/braintree/oauth_gateway.rb
111
- - lib/braintree/subscription/status_details.rb
112
- - lib/braintree/merchant.rb
116
+ - lib/braintree/test/merchant_account.rb
117
+ - lib/braintree/payment_method_gateway.rb
118
+ - lib/braintree/merchant_gateway.rb
119
+ - lib/braintree/sha256_digest.rb
113
120
  - lib/braintree/payment_method_nonce_gateway.rb
114
- - lib/braintree/client_token_gateway.rb
121
+ - lib/braintree/transparent_redirect.rb
122
+ - lib/braintree/unknown_payment_method.rb
123
+ - lib/braintree/descriptor.rb
124
+ - lib/braintree/credit_card_verification_search.rb
115
125
  - lib/braintree/signature_service.rb
116
- - lib/braintree/payment_method_gateway.rb
117
- - lib/braintree/customer.rb
118
- - lib/braintree/oauth_credentials.rb
119
- - lib/braintree/address.rb
120
- - lib/braintree/venmo_account.rb
121
- - lib/braintree/apple_pay_card.rb
122
- - lib/braintree/xml.rb
123
- - lib/braintree/validation_error.rb
124
- - lib/braintree/webhook_notification.rb
125
- - lib/braintree/xml/generator.rb
126
- - lib/braintree/xml/rexml.rb
127
- - lib/braintree/xml/parser.rb
128
- - lib/braintree/xml/libxml.rb
129
- - lib/braintree/modification.rb
130
- - lib/braintree/resource_collection.rb
131
- - lib/braintree/exceptions.rb
132
- - lib/braintree/paypal_account_gateway.rb
126
+ - lib/braintree/europe_bank_account_gateway.rb
133
127
  - lib/braintree/error_result.rb
134
- - lib/braintree/paypal_account.rb
135
- - lib/braintree/credit_card_verification_search.rb
136
- - lib/braintree/plan.rb
137
- - lib/braintree/address/country_names.rb
138
- - lib/braintree/merchant_account_gateway.rb
139
- - lib/braintree/advanced_search.rb
140
- - lib/braintree/descriptor.rb
141
- - lib/braintree/credit_card.rb
142
- - lib/braintree/address_gateway.rb
143
- - lib/braintree/dispute/transaction_details.rb
144
- - lib/braintree/successful_result.rb
145
- - lib/braintree/unknown_payment_method.rb
146
128
  - lib/braintree/credit_card_verification.rb
129
+ - lib/braintree/customer_gateway.rb
130
+ - lib/braintree/discount.rb
131
+ - lib/braintree/subscription.rb
132
+ - lib/braintree/credentials_parser.rb
133
+ - lib/braintree/settlement_batch_summary.rb
134
+ - lib/braintree/discount_gateway.rb
135
+ - lib/braintree/validation_error_collection.rb
136
+ - lib/braintree/resource_collection.rb
137
+ - lib/braintree/disbursement.rb
138
+ - lib/braintree/apple_pay_card.rb
139
+ - lib/braintree/coinbase_account.rb
140
+ - lib/braintree/credit_card.rb
141
+ - lib/braintree/oauth_gateway.rb
142
+ - lib/braintree/transparent_redirect_gateway.rb
143
+ - lib/braintree/client_token_gateway.rb
144
+ - lib/braintree/customer.rb
145
+ - lib/braintree/error_codes.rb
146
+ - lib/braintree/merchant_account.rb
147
147
  - lib/ssl/securetrust_ca.crt
148
148
  - lib/ssl/api_braintreegateway_com.ca.crt
149
- - lib/ssl/www_braintreegateway_com.ca.crt
150
- - lib/ssl/sandbox_braintreegateway_com.ca.crt
151
- - spec/spec_helper.rb
152
- - spec/integration/spec_helper.rb
153
- - spec/integration/braintree/transaction_search_spec.rb
154
- - spec/integration/braintree/transparent_redirect_spec.rb
149
+ - spec/spec.opts
150
+ - spec/integration/braintree/http_spec.rb
151
+ - spec/integration/braintree/payment_method_nonce_spec.rb
152
+ - spec/integration/braintree/add_on_spec.rb
153
+ - spec/integration/braintree/disbursement_spec.rb
154
+ - spec/integration/braintree/error_codes_spec.rb
155
+ - spec/integration/braintree/merchant_spec.rb
155
156
  - spec/integration/braintree/customer_spec.rb
157
+ - spec/integration/braintree/merchant_account_spec.rb
158
+ - spec/integration/braintree/oauth_spec.rb
156
159
  - spec/integration/braintree/plan_spec.rb
157
- - spec/integration/braintree/error_codes_spec.rb
158
- - spec/integration/braintree/client_api/spec_helper.rb
159
160
  - spec/integration/braintree/client_api/client_token_spec.rb
160
- - spec/integration/braintree/disbursement_spec.rb
161
- - spec/integration/braintree/payment_method_spec.rb
162
- - spec/integration/braintree/settlement_batch_summary_spec.rb
161
+ - spec/integration/braintree/client_api/spec_helper.rb
162
+ - spec/integration/braintree/transaction_search_spec.rb
163
163
  - spec/integration/braintree/discount_spec.rb
164
- - spec/integration/braintree/http_spec.rb
165
- - spec/integration/braintree/credit_card_spec.rb
164
+ - spec/integration/braintree/transaction_spec.rb
165
+ - spec/integration/braintree/subscription_spec.rb
166
+ - spec/integration/braintree/customer_search_spec.rb
167
+ - spec/integration/braintree/credit_card_verification_search_spec.rb
166
168
  - spec/integration/braintree/coinbase_spec.rb
167
- - spec/integration/braintree/test_transaction_spec.rb
168
- - spec/integration/braintree/advanced_search_spec.rb
169
- - spec/integration/braintree/oauth_spec.rb
170
169
  - spec/integration/braintree/test/transaction_amounts_spec.rb
171
- - spec/integration/braintree/transaction_spec.rb
172
- - spec/integration/braintree/address_spec.rb
170
+ - spec/integration/braintree/payment_method_spec.rb
171
+ - spec/integration/braintree/credit_card_spec.rb
172
+ - spec/integration/braintree/transparent_redirect_spec.rb
173
173
  - spec/integration/braintree/credit_card_verification_spec.rb
174
- - spec/integration/braintree/add_on_spec.rb
174
+ - spec/integration/braintree/test_transaction_spec.rb
175
+ - spec/integration/braintree/settlement_batch_summary_spec.rb
175
176
  - spec/integration/braintree/paypal_account_spec.rb
176
- - spec/integration/braintree/payment_method_nonce_spec.rb
177
- - spec/integration/braintree/customer_search_spec.rb
178
- - spec/integration/braintree/merchant_spec.rb
179
- - spec/integration/braintree/subscription_spec.rb
180
- - spec/integration/braintree/credit_card_verification_search_spec.rb
181
- - spec/integration/braintree/merchant_account_spec.rb
177
+ - spec/integration/braintree/address_spec.rb
178
+ - spec/integration/braintree/advanced_search_spec.rb
179
+ - spec/integration/spec_helper.rb
180
+ - spec/script/httpsd.rb
181
+ - spec/httpsd.pid
182
+ - spec/hacks/tcp_socket.rb
183
+ - spec/spec_helper.rb
182
184
  - spec/ssl/certificate.crt
183
- - spec/ssl/geotrust_global.crt
184
185
  - spec/ssl/privateKey.key
185
- - spec/unit/spec_helper.rb
186
- - spec/unit/braintree_spec.rb
187
- - spec/unit/braintree/unknown_payment_method_spec.rb
188
- - spec/unit/braintree/transaction_search_spec.rb
189
- - spec/unit/braintree/transparent_redirect_spec.rb
190
- - spec/unit/braintree/signature_service_spec.rb
186
+ - spec/ssl/geotrust_global.crt
191
187
  - spec/unit/braintree/digest_spec.rb
192
- - spec/unit/braintree/base_module_spec.rb
193
- - spec/unit/braintree/customer_spec.rb
194
- - spec/unit/braintree/subscription_search_spec.rb
188
+ - spec/unit/braintree/three_d_secure_info_spec.rb
189
+ - spec/unit/braintree/resource_collection_spec.rb
195
190
  - spec/unit/braintree/error_result_spec.rb
191
+ - spec/unit/braintree/http_spec.rb
192
+ - spec/unit/braintree/successful_result_spec.rb
193
+ - spec/unit/braintree/configuration_spec.rb
194
+ - spec/unit/braintree/disbursement_spec.rb
195
+ - spec/unit/braintree/subscription_search_spec.rb
196
+ - spec/unit/braintree/customer_spec.rb
197
+ - spec/unit/braintree/dispute_spec.rb
198
+ - spec/unit/braintree/merchant_account_spec.rb
199
+ - spec/unit/braintree/sha256_digest_spec.rb
200
+ - spec/unit/braintree/apple_pay_card_spec.rb
201
+ - spec/unit/braintree/util_spec.rb
196
202
  - spec/unit/braintree/validation_error_spec.rb
197
- - spec/unit/braintree/validation_error_collection_spec.rb
198
- - spec/unit/braintree/xml_spec.rb
199
- - spec/unit/braintree/risk_data_spec.rb
203
+ - spec/unit/braintree/transaction_search_spec.rb
200
204
  - spec/unit/braintree/modification_spec.rb
201
- - spec/unit/braintree/disbursement_spec.rb
202
205
  - spec/unit/braintree/errors_spec.rb
203
- - spec/unit/braintree/three_d_secure_info_spec.rb
204
- - spec/unit/braintree/payment_method_spec.rb
205
- - spec/unit/braintree/http_spec.rb
206
- - spec/unit/braintree/credit_card_spec.rb
207
- - spec/unit/braintree/resource_collection_spec.rb
208
- - spec/unit/braintree/apple_pay_card_spec.rb
206
+ - spec/unit/braintree/xml_spec.rb
209
207
  - spec/unit/braintree/client_token_spec.rb
210
- - spec/unit/braintree/transaction/deposit_details_spec.rb
208
+ - spec/unit/braintree/transaction_spec.rb
209
+ - spec/unit/braintree/subscription_spec.rb
210
+ - spec/unit/braintree/xml/parser_spec.rb
211
+ - spec/unit/braintree/xml/rexml_spec.rb
212
+ - spec/unit/braintree/xml/libxml_spec.rb
213
+ - spec/unit/braintree/base_module_spec.rb
214
+ - spec/unit/braintree/credentials_parser_spec.rb
215
+ - spec/unit/braintree/credit_card_verification_search_spec.rb
211
216
  - spec/unit/braintree/transaction/customer_details_spec.rb
217
+ - spec/unit/braintree/transaction/deposit_details_spec.rb
212
218
  - spec/unit/braintree/transaction/credit_card_details_spec.rb
213
- - spec/unit/braintree/dispute_spec.rb
214
- - spec/unit/braintree/transaction_spec.rb
215
- - spec/unit/braintree/address_spec.rb
216
- - spec/unit/braintree/configuration_spec.rb
219
+ - spec/unit/braintree/risk_data_spec.rb
220
+ - spec/unit/braintree/payment_method_spec.rb
221
+ - spec/unit/braintree/credit_card_spec.rb
222
+ - spec/unit/braintree/transparent_redirect_spec.rb
223
+ - spec/unit/braintree/validation_error_collection_spec.rb
217
224
  - spec/unit/braintree/credit_card_verification_spec.rb
218
- - spec/unit/braintree/credentials_parser_spec.rb
225
+ - spec/unit/braintree/unknown_payment_method_spec.rb
219
226
  - spec/unit/braintree/paypal_account_spec.rb
220
- - spec/unit/braintree/successful_result_spec.rb
221
227
  - spec/unit/braintree/webhook_notification_spec.rb
222
- - spec/unit/braintree/xml/rexml_spec.rb
223
- - spec/unit/braintree/xml/parser_spec.rb
224
- - spec/unit/braintree/xml/libxml_spec.rb
225
- - spec/unit/braintree/sha256_digest_spec.rb
226
- - spec/unit/braintree/util_spec.rb
227
- - spec/unit/braintree/subscription_spec.rb
228
- - spec/unit/braintree/credit_card_verification_search_spec.rb
229
- - spec/unit/braintree/merchant_account_spec.rb
228
+ - spec/unit/braintree/address_spec.rb
229
+ - spec/unit/braintree/signature_service_spec.rb
230
+ - spec/unit/braintree_spec.rb
231
+ - spec/unit/spec_helper.rb
230
232
  - spec/oauth_test_helper.rb
231
- - spec/spec.opts
232
- - spec/script/httpsd.rb
233
- - spec/hacks/tcp_socket.rb
234
- - spec/httpsd.pid
235
233
  - braintree.gemspec
236
234
  homepage: http://www.braintreepayments.com/
237
235
  licenses: