braintree 2.63.0 → 2.64.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/braintree/customer_gateway.rb +2 -1
- data/lib/braintree/transaction_gateway.rb +2 -1
- data/lib/braintree/version.rb +1 -1
- data/spec/httpsd.pid +1 -1
- data/spec/integration/braintree/customer_spec.rb +87 -0
- data/spec/integration/braintree/transaction_spec.rb +57 -10
- data/spec/unit/braintree/customer_spec.rb +2 -0
- metadata +180 -176
- checksums.yaml +0 -7
@@ -76,6 +76,7 @@ module Braintree
|
|
76
76
|
[
|
77
77
|
:company, :email, :fax, :first_name, :id, :last_name, :phone, :website,
|
78
78
|
:device_data, :payment_method_nonce,
|
79
|
+
{:risk_data => [:customer_browser, :customer_ip]},
|
79
80
|
{:credit_card => credit_card_signature},
|
80
81
|
{:custom_fields => :_any_key_}
|
81
82
|
]
|
@@ -124,7 +125,7 @@ module Braintree
|
|
124
125
|
credit_card_options[:options] << :update_existing_token
|
125
126
|
[
|
126
127
|
:company, :email, :fax, :first_name, :id, :last_name, :phone, :website,
|
127
|
-
:device_data, :payment_method_nonce,
|
128
|
+
:device_data, :payment_method_nonce, :default_payment_method_token,
|
128
129
|
{:credit_card => credit_card_signature},
|
129
130
|
{:custom_fields => :_any_key_}
|
130
131
|
]
|
@@ -141,10 +141,11 @@ module Braintree
|
|
141
141
|
def self._create_signature # :nodoc:
|
142
142
|
[
|
143
143
|
:amount, :customer_id, :merchant_account_id, :order_id, :channel, :payment_method_token,
|
144
|
-
:purchase_order_number, :recurring, :shipping_address_id, :type, :tax_amount, :tax_exempt,
|
144
|
+
:purchase_order_number, :recurring, :transaction_source, :shipping_address_id, :type, :tax_amount, :tax_exempt,
|
145
145
|
:venmo_sdk_payment_method_code, :device_session_id, :service_fee_amount, :device_data, :fraud_merchant_id,
|
146
146
|
:billing_address_id, :payment_method_nonce, :three_d_secure_token,
|
147
147
|
:shared_payment_method_token, :shared_billing_address_id, :shared_customer_id, :shared_shipping_address_id,
|
148
|
+
{:risk_data => [:customer_browser, :customer_ip]},
|
148
149
|
{:credit_card => [:token, :cardholder_name, :cvv, :expiration_date, :expiration_month, :expiration_year, :number]},
|
149
150
|
{:customer => [:id, :company, :email, :fax, :first_name, :last_name, :phone, :website]},
|
150
151
|
{
|
data/lib/braintree/version.rb
CHANGED
data/spec/httpsd.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
9636
|
@@ -99,6 +99,22 @@ describe Braintree::Customer do
|
|
99
99
|
result.should be_success
|
100
100
|
end
|
101
101
|
|
102
|
+
it "supports creation including risk data with customer_browser and customer_ip" do
|
103
|
+
result = Braintree::Customer.create(
|
104
|
+
:credit_card => {
|
105
|
+
:number => Braintree::Test::CreditCardNumbers::MasterCard,
|
106
|
+
:expiration_date => "05/2010",
|
107
|
+
:cvv => "100"
|
108
|
+
},
|
109
|
+
:risk_data => {
|
110
|
+
:customer_browser => "IE5",
|
111
|
+
:customer_ip => "192.168.0.1"
|
112
|
+
}
|
113
|
+
)
|
114
|
+
|
115
|
+
result.should be_success
|
116
|
+
end
|
117
|
+
|
102
118
|
it "can create without any attributes" do
|
103
119
|
result = Braintree::Customer.create
|
104
120
|
result.success?.should == true
|
@@ -909,6 +925,77 @@ describe Braintree::Customer do
|
|
909
925
|
result.customer.custom_fields[:store_me].should == "a value"
|
910
926
|
end
|
911
927
|
|
928
|
+
it "updates the default payment method" do
|
929
|
+
customer = Braintree::Customer.create!(
|
930
|
+
:first_name => "Joe",
|
931
|
+
:last_name => "Brown",
|
932
|
+
)
|
933
|
+
|
934
|
+
token1 = random_payment_method_token
|
935
|
+
|
936
|
+
payment_method1 = Braintree::PaymentMethod.create(
|
937
|
+
:customer_id => customer.id,
|
938
|
+
:payment_method_nonce => Braintree::Test::Nonce::TransactableVisa,
|
939
|
+
:token => token1,
|
940
|
+
)
|
941
|
+
|
942
|
+
payment_method1 = Braintree::PaymentMethod.find(token1)
|
943
|
+
payment_method1.should be_default
|
944
|
+
|
945
|
+
token2 = random_payment_method_token
|
946
|
+
|
947
|
+
payment_method2 = Braintree::PaymentMethod.create(
|
948
|
+
:customer_id => customer.id,
|
949
|
+
:payment_method_nonce => Braintree::Test::Nonce::TransactableMasterCard,
|
950
|
+
:token => token2
|
951
|
+
)
|
952
|
+
|
953
|
+
Braintree::Customer.update(customer.id,
|
954
|
+
:default_payment_method_token => token2
|
955
|
+
)
|
956
|
+
|
957
|
+
payment_method2 = Braintree::PaymentMethod.find(token2)
|
958
|
+
payment_method2.should be_default
|
959
|
+
end
|
960
|
+
|
961
|
+
it "updates the default payment method in the options" do
|
962
|
+
customer = Braintree::Customer.create!(
|
963
|
+
:first_name => "Joe",
|
964
|
+
:last_name => "Brown",
|
965
|
+
)
|
966
|
+
|
967
|
+
token1 = random_payment_method_token
|
968
|
+
|
969
|
+
payment_method1 = Braintree::PaymentMethod.create(
|
970
|
+
:customer_id => customer.id,
|
971
|
+
:payment_method_nonce => Braintree::Test::Nonce::TransactableVisa,
|
972
|
+
:token => token1,
|
973
|
+
)
|
974
|
+
|
975
|
+
payment_method1 = Braintree::PaymentMethod.find(token1)
|
976
|
+
payment_method1.should be_default
|
977
|
+
|
978
|
+
token2 = random_payment_method_token
|
979
|
+
|
980
|
+
payment_method2 = Braintree::PaymentMethod.create(
|
981
|
+
:customer_id => customer.id,
|
982
|
+
:payment_method_nonce => Braintree::Test::Nonce::TransactableMasterCard,
|
983
|
+
:token => token2
|
984
|
+
)
|
985
|
+
|
986
|
+
Braintree::Customer.update(customer.id,
|
987
|
+
:credit_card => {
|
988
|
+
:options => {
|
989
|
+
:update_existing_token => token2,
|
990
|
+
:make_default => true
|
991
|
+
}
|
992
|
+
}
|
993
|
+
)
|
994
|
+
|
995
|
+
payment_method2 = Braintree::PaymentMethod.find(token2)
|
996
|
+
payment_method2.should be_default
|
997
|
+
end
|
998
|
+
|
912
999
|
it "can use any country code" do
|
913
1000
|
customer = Braintree::Customer.create!(
|
914
1001
|
:first_name => "Alex",
|
@@ -318,6 +318,23 @@ describe Braintree::Transaction do
|
|
318
318
|
result.success?.should == true
|
319
319
|
end
|
320
320
|
|
321
|
+
it "accepts additional security parameters: risk data with customer_browser and customer_ip" do
|
322
|
+
result = Braintree::Transaction.create(
|
323
|
+
:type => "sale",
|
324
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
325
|
+
:credit_card => {
|
326
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
327
|
+
:expiration_date => "05/2009"
|
328
|
+
},
|
329
|
+
:risk_data => {
|
330
|
+
:customer_browser => "IE6",
|
331
|
+
:customer_ip => "192.168.0.1"
|
332
|
+
}
|
333
|
+
)
|
334
|
+
|
335
|
+
result.success?.should == true
|
336
|
+
end
|
337
|
+
|
321
338
|
it "accepts billing_address_id in place of billing_address" do
|
322
339
|
result = Braintree::Customer.create()
|
323
340
|
address_result = Braintree::Address.create(
|
@@ -1013,16 +1030,46 @@ describe Braintree::Transaction do
|
|
1013
1030
|
context "recurring" do
|
1014
1031
|
it "marks a transaction as recurring" do
|
1015
1032
|
result = Braintree::Transaction.create(
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1033
|
+
:type => "sale",
|
1034
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
1035
|
+
:credit_card => {
|
1036
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
1037
|
+
:expiration_date => "12/12",
|
1038
|
+
},
|
1039
|
+
:recurring => true
|
1040
|
+
)
|
1041
|
+
result.success?.should == true
|
1042
|
+
result.transaction.recurring.should == true
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
context "transaction_source" do
|
1047
|
+
it "marks a transactions as recurring" do
|
1048
|
+
result = Braintree::Transaction.create(
|
1049
|
+
:type => "sale",
|
1050
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
1051
|
+
:credit_card => {
|
1052
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
1053
|
+
:expiration_date => "12/12",
|
1054
|
+
},
|
1055
|
+
:transaction_source => "recurring"
|
1056
|
+
)
|
1057
|
+
result.success?.should == true
|
1058
|
+
result.transaction.recurring.should == true
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
it "marks a transactions as moto" do
|
1062
|
+
result = Braintree::Transaction.create(
|
1063
|
+
:type => "sale",
|
1064
|
+
:amount => Braintree::Test::TransactionAmounts::Authorize,
|
1065
|
+
:credit_card => {
|
1066
|
+
:number => Braintree::Test::CreditCardNumbers::Visa,
|
1067
|
+
:expiration_date => "12/12",
|
1068
|
+
},
|
1069
|
+
:transaction_source => "moto"
|
1070
|
+
)
|
1071
|
+
result.success?.should == true
|
1072
|
+
result.transaction.recurring.should == false
|
1026
1073
|
end
|
1027
1074
|
end
|
1028
1075
|
|
@@ -86,6 +86,7 @@ describe Braintree::Customer do
|
|
86
86
|
:website,
|
87
87
|
:device_data,
|
88
88
|
:payment_method_nonce,
|
89
|
+
{:risk_data => [:customer_browser, :customer_ip]},
|
89
90
|
{:credit_card => [
|
90
91
|
:billing_address_id,
|
91
92
|
:cardholder_name,
|
@@ -134,6 +135,7 @@ describe Braintree::Customer do
|
|
134
135
|
:website,
|
135
136
|
:device_data,
|
136
137
|
:payment_method_nonce,
|
138
|
+
:default_payment_method_token,
|
137
139
|
{:credit_card => [
|
138
140
|
:billing_address_id,
|
139
141
|
:cardholder_name,
|
metadata
CHANGED
@@ -1,27 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: braintree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.64.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Braintree
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2016-
|
12
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: builder
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>='
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: 2.0.0
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>='
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 2.0.0
|
27
30
|
description: Ruby library for integrating with the Braintree Gateway
|
@@ -32,228 +35,229 @@ extra_rdoc_files: []
|
|
32
35
|
files:
|
33
36
|
- README.rdoc
|
34
37
|
- LICENSE
|
35
|
-
- lib/braintree.rb
|
36
|
-
- lib/braintree/
|
37
|
-
- lib/braintree/
|
38
|
-
- lib/braintree/
|
38
|
+
- lib/braintree/customer_gateway.rb
|
39
|
+
- lib/braintree/subscription/status_details.rb
|
40
|
+
- lib/braintree/discount.rb
|
41
|
+
- lib/braintree/transaction/customer_details.rb
|
42
|
+
- lib/braintree/transaction/subscription_details.rb
|
43
|
+
- lib/braintree/transaction/credit_card_details.rb
|
44
|
+
- lib/braintree/transaction/status_details.rb
|
45
|
+
- lib/braintree/transaction/address_details.rb
|
46
|
+
- lib/braintree/transaction/disbursement_details.rb
|
47
|
+
- lib/braintree/transaction/apple_pay_details.rb
|
48
|
+
- lib/braintree/transaction/android_pay_details.rb
|
49
|
+
- lib/braintree/transaction/amex_express_checkout_details.rb
|
50
|
+
- lib/braintree/transaction/paypal_details.rb
|
51
|
+
- lib/braintree/transaction/venmo_account_details.rb
|
52
|
+
- lib/braintree/transaction/coinbase_details.rb
|
53
|
+
- lib/braintree/testing_gateway.rb
|
54
|
+
- lib/braintree/payment_method_gateway.rb
|
55
|
+
- lib/braintree/http.rb
|
39
56
|
- lib/braintree/dispute/transaction_details.rb
|
40
|
-
- lib/braintree/
|
41
|
-
- lib/braintree/
|
42
|
-
- lib/braintree/
|
43
|
-
- lib/braintree/plan_gateway.rb
|
44
|
-
- lib/braintree/settlement_batch_summary.rb
|
45
|
-
- lib/braintree/test_transaction.rb
|
46
|
-
- lib/braintree/discount_gateway.rb
|
47
|
-
- lib/braintree/plan.rb
|
48
|
-
- lib/braintree/configuration.rb
|
49
|
-
- lib/braintree/customer.rb
|
50
|
-
- lib/braintree/europe_bank_account.rb
|
51
|
-
- lib/braintree/address/country_names.rb
|
52
|
-
- lib/braintree/webhook_testing.rb
|
57
|
+
- lib/braintree/transaction_search.rb
|
58
|
+
- lib/braintree/address.rb
|
59
|
+
- lib/braintree/webhook_notification_gateway.rb
|
53
60
|
- lib/braintree/apple_pay_card.rb
|
54
|
-
- lib/braintree/merchant_account/individual_details.rb
|
55
|
-
- lib/braintree/merchant_account/address_details.rb
|
56
|
-
- lib/braintree/merchant_account/business_details.rb
|
57
|
-
- lib/braintree/merchant_account/funding_details.rb
|
58
|
-
- lib/braintree/account_updater_daily_report.rb
|
59
|
-
- lib/braintree/amex_express_checkout_card.rb
|
60
|
-
- lib/braintree/validation_error_collection.rb
|
61
|
-
- lib/braintree/transparent_redirect_gateway.rb
|
62
|
-
- lib/braintree/http.rb
|
63
61
|
- lib/braintree/errors.rb
|
64
|
-
- lib/braintree/
|
65
|
-
- lib/braintree/
|
66
|
-
- lib/braintree/
|
62
|
+
- lib/braintree/amex_express_checkout_card.rb
|
63
|
+
- lib/braintree/discount_gateway.rb
|
64
|
+
- lib/braintree/payment_method_nonce_gateway.rb
|
65
|
+
- lib/braintree/advanced_search.rb
|
66
|
+
- lib/braintree/sha256_digest.rb
|
67
|
+
- lib/braintree/android_pay_card.rb
|
67
68
|
- lib/braintree/unknown_payment_method.rb
|
68
|
-
- lib/braintree/
|
69
|
-
- lib/braintree/
|
70
|
-
- lib/braintree/
|
71
|
-
- lib/braintree/
|
72
|
-
- lib/braintree/
|
73
|
-
- lib/braintree/xml/generator.rb
|
74
|
-
- lib/braintree/xml/libxml.rb
|
75
|
-
- lib/braintree/xml/parser.rb
|
76
|
-
- lib/braintree/xml/rexml.rb
|
77
|
-
- lib/braintree/credit_card_verification.rb
|
78
|
-
- lib/braintree/settlement_batch_summary_gateway.rb
|
79
|
-
- lib/braintree/client_token_gateway.rb
|
80
|
-
- lib/braintree/base_module.rb
|
81
|
-
- lib/braintree/customer_gateway.rb
|
82
|
-
- lib/braintree/testing_gateway.rb
|
69
|
+
- lib/braintree/configuration.rb
|
70
|
+
- lib/braintree/webhook_notification.rb
|
71
|
+
- lib/braintree/oauth_credentials.rb
|
72
|
+
- lib/braintree/error_codes.rb
|
73
|
+
- lib/braintree/merchant_account_gateway.rb
|
83
74
|
- lib/braintree/credentials_parser.rb
|
84
|
-
- lib/braintree/advanced_search.rb
|
85
75
|
- lib/braintree/payment_method_nonce.rb
|
86
|
-
- lib/braintree/payment_method.rb
|
87
|
-
- lib/braintree/merchant_gateway.rb
|
88
|
-
- lib/braintree/client_token.rb
|
89
|
-
- lib/braintree/validation_error.rb
|
90
|
-
- lib/braintree/add_on_gateway.rb
|
91
|
-
- lib/braintree/signature_service.rb
|
92
|
-
- lib/braintree/merchant_account_gateway.rb
|
93
76
|
- lib/braintree/credit_card_verification_search.rb
|
77
|
+
- lib/braintree/risk_data.rb
|
78
|
+
- lib/braintree/payment_method.rb
|
79
|
+
- lib/braintree/subscription.rb
|
80
|
+
- lib/braintree/settlement_batch_summary_gateway.rb
|
81
|
+
- lib/braintree/europe_bank_account_gateway.rb
|
82
|
+
- lib/braintree/test_transaction.rb
|
83
|
+
- lib/braintree/client_token_gateway.rb
|
94
84
|
- lib/braintree/resource_collection.rb
|
95
|
-
- lib/braintree/
|
96
|
-
- lib/braintree/
|
97
|
-
- lib/braintree/
|
98
|
-
- lib/braintree/
|
99
|
-
- lib/braintree/
|
100
|
-
- lib/braintree/
|
101
|
-
- lib/braintree/
|
102
|
-
- lib/braintree/
|
103
|
-
- lib/braintree/
|
104
|
-
- lib/braintree/
|
105
|
-
- lib/braintree/transaction/subscription_details.rb
|
106
|
-
- lib/braintree/transaction/coinbase_details.rb
|
107
|
-
- lib/braintree/transaction/android_pay_details.rb
|
108
|
-
- lib/braintree/three_d_secure_info.rb
|
109
|
-
- lib/braintree/descriptor.rb
|
85
|
+
- lib/braintree/exceptions.rb
|
86
|
+
- lib/braintree/customer_search.rb
|
87
|
+
- lib/braintree/transaction_gateway.rb
|
88
|
+
- lib/braintree/merchant_gateway.rb
|
89
|
+
- lib/braintree/account_updater_daily_report.rb
|
90
|
+
- lib/braintree/europe_bank_account.rb
|
91
|
+
- lib/braintree/xml/libxml.rb
|
92
|
+
- lib/braintree/xml/rexml.rb
|
93
|
+
- lib/braintree/xml/parser.rb
|
94
|
+
- lib/braintree/xml/generator.rb
|
110
95
|
- lib/braintree/modification.rb
|
111
|
-
- lib/braintree/
|
112
|
-
- lib/braintree/
|
113
|
-
- lib/braintree/
|
114
|
-
- lib/braintree/
|
115
|
-
- lib/braintree/
|
116
|
-
- lib/braintree/
|
117
|
-
- lib/braintree/
|
96
|
+
- lib/braintree/digest.rb
|
97
|
+
- lib/braintree/gateway.rb
|
98
|
+
- lib/braintree/merchant_account.rb
|
99
|
+
- lib/braintree/xml.rb
|
100
|
+
- lib/braintree/subscription_gateway.rb
|
101
|
+
- lib/braintree/three_d_secure_info.rb
|
102
|
+
- lib/braintree/coinbase_account.rb
|
103
|
+
- lib/braintree/merchant_account/individual_details.rb
|
104
|
+
- lib/braintree/merchant_account/address_details.rb
|
105
|
+
- lib/braintree/merchant_account/business_details.rb
|
106
|
+
- lib/braintree/merchant_account/funding_details.rb
|
107
|
+
- lib/braintree/test/nonce.rb
|
108
|
+
- lib/braintree/test/merchant_account.rb
|
118
109
|
- lib/braintree/test/credit_card.rb
|
119
110
|
- lib/braintree/test/venmo_sdk.rb
|
120
|
-
- lib/braintree/test/merchant_account.rb
|
121
111
|
- lib/braintree/test/transaction_amounts.rb
|
122
|
-
- lib/braintree/test/nonce.rb
|
123
|
-
- lib/braintree/webhook_notification.rb
|
124
112
|
- lib/braintree/error_result.rb
|
125
|
-
- lib/braintree/
|
126
|
-
- lib/braintree/
|
127
|
-
- lib/braintree/
|
128
|
-
- lib/braintree/
|
129
|
-
- lib/braintree/
|
130
|
-
- lib/braintree/
|
131
|
-
- lib/braintree/transaction_search.rb
|
113
|
+
- lib/braintree/credit_card.rb
|
114
|
+
- lib/braintree/plan.rb
|
115
|
+
- lib/braintree/transaction.rb
|
116
|
+
- lib/braintree/base_module.rb
|
117
|
+
- lib/braintree/signature_service.rb
|
118
|
+
- lib/braintree/plan_gateway.rb
|
132
119
|
- lib/braintree/payment_instrument_type.rb
|
133
|
-
- lib/braintree/
|
134
|
-
- lib/braintree/
|
135
|
-
- lib/braintree/
|
120
|
+
- lib/braintree/customer.rb
|
121
|
+
- lib/braintree/facilitator_details.rb
|
122
|
+
- lib/braintree/paypal_account.rb
|
136
123
|
- lib/braintree/merchant.rb
|
137
|
-
- lib/braintree/
|
138
|
-
- lib/braintree/
|
139
|
-
- lib/braintree/
|
140
|
-
- lib/braintree/
|
141
|
-
- lib/braintree/error_codes.rb
|
142
|
-
- lib/braintree/exceptions.rb
|
143
|
-
- lib/braintree/gateway.rb
|
144
|
-
- lib/braintree/webhook_testing_gateway.rb
|
124
|
+
- lib/braintree/credit_card_gateway.rb
|
125
|
+
- lib/braintree/address/country_names.rb
|
126
|
+
- lib/braintree/credit_card_verification_gateway.rb
|
127
|
+
- lib/braintree/paypal_account_gateway.rb
|
145
128
|
- lib/braintree/dispute.rb
|
146
|
-
- lib/braintree/
|
129
|
+
- lib/braintree/disbursement.rb
|
130
|
+
- lib/braintree/webhook_testing.rb
|
131
|
+
- lib/braintree/oauth_gateway.rb
|
132
|
+
- lib/braintree/settlement_batch.rb
|
147
133
|
- lib/braintree/subscription_search.rb
|
148
|
-
- lib/
|
134
|
+
- lib/braintree/venmo_account.rb
|
135
|
+
- lib/braintree/add_on.rb
|
136
|
+
- lib/braintree/transparent_redirect_gateway.rb
|
137
|
+
- lib/braintree/credit_card_verification.rb
|
138
|
+
- lib/braintree/address_gateway.rb
|
139
|
+
- lib/braintree/transparent_redirect.rb
|
140
|
+
- lib/braintree/settlement_batch_summary.rb
|
141
|
+
- lib/braintree/add_on_gateway.rb
|
142
|
+
- lib/braintree/successful_result.rb
|
143
|
+
- lib/braintree/validation_error_collection.rb
|
144
|
+
- lib/braintree/webhook_testing_gateway.rb
|
145
|
+
- lib/braintree/client_token.rb
|
146
|
+
- lib/braintree/util.rb
|
147
|
+
- lib/braintree/version.rb
|
148
|
+
- lib/braintree/descriptor.rb
|
149
|
+
- lib/braintree/validation_error.rb
|
150
|
+
- lib/braintree.rb
|
149
151
|
- lib/ssl/api_braintreegateway_com.ca.crt
|
150
|
-
-
|
151
|
-
- spec/
|
152
|
-
- spec/ssl/geotrust_global.crt
|
152
|
+
- lib/ssl/securetrust_ca.crt
|
153
|
+
- spec/hacks/tcp_socket.rb
|
153
154
|
- spec/oauth_test_helper.rb
|
154
|
-
- spec/
|
155
|
-
- spec/
|
156
|
-
- spec/
|
157
|
-
- spec/
|
155
|
+
- spec/httpsd.pid
|
156
|
+
- spec/integration/braintree/subscription_spec.rb
|
157
|
+
- spec/integration/braintree/client_api/client_token_spec.rb
|
158
|
+
- spec/integration/braintree/client_api/spec_helper.rb
|
159
|
+
- spec/integration/braintree/oauth_spec.rb
|
160
|
+
- spec/integration/braintree/merchant_spec.rb
|
161
|
+
- spec/integration/braintree/coinbase_spec.rb
|
162
|
+
- spec/integration/braintree/disbursement_spec.rb
|
163
|
+
- spec/integration/braintree/credit_card_verification_spec.rb
|
164
|
+
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
165
|
+
- spec/integration/braintree/add_on_spec.rb
|
166
|
+
- spec/integration/braintree/transparent_redirect_spec.rb
|
167
|
+
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
168
|
+
- spec/integration/braintree/advanced_search_spec.rb
|
169
|
+
- spec/integration/braintree/credit_card_spec.rb
|
170
|
+
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
171
|
+
- spec/integration/braintree/merchant_account_spec.rb
|
172
|
+
- spec/integration/braintree/http_spec.rb
|
173
|
+
- spec/integration/braintree/error_codes_spec.rb
|
174
|
+
- spec/integration/braintree/address_spec.rb
|
175
|
+
- spec/integration/braintree/transaction_search_spec.rb
|
176
|
+
- spec/integration/braintree/plan_spec.rb
|
177
|
+
- spec/integration/braintree/customer_spec.rb
|
178
|
+
- spec/integration/braintree/transaction_spec.rb
|
179
|
+
- spec/integration/braintree/discount_spec.rb
|
180
|
+
- spec/integration/braintree/payment_method_nonce_spec.rb
|
181
|
+
- spec/integration/braintree/test_transaction_spec.rb
|
182
|
+
- spec/integration/braintree/customer_search_spec.rb
|
183
|
+
- spec/integration/braintree/paypal_account_spec.rb
|
184
|
+
- spec/integration/braintree/payment_method_spec.rb
|
185
|
+
- spec/integration/spec_helper.rb
|
158
186
|
- spec/unit/braintree/xml_spec.rb
|
159
|
-
- spec/unit/braintree/
|
160
|
-
- spec/unit/braintree/
|
161
|
-
- spec/unit/braintree/
|
187
|
+
- spec/unit/braintree/subscription_spec.rb
|
188
|
+
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
189
|
+
- spec/unit/braintree/transaction/customer_details_spec.rb
|
190
|
+
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
162
191
|
- spec/unit/braintree/webhook_notification_spec.rb
|
163
|
-
- spec/unit/braintree/
|
164
|
-
- spec/unit/braintree/
|
192
|
+
- spec/unit/braintree/subscription_search_spec.rb
|
193
|
+
- spec/unit/braintree/client_token_spec.rb
|
165
194
|
- spec/unit/braintree/modification_spec.rb
|
166
|
-
- spec/unit/braintree/
|
167
|
-
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
168
|
-
- spec/unit/braintree/transaction_spec.rb
|
195
|
+
- spec/unit/braintree/three_d_secure_info_spec.rb
|
169
196
|
- spec/unit/braintree/disbursement_spec.rb
|
170
|
-
- spec/unit/braintree/
|
197
|
+
- spec/unit/braintree/credit_card_verification_spec.rb
|
198
|
+
- spec/unit/braintree/transparent_redirect_spec.rb
|
199
|
+
- spec/unit/braintree/risk_data_spec.rb
|
200
|
+
- spec/unit/braintree/credit_card_verification_search_spec.rb
|
201
|
+
- spec/unit/braintree/dispute_spec.rb
|
202
|
+
- spec/unit/braintree/digest_spec.rb
|
171
203
|
- spec/unit/braintree/xml/libxml_spec.rb
|
172
204
|
- spec/unit/braintree/xml/parser_spec.rb
|
173
205
|
- spec/unit/braintree/xml/rexml_spec.rb
|
174
|
-
- spec/unit/braintree/
|
175
|
-
- spec/unit/braintree/base_module_spec.rb
|
176
|
-
- spec/unit/braintree/apple_pay_card_spec.rb
|
177
|
-
- spec/unit/braintree/signature_service_spec.rb
|
178
|
-
- spec/unit/braintree/subscription_spec.rb
|
179
|
-
- spec/unit/braintree/transparent_redirect_spec.rb
|
180
|
-
- spec/unit/braintree/paypal_account_spec.rb
|
181
|
-
- spec/unit/braintree/address_spec.rb
|
182
|
-
- spec/unit/braintree/risk_data_spec.rb
|
183
|
-
- spec/unit/braintree/validation_error_collection_spec.rb
|
206
|
+
- spec/unit/braintree/unknown_payment_method_spec.rb
|
184
207
|
- spec/unit/braintree/errors_spec.rb
|
185
|
-
- spec/unit/braintree/
|
186
|
-
- spec/unit/braintree/
|
187
|
-
- spec/unit/braintree/
|
208
|
+
- spec/unit/braintree/sha256_digest_spec.rb
|
209
|
+
- spec/unit/braintree/credit_card_spec.rb
|
210
|
+
- spec/unit/braintree/merchant_account_spec.rb
|
188
211
|
- spec/unit/braintree/http_spec.rb
|
189
212
|
- spec/unit/braintree/configuration_spec.rb
|
190
|
-
- spec/unit/braintree/
|
191
|
-
- spec/unit/braintree/
|
192
|
-
- spec/unit/braintree/payment_method_spec.rb
|
193
|
-
- spec/unit/braintree/resource_collection_spec.rb
|
194
|
-
- spec/unit/braintree/three_d_secure_info_spec.rb
|
213
|
+
- spec/unit/braintree/address_spec.rb
|
214
|
+
- spec/unit/braintree/apple_pay_card_spec.rb
|
195
215
|
- spec/unit/braintree/transaction_search_spec.rb
|
196
|
-
- spec/unit/braintree/
|
197
|
-
- spec/unit/braintree/
|
198
|
-
- spec/unit/braintree/
|
216
|
+
- spec/unit/braintree/validation_error_collection_spec.rb
|
217
|
+
- spec/unit/braintree/successful_result_spec.rb
|
218
|
+
- spec/unit/braintree/customer_spec.rb
|
219
|
+
- spec/unit/braintree/util_spec.rb
|
220
|
+
- spec/unit/braintree/transaction_spec.rb
|
221
|
+
- spec/unit/braintree/base_module_spec.rb
|
222
|
+
- spec/unit/braintree/paypal_account_spec.rb
|
223
|
+
- spec/unit/braintree/signature_service_spec.rb
|
224
|
+
- spec/unit/braintree/resource_collection_spec.rb
|
225
|
+
- spec/unit/braintree/credentials_parser_spec.rb
|
226
|
+
- spec/unit/braintree/payment_method_spec.rb
|
227
|
+
- spec/unit/braintree/validation_error_spec.rb
|
228
|
+
- spec/unit/braintree/error_result_spec.rb
|
199
229
|
- spec/unit/spec_helper.rb
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/integration/braintree/plan_spec.rb
|
205
|
-
- spec/integration/braintree/credit_card_verification_search_spec.rb
|
206
|
-
- spec/integration/braintree/add_on_spec.rb
|
207
|
-
- spec/integration/braintree/transaction_spec.rb
|
208
|
-
- spec/integration/braintree/disbursement_spec.rb
|
209
|
-
- spec/integration/braintree/error_codes_spec.rb
|
210
|
-
- spec/integration/braintree/merchant_account_spec.rb
|
211
|
-
- spec/integration/braintree/subscription_spec.rb
|
212
|
-
- spec/integration/braintree/transparent_redirect_spec.rb
|
213
|
-
- spec/integration/braintree/paypal_account_spec.rb
|
214
|
-
- spec/integration/braintree/address_spec.rb
|
215
|
-
- spec/integration/braintree/settlement_batch_summary_spec.rb
|
216
|
-
- spec/integration/braintree/payment_method_nonce_spec.rb
|
217
|
-
- spec/integration/braintree/http_spec.rb
|
218
|
-
- spec/integration/braintree/test/transaction_amounts_spec.rb
|
219
|
-
- spec/integration/braintree/client_api/client_token_spec.rb
|
220
|
-
- spec/integration/braintree/client_api/spec_helper.rb
|
221
|
-
- spec/integration/braintree/payment_method_spec.rb
|
222
|
-
- spec/integration/braintree/customer_search_spec.rb
|
223
|
-
- spec/integration/braintree/advanced_search_spec.rb
|
224
|
-
- spec/integration/braintree/discount_spec.rb
|
225
|
-
- spec/integration/braintree/transaction_search_spec.rb
|
226
|
-
- spec/integration/braintree/credit_card_verification_spec.rb
|
227
|
-
- spec/integration/braintree/coinbase_spec.rb
|
228
|
-
- spec/integration/braintree/merchant_spec.rb
|
229
|
-
- spec/integration/spec_helper.rb
|
230
|
-
- spec/script/httpsd.rb
|
231
|
-
- spec/httpsd.pid
|
232
|
-
- spec/hacks/tcp_socket.rb
|
230
|
+
- spec/unit/braintree_spec.rb
|
231
|
+
- spec/ssl/privateKey.key
|
232
|
+
- spec/ssl/geotrust_global.crt
|
233
|
+
- spec/ssl/certificate.crt
|
233
234
|
- spec/spec_helper.rb
|
235
|
+
- spec/script/httpsd.rb
|
236
|
+
- spec/spec.opts
|
234
237
|
- braintree.gemspec
|
235
238
|
homepage: http://www.braintreepayments.com/
|
236
239
|
licenses:
|
237
240
|
- MIT
|
238
|
-
metadata: {}
|
239
241
|
post_install_message:
|
240
242
|
rdoc_options: []
|
241
243
|
require_paths:
|
242
244
|
- lib
|
243
245
|
required_ruby_version: !ruby/object:Gem::Requirement
|
246
|
+
none: false
|
244
247
|
requirements:
|
245
|
-
- - '>='
|
248
|
+
- - ! '>='
|
246
249
|
- !ruby/object:Gem::Version
|
247
250
|
version: '0'
|
248
251
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
249
253
|
requirements:
|
250
|
-
- - '>='
|
254
|
+
- - ! '>='
|
251
255
|
- !ruby/object:Gem::Version
|
252
256
|
version: '0'
|
253
257
|
requirements: []
|
254
258
|
rubyforge_project: braintree
|
255
|
-
rubygems_version:
|
259
|
+
rubygems_version: 1.8.23
|
256
260
|
signing_key:
|
257
|
-
specification_version:
|
261
|
+
specification_version: 3
|
258
262
|
summary: Braintree Gateway Ruby Client Library
|
259
263
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: ccc28310db68797a5dd6a70a9383fa7af131a37b
|
4
|
-
data.tar.gz: cf4c892beca9c580c62942182660d86c36dccaa7
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: f3d2f0ebfb757a1d010ee0097f05029fb6d56273daab64f3636dde838ca480312eba8e6a4f0f80f5ff6f296e52e048935cace24d89fb4900620a06e85f2f8af3
|
7
|
-
data.tar.gz: 386630e25f47f1753756a82507c7f4b772f5db49eb50436b9d0e4eff114b17be0b0863b97a634ed61dddfb90e846e0cb811e7ea5364083be0edb55a9793fcee0
|