braintree 4.25.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/braintree/apple_pay_card.rb +1 -0
- data/lib/braintree/bin_data.rb +2 -1
- data/lib/braintree/credit_card.rb +6 -5
- data/lib/braintree/error_codes.rb +41 -0
- data/lib/braintree/gateway.rb +4 -0
- data/lib/braintree/google_pay_card.rb +1 -0
- data/lib/braintree/meta_checkout_card.rb +6 -5
- data/lib/braintree/meta_checkout_token.rb +6 -5
- data/lib/braintree/paypal_payment_resource.rb +22 -0
- data/lib/braintree/paypal_payment_resource_gateway.rb +36 -0
- data/lib/braintree/test/credit_card.rb +1 -0
- data/lib/braintree/transaction/apple_pay_details.rb +1 -0
- data/lib/braintree/transaction/credit_card_details.rb +12 -10
- data/lib/braintree/transaction/google_pay_details.rb +11 -10
- data/lib/braintree/transaction/meta_checkout_card_details.rb +5 -2
- data/lib/braintree/transaction/meta_checkout_token_details.rb +6 -2
- data/lib/braintree/transaction/visa_checkout_card_details.rb +5 -2
- data/lib/braintree/version.rb +1 -1
- data/lib/braintree/visa_checkout_card.rb +5 -5
- data/lib/braintree.rb +2 -0
- data/spec/integration/braintree/credit_card_spec.rb +12 -0
- data/spec/integration/braintree/credit_card_verification_spec.rb +24 -0
- data/spec/integration/braintree/customer_spec.rb +22 -6
- data/spec/integration/braintree/payment_method_nonce_spec.rb +11 -0
- data/spec/integration/braintree/paypal_payment_resource_spec.rb +141 -0
- data/spec/integration/braintree/transaction_spec.rb +15 -0
- data/spec/unit/braintree/apple_pay_card_spec.rb +1 -0
- data/spec/unit/braintree/credit_card_spec.rb +5 -0
- data/spec/unit/braintree/google_pay_card_spec.rb +8 -0
- data/spec/unit/braintree/meta_checkout_card_spec.rb +53 -51
- data/spec/unit/braintree/meta_checkout_token_spec.rb +3 -1
- data/spec/unit/braintree/payment_method_nonce_spec.rb +4 -1
- data/spec/unit/braintree/paypal_payment_resource_spec.rb +125 -0
- data/spec/unit/braintree/transaction/apple_pay_details_spec.rb +8 -0
- data/spec/unit/braintree/transaction/credit_card_details_spec.rb +2 -1
- data/spec/unit/braintree/transaction/google_pay_details_spec.rb +8 -0
- data/spec/unit/braintree/transaction/meta_checkout_card_details_spec.rb +8 -0
- data/spec/unit/braintree/transaction/meta_checkout_token_details_spec.rb +8 -0
- data/spec/unit/braintree/transaction/visa_checkout_card_details_spec.rb +8 -0
- data/spec/unit/braintree/transaction_spec.rb +2 -0
- data/spec/unit/braintree/visa_checkout_card_spec.rb +8 -0
- data/spec/unit/credit_card_details_spec.rb +8 -0
- metadata +14 -2
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: 4.
|
4
|
+
version: 4.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braintree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -152,6 +152,8 @@ files:
|
|
152
152
|
- lib/braintree/payment_method_parser.rb
|
153
153
|
- lib/braintree/paypal_account.rb
|
154
154
|
- lib/braintree/paypal_account_gateway.rb
|
155
|
+
- lib/braintree/paypal_payment_resource.rb
|
156
|
+
- lib/braintree/paypal_payment_resource_gateway.rb
|
155
157
|
- lib/braintree/plan.rb
|
156
158
|
- lib/braintree/plan_gateway.rb
|
157
159
|
- lib/braintree/processor_response_types.rb
|
@@ -269,6 +271,7 @@ files:
|
|
269
271
|
- spec/integration/braintree/payment_method_spec.rb
|
270
272
|
- spec/integration/braintree/payment_method_us_bank_account_spec.rb
|
271
273
|
- spec/integration/braintree/paypal_account_spec.rb
|
274
|
+
- spec/integration/braintree/paypal_payment_resource_spec.rb
|
272
275
|
- spec/integration/braintree/plan_spec.rb
|
273
276
|
- spec/integration/braintree/samsung_pay_card_spec.rb
|
274
277
|
- spec/integration/braintree/sepa_direct_debit_account_spec.rb
|
@@ -317,6 +320,7 @@ files:
|
|
317
320
|
- spec/unit/braintree/exchange_rate_quote_response_spec.rb
|
318
321
|
- spec/unit/braintree/exchange_rate_quote_spec.rb
|
319
322
|
- spec/unit/braintree/exchange_rate_spec.rb
|
323
|
+
- spec/unit/braintree/google_pay_card_spec.rb
|
320
324
|
- spec/unit/braintree/graphql/create_customer_session_input_spec.rb
|
321
325
|
- spec/unit/braintree/graphql/customer_recommendations_input_spec.rb
|
322
326
|
- spec/unit/braintree/graphql/customer_session_input_spec.rb
|
@@ -340,6 +344,7 @@ files:
|
|
340
344
|
- spec/unit/braintree/payment_method_nonce_spec.rb
|
341
345
|
- spec/unit/braintree/payment_method_spec.rb
|
342
346
|
- spec/unit/braintree/paypal_account_spec.rb
|
347
|
+
- spec/unit/braintree/paypal_payment_resource_spec.rb
|
343
348
|
- spec/unit/braintree/resource_collection_spec.rb
|
344
349
|
- spec/unit/braintree/risk_data/liability_shift.rb
|
345
350
|
- spec/unit/braintree/risk_data_spec.rb
|
@@ -351,14 +356,19 @@ files:
|
|
351
356
|
- spec/unit/braintree/subscription_spec.rb
|
352
357
|
- spec/unit/braintree/successful_result_spec.rb
|
353
358
|
- spec/unit/braintree/three_d_secure_info_spec.rb
|
359
|
+
- spec/unit/braintree/transaction/apple_pay_details_spec.rb
|
354
360
|
- spec/unit/braintree/transaction/credit_card_details_spec.rb
|
355
361
|
- spec/unit/braintree/transaction/customer_details_spec.rb
|
356
362
|
- spec/unit/braintree/transaction/deposit_details_spec.rb
|
363
|
+
- spec/unit/braintree/transaction/google_pay_details_spec.rb
|
357
364
|
- spec/unit/braintree/transaction/installment_spec.rb
|
358
365
|
- spec/unit/braintree/transaction/local_payment_details_spec.rb
|
366
|
+
- spec/unit/braintree/transaction/meta_checkout_card_details_spec.rb
|
367
|
+
- spec/unit/braintree/transaction/meta_checkout_token_details_spec.rb
|
359
368
|
- spec/unit/braintree/transaction/payment_receipt_spec.rb
|
360
369
|
- spec/unit/braintree/transaction/paypal_details_spec.rb
|
361
370
|
- spec/unit/braintree/transaction/sepa_direct_debit_account_details_spec.rb
|
371
|
+
- spec/unit/braintree/transaction/visa_checkout_card_details_spec.rb
|
362
372
|
- spec/unit/braintree/transaction_gateway_spec.rb
|
363
373
|
- spec/unit/braintree/transaction_search_spec.rb
|
364
374
|
- spec/unit/braintree/transaction_spec.rb
|
@@ -370,12 +380,14 @@ files:
|
|
370
380
|
- spec/unit/braintree/validation_error_collection_spec.rb
|
371
381
|
- spec/unit/braintree/validation_error_spec.rb
|
372
382
|
- spec/unit/braintree/venmo_profile_data_spec.rb
|
383
|
+
- spec/unit/braintree/visa_checkout_card_spec.rb
|
373
384
|
- spec/unit/braintree/webhook_notification_spec.rb
|
374
385
|
- spec/unit/braintree/xml/libxml_spec.rb
|
375
386
|
- spec/unit/braintree/xml/parser_spec.rb
|
376
387
|
- spec/unit/braintree/xml/rexml_spec.rb
|
377
388
|
- spec/unit/braintree/xml_spec.rb
|
378
389
|
- spec/unit/braintree_spec.rb
|
390
|
+
- spec/unit/credit_card_details_spec.rb
|
379
391
|
- spec/unit/spec_helper.rb
|
380
392
|
homepage: https://www.braintreepayments.com/
|
381
393
|
licenses:
|