braintree 2.98.0 → 4.23.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/LICENSE +1 -1
- data/braintree.gemspec +7 -4
- data/lib/braintree/account_updater_daily_report.rb +4 -4
- data/lib/braintree/ach_mandate.rb +1 -1
- data/lib/braintree/add_on_gateway.rb +1 -1
- data/lib/braintree/address.rb +7 -27
- data/lib/braintree/address_gateway.rb +8 -7
- data/lib/braintree/advanced_search.rb +11 -12
- data/lib/braintree/apple_pay.rb +4 -4
- data/lib/braintree/apple_pay_card.rb +18 -4
- data/lib/braintree/apple_pay_options.rb +4 -4
- data/lib/braintree/authorization_adjustment.rb +4 -4
- data/lib/braintree/base_module.rb +11 -1
- data/lib/braintree/bin_data.rb +10 -3
- data/lib/braintree/client_token.rb +1 -1
- data/lib/braintree/client_token_gateway.rb +4 -3
- data/lib/braintree/configuration.rb +35 -35
- data/lib/braintree/connected_merchant_paypal_status_changed.rb +2 -2
- data/lib/braintree/connected_merchant_status_transitioned.rb +2 -2
- data/lib/braintree/credit_card.rb +40 -86
- data/lib/braintree/credit_card_gateway.rb +58 -44
- data/lib/braintree/credit_card_verification.rb +39 -20
- data/lib/braintree/credit_card_verification_gateway.rb +35 -5
- data/lib/braintree/credit_card_verification_search.rb +2 -2
- data/lib/braintree/customer.rb +23 -88
- data/lib/braintree/customer_gateway.rb +17 -32
- data/lib/braintree/customer_search.rb +2 -2
- data/lib/braintree/descriptor.rb +1 -1
- data/lib/braintree/digest.rb +1 -1
- data/lib/braintree/disbursement.rb +7 -7
- data/lib/braintree/discount_gateway.rb +1 -1
- data/lib/braintree/dispute/evidence.rb +1 -1
- data/lib/braintree/{transaction/coinbase_details.rb → dispute/paypal_message.rb} +5 -6
- data/lib/braintree/dispute/{history_event.rb → status_history.rb} +3 -1
- data/lib/braintree/dispute/transaction.rb +3 -1
- data/lib/braintree/dispute/transaction_details.rb +1 -1
- data/lib/braintree/dispute.rb +47 -6
- data/lib/braintree/dispute_gateway.rb +5 -10
- data/lib/braintree/dispute_search.rb +8 -4
- data/lib/braintree/document_upload.rb +3 -3
- data/lib/braintree/document_upload_gateway.rb +3 -3
- data/lib/braintree/enriched_customer_data.rb +21 -0
- data/lib/braintree/error_codes.rb +217 -175
- data/lib/braintree/error_result.rb +2 -3
- data/lib/braintree/errors.rb +3 -3
- data/lib/braintree/exceptions.rb +6 -5
- data/lib/braintree/exchange_rate.rb +13 -0
- data/lib/braintree/exchange_rate_quote.rb +24 -0
- data/lib/braintree/exchange_rate_quote_gateway.rb +35 -0
- data/lib/braintree/exchange_rate_quote_input.rb +21 -0
- data/lib/braintree/exchange_rate_quote_request.rb +18 -0
- data/lib/braintree/exchange_rate_quote_response.rb +18 -0
- data/lib/braintree/facilitated_details.rb +1 -1
- data/lib/braintree/facilitator_details.rb +1 -1
- data/lib/braintree/gateway.rb +6 -12
- data/lib/braintree/{android_pay_card.rb → google_pay_card.rb} +18 -5
- data/lib/braintree/granted_payment_instrument_update.rb +2 -2
- data/lib/braintree/graphql_client.rb +14 -8
- data/lib/braintree/http.rb +9 -10
- data/lib/braintree/local_payment_completed/blik_alias.rb +23 -0
- data/lib/braintree/local_payment_completed.rb +10 -5
- data/lib/braintree/local_payment_expired.rb +21 -0
- data/lib/braintree/local_payment_funded.rb +22 -0
- data/lib/braintree/local_payment_reversed.rb +19 -0
- data/lib/braintree/merchant.rb +4 -4
- data/lib/braintree/merchant_account.rb +3 -3
- data/lib/braintree/merchant_account_gateway.rb +10 -8
- data/lib/braintree/merchant_gateway.rb +1 -1
- data/lib/braintree/meta_checkout_card.rb +89 -0
- data/lib/braintree/meta_checkout_token.rb +88 -0
- data/lib/braintree/modification.rb +4 -4
- data/lib/braintree/oauth_credentials.rb +4 -4
- data/lib/braintree/oauth_gateway.rb +5 -5
- data/lib/braintree/paginated_collection.rb +2 -2
- data/lib/braintree/paginated_result.rb +1 -1
- data/lib/braintree/payment_instrument_type.rb +14 -13
- data/lib/braintree/payment_method_customer_data_updated_metadata.rb +24 -0
- data/lib/braintree/payment_method_gateway.rb +52 -22
- data/lib/braintree/payment_method_nonce.rb +12 -7
- data/lib/braintree/payment_method_nonce_details.rb +40 -0
- data/lib/braintree/payment_method_nonce_details_payer_info.rb +32 -0
- data/lib/braintree/payment_method_nonce_gateway.rb +14 -3
- data/lib/braintree/payment_method_parser.rb +4 -7
- data/lib/braintree/paypal_account.rb +3 -2
- data/lib/braintree/paypal_account_gateway.rb +5 -5
- data/lib/braintree/plan.rb +22 -2
- data/lib/braintree/plan_gateway.rb +101 -1
- data/lib/braintree/processor_response_types.rb +3 -3
- data/lib/braintree/resource_collection.rb +10 -5
- data/lib/braintree/revoked_payment_method_metadata.rb +2 -2
- data/lib/braintree/risk_data/liability_shift.rb +22 -0
- data/lib/braintree/risk_data.rb +10 -3
- data/lib/braintree/samsung_pay_card.rb +8 -6
- data/lib/braintree/sepa_direct_debit_account.rb +60 -0
- data/lib/braintree/sepa_direct_debit_account_gateway.rb +25 -0
- data/lib/braintree/sepa_direct_debit_account_nonce_details.rb +28 -0
- data/lib/braintree/settlement_batch_summary.rb +2 -2
- data/lib/braintree/settlement_batch_summary_gateway.rb +1 -1
- data/lib/braintree/sha256_digest.rb +1 -1
- data/lib/braintree/subscription/status_details.rb +1 -1
- data/lib/braintree/subscription.rb +13 -13
- data/lib/braintree/subscription_gateway.rb +6 -6
- data/lib/braintree/subscription_search.rb +1 -1
- data/lib/braintree/successful_result.rb +5 -4
- data/lib/braintree/test/authentication_id.rb +21 -0
- data/lib/braintree/test/credit_card.rb +9 -10
- data/lib/braintree/test/merchant_account.rb +1 -1
- data/lib/braintree/test/nonce.rb +27 -20
- data/lib/braintree/test/transaction_amounts.rb +2 -3
- data/lib/braintree/test/venmo_sdk.rb +2 -0
- data/lib/braintree/testing_gateway.rb +1 -1
- data/lib/braintree/three_d_secure_info.rb +23 -11
- data/lib/braintree/transaction/address_details.rb +14 -1
- data/lib/braintree/transaction/apple_pay_details.rb +13 -10
- data/lib/braintree/transaction/credit_card_details.rb +8 -1
- data/lib/braintree/transaction/customer_details.rb +3 -2
- data/lib/braintree/transaction/disbursement_details.rb +2 -1
- data/lib/braintree/transaction/{android_pay_details.rb → google_pay_details.rb} +6 -1
- data/lib/braintree/transaction/installment/adjustment.rb +33 -0
- data/lib/braintree/transaction/installment.rb +28 -0
- data/lib/braintree/transaction/local_payment_details.rb +3 -0
- data/lib/braintree/transaction/meta_checkout_card_details.rb +52 -0
- data/lib/braintree/transaction/meta_checkout_token_details.rb +54 -0
- data/lib/braintree/transaction/package_details.rb +19 -0
- data/lib/braintree/transaction/payment_receipt/card_present_data.rb +36 -0
- data/lib/braintree/transaction/payment_receipt/merchant_address.rb +19 -0
- data/lib/braintree/transaction/payment_receipt.rb +31 -0
- data/lib/braintree/transaction/paypal_details.rb +5 -0
- data/lib/braintree/transaction/samsung_pay_card_details.rb +3 -1
- data/lib/braintree/transaction/sepa_direct_debit_account_details.rb +27 -0
- data/lib/braintree/transaction/status_details.rb +1 -1
- data/lib/braintree/transaction/subscription_details.rb +3 -1
- data/lib/braintree/transaction/us_bank_account_details.rb +2 -1
- data/lib/braintree/transaction/visa_checkout_card_details.rb +1 -1
- data/lib/braintree/transaction.rb +119 -128
- data/lib/braintree/transaction_gateway.rb +138 -64
- data/lib/braintree/transaction_line_item.rb +14 -11
- data/lib/braintree/transaction_line_item_gateway.rb +1 -1
- data/lib/braintree/transaction_review.rb +18 -0
- data/lib/braintree/transaction_search.rb +11 -7
- data/lib/braintree/unknown_payment_method.rb +2 -2
- data/lib/braintree/us_bank_account.rb +5 -5
- data/lib/braintree/us_bank_account_verification.rb +24 -16
- data/lib/braintree/us_bank_account_verification_gateway.rb +1 -1
- data/lib/braintree/us_bank_account_verification_search.rb +1 -1
- data/lib/braintree/util.rb +25 -10
- data/lib/braintree/validation_error.rb +1 -1
- data/lib/braintree/validation_error_collection.rb +3 -3
- data/lib/braintree/venmo_account.rb +4 -4
- data/lib/braintree/venmo_profile_data.rb +25 -0
- data/lib/braintree/version.rb +2 -2
- data/lib/braintree/visa_checkout_card.rb +8 -8
- data/lib/braintree/webhook_notification.rb +55 -33
- data/lib/braintree/webhook_notification_gateway.rb +9 -9
- data/lib/braintree/webhook_testing.rb +1 -1
- data/lib/braintree/webhook_testing_gateway.rb +569 -46
- data/lib/braintree/xml/generator.rb +6 -5
- data/lib/braintree/xml/libxml.rb +1 -1
- data/lib/braintree/xml/parser.rb +24 -37
- data/lib/braintree/xml/rexml.rb +6 -7
- data/lib/braintree/xml.rb +1 -1
- data/lib/braintree.rb +41 -24
- data/lib/ssl/api_braintreegateway_com.ca.crt +401 -168
- data/spec/integration/braintree/add_on_spec.rb +10 -10
- data/spec/integration/braintree/address_spec.rb +101 -178
- data/spec/integration/braintree/advanced_search_spec.rb +93 -93
- data/spec/integration/braintree/apple_pay_spec.rb +12 -12
- data/spec/integration/braintree/braintree_gateway_spec.rb +2 -1
- data/spec/integration/braintree/client_api/client_token_spec.rb +279 -62
- data/spec/integration/braintree/client_api/spec_helper.rb +99 -73
- data/spec/integration/braintree/credit_card_spec.rb +522 -821
- data/spec/integration/braintree/credit_card_verification_search_spec.rb +18 -18
- data/spec/integration/braintree/credit_card_verification_spec.rb +219 -30
- data/spec/integration/braintree/customer_search_spec.rb +28 -28
- data/spec/integration/braintree/customer_spec.rb +840 -757
- data/spec/integration/braintree/disbursement_spec.rb +2 -2
- data/spec/integration/braintree/discount_spec.rb +9 -9
- data/spec/integration/braintree/dispute_search_spec.rb +45 -9
- data/spec/integration/braintree/dispute_spec.rb +109 -82
- data/spec/integration/braintree/document_upload_spec.rb +29 -17
- data/spec/integration/braintree/error_codes_spec.rb +3 -3
- data/spec/integration/braintree/exchange_rate_quote_spec.rb +97 -0
- data/spec/integration/braintree/graphql_client_spec.rb +0 -2
- data/spec/integration/braintree/http_spec.rb +31 -33
- data/spec/integration/braintree/merchant_account_spec.rb +155 -156
- data/spec/integration/braintree/merchant_spec.rb +71 -192
- data/spec/integration/braintree/oauth_spec.rb +72 -72
- data/spec/integration/braintree/package_tracking_spec.rb +130 -0
- data/spec/integration/braintree/payment_method_nonce_spec.rb +173 -78
- data/spec/integration/braintree/payment_method_spec.rb +953 -501
- data/spec/integration/braintree/payment_method_us_bank_account_spec.rb +147 -234
- data/spec/integration/braintree/paypal_account_spec.rb +74 -72
- data/spec/integration/braintree/plan_spec.rb +96 -15
- data/spec/integration/braintree/samsung_pay_card_spec.rb +75 -73
- data/spec/integration/braintree/sepa_direct_debit_account_spec.rb +194 -0
- data/spec/integration/braintree/settlement_batch_summary_spec.rb +18 -18
- data/spec/integration/braintree/subscription_spec.rb +507 -513
- data/spec/integration/braintree/test/transaction_amounts_spec.rb +4 -4
- data/spec/integration/braintree/test_transaction_spec.rb +29 -29
- data/spec/integration/braintree/transaction_line_item_spec.rb +12 -6
- data/spec/integration/braintree/transaction_search_spec.rb +410 -217
- data/spec/integration/braintree/transaction_spec.rb +3252 -2102
- data/spec/integration/braintree/transaction_us_bank_account_spec.rb +42 -278
- data/spec/integration/braintree/us_bank_account_spec.rb +36 -36
- data/spec/integration/braintree/us_bank_account_verification_search_spec.rb +25 -25
- data/spec/integration/braintree/us_bank_account_verification_spec.rb +41 -41
- data/spec/integration/braintree/visa_checkout_card_spec.rb +62 -62
- data/spec/integration/spec_helper.rb +22 -7
- data/spec/oauth_test_helper.rb +1 -1
- data/spec/script/httpsd.rb +6 -6
- data/spec/spec_helper.rb +15 -20
- data/spec/unit/braintree/address_spec.rb +9 -17
- data/spec/unit/braintree/apple_pay_card_spec.rb +110 -7
- data/spec/unit/braintree/base_module_spec.rb +4 -4
- data/spec/unit/braintree/client_token_spec.rb +6 -6
- data/spec/unit/braintree/configuration_spec.rb +84 -84
- data/spec/unit/braintree/credentials_parser_spec.rb +6 -6
- data/spec/unit/braintree/credit_card_spec.rb +91 -58
- data/spec/unit/braintree/credit_card_verification_gateway_spec.rb +56 -0
- data/spec/unit/braintree/credit_card_verification_search_spec.rb +10 -10
- data/spec/unit/braintree/credit_card_verification_spec.rb +40 -18
- data/spec/unit/braintree/customer_spec.rb +102 -57
- data/spec/unit/braintree/digest_spec.rb +5 -6
- data/spec/unit/braintree/disbursement_spec.rb +14 -14
- data/spec/unit/braintree/dispute_search_spec.rb +6 -2
- data/spec/unit/braintree/dispute_spec.rb +144 -66
- data/spec/unit/braintree/document_upload_spec.rb +8 -8
- data/spec/unit/braintree/enriched_customer_data_spec.rb +41 -0
- data/spec/unit/braintree/error_result_spec.rb +11 -11
- data/spec/unit/braintree/errors_spec.rb +17 -17
- data/spec/unit/braintree/exchange_rate_quote_input_spec.rb +42 -0
- data/spec/unit/braintree/exchange_rate_quote_request_spec.rb +82 -0
- data/spec/unit/braintree/exchange_rate_quote_response_spec.rb +52 -0
- data/spec/unit/braintree/exchange_rate_quote_spec.rb +42 -0
- data/spec/unit/braintree/exchange_rate_spec.rb +23 -0
- data/spec/unit/braintree/http_spec.rb +19 -17
- data/spec/unit/braintree/local_payment_completed_spec.rb +62 -8
- data/spec/unit/braintree/local_payment_expired_spec.rb +24 -0
- data/spec/unit/braintree/local_payment_funded_spec.rb +34 -0
- data/spec/unit/braintree/merchant_account_spec.rb +5 -5
- data/spec/unit/braintree/meta_checkout_card_details_spec.rb +60 -0
- data/spec/unit/braintree/meta_checkout_card_spec.rb +60 -0
- data/spec/unit/braintree/meta_checkout_token_details_spec.rb +63 -0
- data/spec/unit/braintree/meta_checkout_token_spec.rb +63 -0
- data/spec/unit/braintree/modification_spec.rb +1 -1
- data/spec/unit/braintree/package_tracking_spec.rb +77 -0
- data/spec/unit/braintree/payment_method_customer_data_updated_metadata_spec.rb +45 -0
- data/spec/unit/braintree/payment_method_nonce_details_payer_info_spec.rb +31 -0
- data/spec/unit/braintree/payment_method_nonce_details_spec.rb +51 -0
- data/spec/unit/braintree/payment_method_nonce_spec.rb +40 -0
- data/spec/unit/braintree/payment_method_spec.rb +20 -20
- data/spec/unit/braintree/paypal_account_spec.rb +16 -7
- data/spec/unit/braintree/resource_collection_spec.rb +34 -5
- data/spec/unit/braintree/risk_data/liability_shift.rb +26 -0
- data/spec/unit/braintree/risk_data_spec.rb +38 -8
- data/spec/unit/braintree/sepa_debit_account_nonce_details_spec.rb +29 -0
- data/spec/unit/braintree/sepa_debit_account_spec.rb +86 -0
- data/spec/unit/braintree/sha256_digest_spec.rb +1 -1
- data/spec/unit/braintree/signature_service_spec.rb +2 -2
- data/spec/unit/braintree/subscription_search_spec.rb +18 -18
- data/spec/unit/braintree/subscription_spec.rb +8 -8
- data/spec/unit/braintree/successful_result_spec.rb +6 -6
- data/spec/unit/braintree/three_d_secure_info_spec.rb +37 -17
- data/spec/unit/braintree/transaction/credit_card_details_spec.rb +22 -6
- data/spec/unit/braintree/transaction/customer_details_spec.rb +3 -2
- data/spec/unit/braintree/transaction/deposit_details_spec.rb +4 -4
- data/spec/unit/braintree/transaction/installment_spec.rb +25 -0
- data/spec/unit/braintree/transaction/local_payment_details_spec.rb +36 -0
- data/spec/unit/braintree/transaction/payment_receipt_spec.rb +73 -0
- data/spec/unit/braintree/transaction/paypal_details_spec.rb +63 -0
- data/spec/unit/braintree/transaction/sepa_direct_debit_account_details_spec.rb +33 -0
- data/spec/unit/braintree/transaction_gateway_spec.rb +150 -0
- data/spec/unit/braintree/transaction_search_spec.rb +12 -12
- data/spec/unit/braintree/transaction_spec.rb +221 -124
- data/spec/unit/braintree/unknown_payment_method_spec.rb +4 -4
- data/spec/unit/braintree/us_bank_account_spec.rb +2 -2
- data/spec/unit/braintree/us_bank_account_verification_search_spec.rb +7 -7
- data/spec/unit/braintree/us_bank_account_verification_spec.rb +12 -7
- data/spec/unit/braintree/util_spec.rb +78 -44
- data/spec/unit/braintree/validation_error_collection_spec.rb +62 -62
- data/spec/unit/braintree/validation_error_spec.rb +4 -4
- data/spec/unit/braintree/venmo_profile_data_spec.rb +43 -0
- data/spec/unit/braintree/webhook_notification_spec.rb +434 -197
- data/spec/unit/braintree/xml/libxml_spec.rb +5 -5
- data/spec/unit/braintree/xml/parser_spec.rb +27 -22
- data/spec/unit/braintree/xml/rexml_spec.rb +5 -5
- data/spec/unit/braintree/xml_spec.rb +38 -38
- data/spec/unit/braintree_spec.rb +2 -2
- metadata +91 -30
- data/lib/braintree/amex_express_checkout_card.rb +0 -38
- data/lib/braintree/coinbase_account.rb +0 -34
- data/lib/braintree/europe_bank_account.rb +0 -36
- data/lib/braintree/europe_bank_account_gateway.rb +0 -17
- data/lib/braintree/ideal_payment.rb +0 -61
- data/lib/braintree/ideal_payment_gateway.rb +0 -19
- data/lib/braintree/masterpass_card.rb +0 -81
- data/lib/braintree/settlement_batch.rb +0 -0
- data/lib/braintree/transaction/amex_express_checkout_details.rb +0 -21
- data/lib/braintree/transaction/ideal_payment_details.rb +0 -19
- data/lib/braintree/transaction/masterpass_card_details.rb +0 -47
- data/lib/braintree/transparent_redirect.rb +0 -40
- data/lib/braintree/transparent_redirect_gateway.rb +0 -105
- data/spec/hacks/tcp_socket.rb +0 -18
- data/spec/integration/braintree/coinbase_spec.rb +0 -34
- data/spec/integration/braintree/masterpass_card_spec.rb +0 -97
- data/spec/integration/braintree/transparent_redirect_spec.rb +0 -268
- data/spec/unit/braintree/transparent_redirect_spec.rb +0 -223
@@ -37,27 +37,27 @@ module Braintree
|
|
37
37
|
|
38
38
|
module ApplePay
|
39
39
|
ApplePayCardsAreNotAccepted = "83501"
|
40
|
-
CustomerIdIsRequiredForVaulting = "83502"
|
41
|
-
TokenIsInUse = "93503"
|
42
|
-
PaymentMethodNonceConsumed = "93504"
|
43
|
-
PaymentMethodNonceUnknown = "93505"
|
44
|
-
PaymentMethodNonceLocked = "93506"
|
45
|
-
PaymentMethodNonceCardTypeIsNotAccepted = "83518"
|
46
40
|
CannotUpdateApplePayCardUsingPaymentMethodNonce = "93507"
|
47
|
-
|
48
|
-
|
49
|
-
ExpirationYearIsRequired = "93510"
|
41
|
+
CertificateInvalid = "93517"
|
42
|
+
CertificateMismatch = "93519"
|
50
43
|
CryptogramIsRequired = "93511"
|
44
|
+
CustomerIdIsRequiredForVaulting = "83502"
|
51
45
|
DecryptionFailed = "83512"
|
52
46
|
Disabled = "93513"
|
53
|
-
|
47
|
+
ExpirationMonthIsRequired = "93509"
|
48
|
+
ExpirationYearIsRequired = "93510"
|
49
|
+
InvalidToken = "83520"
|
50
|
+
KeyMismatchStoringCertificate = "93522"
|
54
51
|
MerchantKeysAlreadyConfigured = "93515"
|
55
52
|
MerchantKeysNotConfigured = "93516"
|
56
|
-
|
57
|
-
|
58
|
-
|
53
|
+
MerchantNotConfigured = "93514"
|
54
|
+
NumberIsRequired = "93508"
|
55
|
+
PaymentMethodNonceCardTypeIsNotAccepted = "83518"
|
56
|
+
PaymentMethodNonceConsumed = "93504"
|
57
|
+
PaymentMethodNonceLocked = "93506"
|
58
|
+
PaymentMethodNonceUnknown = "93505"
|
59
59
|
PrivateKeyMismatch = "93521"
|
60
|
-
|
60
|
+
TokenIsInUse = "93503"
|
61
61
|
end
|
62
62
|
|
63
63
|
module CreditCard
|
@@ -68,12 +68,14 @@ module Braintree
|
|
68
68
|
CardholderNameIsTooLong = "81723"
|
69
69
|
CreditCardTypeIsNotAccepted = "81703"
|
70
70
|
CreditCardTypeIsNotAcceptedBySubscriptionMerchantAccount = "81718"
|
71
|
+
CurrencyCodeNotSupportedByMerchantAccount = "91760"
|
71
72
|
CustomerIdIsInvalid = "91705"
|
72
73
|
CustomerIdIsRequired = "91704"
|
73
74
|
CvvIsInvalid = "81707"
|
74
75
|
CvvIsRequired = "81706"
|
75
76
|
CvvVerificationFailed = "81736"
|
76
77
|
DuplicateCardExists = "81724"
|
78
|
+
DuplicateCardExistsForCustomer = "81763"
|
77
79
|
ExpirationDateConflict = "91708"
|
78
80
|
ExpirationDateIsInvalid = "81710"
|
79
81
|
ExpirationDateIsRequired = "81709"
|
@@ -82,6 +84,8 @@ module Braintree
|
|
82
84
|
ExpirationYearIsInvalid = "81713"
|
83
85
|
InvalidParamsForCreditCardUpdate = "91745"
|
84
86
|
InvalidVenmoSDKPaymentMethodCode = "91727"
|
87
|
+
LimitExceededforDuplicatePaymentMethodCheckForCustomer = "81764"
|
88
|
+
NetworkTokenizationAttributeCryptogramIsRequired = "81762"
|
85
89
|
NumberIsInvalid = "81715"
|
86
90
|
NumberIsProhibited = "81750"
|
87
91
|
NumberIsRequired = "81714"
|
@@ -100,9 +104,9 @@ module Braintree
|
|
100
104
|
TokenIsRequired = "91722"
|
101
105
|
TokenIsTooLong = "91720"
|
102
106
|
VenmoSDKPaymentMethodCodeCardTypeIsNotAccepted = "91726"
|
103
|
-
VerificationNotSupportedOnThisMerchantAccount = "91730"
|
104
107
|
VerificationAccountTypeIsInvalid = "91757"
|
105
108
|
VerificationAccountTypeNotSupported = "91758"
|
109
|
+
VerificationNotSupportedOnThisMerchantAccount = "91730"
|
106
110
|
|
107
111
|
module Options
|
108
112
|
UpdateExistingTokenIsInvalid = "91723"
|
@@ -112,10 +116,10 @@ module Braintree
|
|
112
116
|
VerificationAmountFormatIsInvalid = "91740"
|
113
117
|
VerificationAmountIsTooLarge = "91752"
|
114
118
|
VerificationAmountNotSupportedByProcessor = "91741"
|
119
|
+
VerificationMerchantAccountCannotBeSubMerchantAccount = "91755"
|
115
120
|
VerificationMerchantAccountIdIsInvalid = "91728"
|
116
121
|
VerificationMerchantAccountIsForbidden = "91743"
|
117
122
|
VerificationMerchantAccountIsSuspended = "91742"
|
118
|
-
VerificationMerchantAccountCannotBeSubMerchantAccount = "91755"
|
119
123
|
end
|
120
124
|
end
|
121
125
|
|
@@ -141,46 +145,50 @@ module Braintree
|
|
141
145
|
end
|
142
146
|
|
143
147
|
module Descriptor
|
144
|
-
NameFormatIsInvalid = "92201"
|
145
|
-
PhoneFormatIsInvalid = "92202"
|
146
148
|
DynamicDescriptorsDisabled = "92203"
|
147
149
|
InternationalNameFormatIsInvalid = "92204"
|
148
150
|
InternationalPhoneFormatIsInvalid = "92205"
|
151
|
+
NameFormatIsInvalid = "92201"
|
152
|
+
PhoneFormatIsInvalid = "92202"
|
149
153
|
UrlFormatIsInvalid = "92206"
|
150
154
|
end
|
151
155
|
|
152
156
|
module Dispute
|
153
|
-
CanOnlyAddEvidenceToOpenDispute = "95701"
|
154
|
-
CanOnlyRemoveEvidenceFromOpenDispute = "95702"
|
155
|
-
CanOnlyAddEvidenceDocumentToDispute = "95703"
|
156
157
|
CanOnlyAcceptOpenDispute = "95704"
|
157
|
-
|
158
|
+
CanOnlyAddEvidenceDocumentToDispute = "95703"
|
159
|
+
CanOnlyAddEvidenceToOpenDispute = "95701"
|
158
160
|
CanOnlyCreateEvidenceWithValidCategory = "95706"
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
EvidenceCategoryTextOnly = "95711"
|
161
|
+
CanOnlyFinalizeOpenDispute = "95705"
|
162
|
+
CanOnlyRemoveEvidenceFromOpenDispute = "95702"
|
163
|
+
DigitalGoodsMissingDownloadDate = "95721"
|
164
|
+
DigitalGoodsMissingEvidence = "95720"
|
164
165
|
EvidenceCategoryDocumentOnly = "95712"
|
165
|
-
EvidenceCategoryNotForReasonCode = "95713"
|
166
166
|
EvidenceCategoryDuplicate = "95714"
|
167
|
+
EvidenceCategoryNotForReasonCode = "95713"
|
168
|
+
EvidenceCategoryTextOnly = "95711"
|
169
|
+
EvidenceContentARNTooLong = "95709"
|
170
|
+
EvidenceContentDateInvalid = "95707"
|
167
171
|
EvidenceContentEmailInvalid = "95715"
|
168
|
-
|
169
|
-
|
170
|
-
DigitalGoodsMissingDownloadDate = "95721"
|
172
|
+
EvidenceContentPhoneTooLong = "95710"
|
173
|
+
EvidenceContentTooLong = "95708"
|
171
174
|
NonDisputedPriorTransactionEvidenceMissingARN = "95722"
|
172
175
|
NonDisputedPriorTransactionEvidenceMissingDate = "95723"
|
173
|
-
RecurringTransactionEvidenceMissingDate = "95724"
|
174
176
|
RecurringTransactionEvidenceMissingARN = "95725"
|
177
|
+
RecurringTransactionEvidenceMissingDate = "95724"
|
175
178
|
ValidEvidenceRequiredToFinalize = "95726"
|
176
179
|
end
|
177
180
|
|
178
181
|
module DocumentUpload
|
179
|
-
|
180
|
-
FileIsTooLarge = "84902"
|
181
|
-
FileTypeIsInvalid = "84903"
|
182
|
+
FileIsEmpty = "84906"
|
182
183
|
FileIsMalformedOrEncrypted = "84904"
|
184
|
+
FileIsTooLarge = "84902"
|
183
185
|
FileIsTooLong = "84905"
|
186
|
+
FileTypeIsInvalid = "84903"
|
187
|
+
KindIsInvalid = "84901"
|
188
|
+
end
|
189
|
+
|
190
|
+
module GooglePayCard
|
191
|
+
AndroidPayCardsAreNotAccepted = "83708"
|
184
192
|
end
|
185
193
|
|
186
194
|
module PayPalAccount
|
@@ -202,26 +210,10 @@ module Braintree
|
|
202
210
|
TokenIsInUse = "92906"
|
203
211
|
end
|
204
212
|
|
205
|
-
module
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
end
|
210
|
-
|
211
|
-
module SEPAMandate
|
212
|
-
AccountHolderNameIsRequired = "83301"
|
213
|
-
BICIsRequired = "83302"
|
214
|
-
IBANIsRequired = "83303"
|
215
|
-
TypeIsRequired = "93304"
|
216
|
-
IBANInvalidCharacter = "83305"
|
217
|
-
BICInvalidCharacter = "83306"
|
218
|
-
BICLengthIsInvalid = "83307"
|
219
|
-
BICUnsupportedCountry = "83308"
|
220
|
-
IBANUnsupportedCountry = "83309"
|
221
|
-
IBANInvalidFormat = "83310"
|
222
|
-
LocaleIsUnsupported = "93311"
|
223
|
-
BillingAddressIsInvalid = "93312"
|
224
|
-
TypeIsInvalid = "93313"
|
213
|
+
module SepaDirectDebitAccount
|
214
|
+
SepaDebitAccountPaymentMethodMandateTypeIsNotSupported = "87115"
|
215
|
+
SepaDebitAccountPaymentMethodCustomerIdIsInvalid = "87116"
|
216
|
+
SepaDebitAccountPaymentMethodCustomerIdIsRequired = "87117"
|
225
217
|
end
|
226
218
|
|
227
219
|
module Subscription
|
@@ -292,9 +284,9 @@ module Braintree
|
|
292
284
|
end
|
293
285
|
|
294
286
|
module Transaction
|
287
|
+
AdjustmentAmountMustBeGreaterThanZero = "95605"
|
295
288
|
AmountCannotBeNegative = "81501"
|
296
289
|
AmountDoesNotMatch3DSecureAmount = "91585"
|
297
|
-
AmountDoesNotMatchIdealPaymentAmount = "915144"
|
298
290
|
AmountFormatIsInvalid = "81503" # Keep for backwards compatibility
|
299
291
|
AmountIsInvalid = "81503" # Keep for backwards compatibility
|
300
292
|
AmountIsRequired = "81502"
|
@@ -302,6 +294,7 @@ module Braintree
|
|
302
294
|
AmountMustBeGreaterThanZero = "81531"
|
303
295
|
AmountNotSupportedByProcessor = "815193"
|
304
296
|
BillingAddressConflict = "91530"
|
297
|
+
BillingPhoneNumberIsInvalid = "915206"
|
305
298
|
CannotBeVoided = "91504"
|
306
299
|
CannotCancelRelease = "91562"
|
307
300
|
CannotCloneCredit = "91543"
|
@@ -323,44 +316,35 @@ module Braintree
|
|
323
316
|
CannotUpdateTransactionDetailsNotSubmittedForSettlement = "915129"
|
324
317
|
ChannelIsTooLong = "91550"
|
325
318
|
CreditCardIsRequired = "91508"
|
319
|
+
CurrencyCodeNotSupportedByMerchantAccount = "915214"
|
326
320
|
CustomFieldIsInvalid = "91526"
|
327
321
|
CustomFieldIsTooLong = "81527"
|
328
322
|
CustomerDefaultPaymentMethodCardTypeIsNotAccepted = "81509"
|
329
323
|
CustomerDoesNotHaveCreditCard = "91511"
|
330
324
|
CustomerIdIsInvalid = "91510"
|
325
|
+
DiscountAmountCannotBeNegative = "915160"
|
326
|
+
DiscountAmountFormatIsInvalid = "915159"
|
327
|
+
DiscountAmountIsTooLarge = "915161"
|
328
|
+
ExchangeRateQuoteIdTooLong = "915229"
|
331
329
|
FailedAuthAdjustmentAllowRetry = "95603"
|
332
330
|
FailedAuthAdjustmentHardDecline = "95602"
|
333
331
|
FinalAuthSubmitForSettlementForDifferentAmount = "95601"
|
334
332
|
HasAlreadyBeenRefunded = "91512"
|
335
|
-
IdealPaymentNotComplete = "815141"
|
336
|
-
PaymentInstrumentWithExternalVaultIsInvalid = "915176"
|
337
|
-
TooManyLineItems = "915157"
|
338
333
|
LineItemsExpected = "915158"
|
339
|
-
DiscountAmountFormatIsInvalid = "915159"
|
340
|
-
DiscountAmountCannotBeNegative = "915160"
|
341
|
-
DiscountAmountIsTooLarge = "915161"
|
342
|
-
ShippingAmountFormatIsInvalid = "915162"
|
343
|
-
ShippingAmountCannotBeNegative = "915163"
|
344
|
-
ShippingAmountIsTooLarge = "915164"
|
345
|
-
ShipsFromPostalCodeIsTooLong = "915165"
|
346
|
-
ShipsFromPostalCodeIsInvalid = "915166"
|
347
|
-
ShipsFromPostalCodeInvalidCharacters = "915167"
|
348
|
-
IdealPaymentsCannotBeVaulted = "915150"
|
349
334
|
MerchantAccountDoesNotMatch3DSecureMerchantAccount = "91584"
|
350
|
-
MerchantAccountDoesNotMatchIdealPaymentMerchantAccount = "915143"
|
351
335
|
MerchantAccountDoesNotSupportMOTO = "91558"
|
352
336
|
MerchantAccountDoesNotSupportRefunds = "91547"
|
353
337
|
MerchantAccountIdDoesNotMatchSubscription = "915180"
|
354
338
|
MerchantAccountIdIsInvalid = "91513"
|
355
339
|
MerchantAccountIsSuspended = "91514"
|
340
|
+
NoNetAmountToPerformAuthAdjustment = "95606"
|
356
341
|
OrderIdIsTooLong = "91501"
|
357
|
-
OrderIdIsRequiredWithIdealPayment = "91502"
|
358
|
-
OrderIdDoesNotMatchIdealPaymentOrderId = "91503"
|
359
342
|
PayPalAuthExpired = "91579"
|
360
343
|
PayPalNotEnabled = "91576"
|
361
344
|
PayPalVaultRecordMissingData = "91583"
|
362
345
|
PaymentInstrumentNotSupportedByMerchantAccount = "91577"
|
363
346
|
PaymentInstrumentTypeIsNotAccepted = "915101"
|
347
|
+
PaymentInstrumentWithExternalVaultIsInvalid = "915176"
|
364
348
|
PaymentMethodConflict = "91515"
|
365
349
|
PaymentMethodConflictWithVenmoSDK = "91549"
|
366
350
|
PaymentMethodDoesNotBelongToCustomer = "91516"
|
@@ -368,8 +352,6 @@ module Braintree
|
|
368
352
|
PaymentMethodNonceCardTypeIsNotAccepted = "91567"
|
369
353
|
PaymentMethodNonceConsumed = "91564"
|
370
354
|
PaymentMethodNonceHasNoValidPaymentInstrumentType = "91569"
|
371
|
-
UsBankAccountNonceMustBePlaidVerified = "915171"
|
372
|
-
UsBankAccountNotVerified = "915172"
|
373
355
|
PaymentMethodNonceLocked = "91566"
|
374
356
|
PaymentMethodNonceUnknown = "91565"
|
375
357
|
PaymentMethodTokenCardTypeIsNotAccepted = "91517"
|
@@ -377,15 +359,23 @@ module Braintree
|
|
377
359
|
ProcessorAuthorizationCodeCannotBeSet = "91519"
|
378
360
|
ProcessorAuthorizationCodeIsInvalid = "81520"
|
379
361
|
ProcessorDoesNotSupportAuths = "915104"
|
380
|
-
|
381
|
-
ProcessorDoesNotSupportUpdatingDescriptor = "915108"
|
382
|
-
ProcessorDoesNotSupportUpdatingTransactionDetails = "915130"
|
362
|
+
ProcessorDoesNotSupportAuthAdjustment = "915222"
|
383
363
|
ProcessorDoesNotSupportCredits = "91546"
|
364
|
+
ProcessorDoesNotSupportIncrementalAuth = "915220"
|
365
|
+
ProcessorDoesNotSupportMotoForCardType = "915195"
|
366
|
+
ProcessorDoesNotSupportPartialAuthReversal = "915221"
|
384
367
|
ProcessorDoesNotSupportPartialSettlement = "915102"
|
368
|
+
ProcessorDoesNotSupportUpdatingDescriptor = "915108"
|
369
|
+
ProcessorDoesNotSupportUpdatingOrderId = "915107"
|
370
|
+
ProcessorDoesNotSupportUpdatingTransactionDetails = "915130"
|
385
371
|
ProcessorDoesNotSupportVoiceAuthorizations = "91545"
|
372
|
+
ProductSkuIsInvalid = "915202"
|
386
373
|
PurchaseOrderNumberIsInvalid = "91548"
|
387
374
|
PurchaseOrderNumberIsTooLong = "91537"
|
388
375
|
RefundAmountIsTooLarge = "91521"
|
376
|
+
RefundAuthHardDeclined = "915200"
|
377
|
+
RefundAuthSoftDeclined = "915201"
|
378
|
+
ScaExemptionInvalid = "915213"
|
389
379
|
ServiceFeeAmountCannotBeNegative = "91554"
|
390
380
|
ServiceFeeAmountFormatIsInvalid = "91555"
|
391
381
|
ServiceFeeAmountIsTooLarge = "91556"
|
@@ -395,29 +385,47 @@ module Braintree
|
|
395
385
|
SettlementAmountIsLessThanServiceFeeAmount = "91551"
|
396
386
|
SettlementAmountIsTooLarge = "91522"
|
397
387
|
ShippingAddressDoesntMatchCustomer = "91581"
|
388
|
+
ShippingAmountCannotBeNegative = "915163"
|
389
|
+
ShippingAmountFormatIsInvalid = "915162"
|
390
|
+
ShippingAmountIsTooLarge = "915164"
|
391
|
+
ShippingMethodIsInvalid = "915203"
|
392
|
+
ShippingPhoneNumberIsInvalid = "915204"
|
393
|
+
ShipsFromPostalCodeInvalidCharacters = "915167"
|
394
|
+
ShipsFromPostalCodeIsInvalid = "915166"
|
395
|
+
ShipsFromPostalCodeIsTooLong = "915165"
|
398
396
|
SubMerchantAccountRequiresServiceFeeAmount = "91553"
|
399
397
|
SubscriptionDoesNotBelongToCustomer = "91529"
|
400
398
|
SubscriptionIdIsInvalid = "91528"
|
401
399
|
SubscriptionStatusMustBePastDue = "91531"
|
402
400
|
TaxAmountCannotBeNegative = "81534"
|
403
401
|
TaxAmountFormatIsInvalid = "81535"
|
402
|
+
TaxAmountIsRequiredForAibSwedish = "815224"
|
404
403
|
TaxAmountIsTooLarge = "81536"
|
405
404
|
ThreeDSecureAuthenticationFailed = "81571"
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
ThreeDSecureCavvIsRequired = "915116"
|
410
|
-
ThreeDSecureXidIsRequired = "915115"
|
411
|
-
ThreeDSecureEciFlagIsInvalid = "915114"
|
412
|
-
ThreeDSecureThreeDSecureVersionIsInvalid = "915119"
|
405
|
+
ThreeDSecureAuthenticationIdDoesntMatchNonceThreeDSecureAuthentication = "915198"
|
406
|
+
ThreeDSecureAuthenticationIdIsInvalid = "915196"
|
407
|
+
ThreeDSecureAuthenticationIdWithThreeDSecurePassThruIsInvalid = "915199"
|
413
408
|
ThreeDSecureAuthenticationResponseIsInvalid = "915120"
|
414
|
-
ThreeDSecureDirectoryResponseIsInvalid = "915121"
|
415
409
|
ThreeDSecureCavvAlgorithmIsInvalid = "915122"
|
410
|
+
ThreeDSecureCavvIsRequired = "915116"
|
411
|
+
ThreeDSecureDirectoryResponseIsInvalid = "915121"
|
412
|
+
ThreeDSecureEciFlagIsInvalid = "915114"
|
413
|
+
ThreeDSecureEciFlagIsRequired = "915113"
|
416
414
|
ThreeDSecureMerchantAccountDoesNotSupportCardType = "915131"
|
415
|
+
ThreeDSecureThreeDSecureVersionIsInvalid = "915119"
|
416
|
+
ThreeDSecureTokenIsInvalid = "91568"
|
417
|
+
ThreeDSecureTransactionDataDoesntMatchVerify = "91570"
|
418
|
+
ThreeDSecureTransactionPaymentMethodDoesntMatchThreeDSecureAuthenticationPaymentMethod = "915197"
|
419
|
+
ThreeDSecureXidIsRequired = "915115"
|
420
|
+
TooManyLineItems = "915157"
|
421
|
+
TransactionIsNotEligibleForAdjustment = "915219"
|
422
|
+
TransactionMustBeInStateAuthorized = "915218"
|
423
|
+
TransactionSourceIsInvalid = "915133"
|
417
424
|
TypeIsInvalid = "91523"
|
418
425
|
TypeIsRequired = "91524"
|
419
426
|
UnsupportedVoiceAuthorization = "91539"
|
420
|
-
|
427
|
+
UsBankAccountNonceMustBePlaidVerified = "915171"
|
428
|
+
UsBankAccountNotVerified = "915172"
|
421
429
|
|
422
430
|
module Options
|
423
431
|
SubmitForSettlementIsRequiredForCloning = "91544"
|
@@ -439,37 +447,36 @@ module Braintree
|
|
439
447
|
IndustryTypeIsInvalid = "93401"
|
440
448
|
|
441
449
|
module Lodging
|
442
|
-
|
443
|
-
FolioNumberIsInvalid = "93403"
|
450
|
+
AdvancedDepositIndicatorIsInvalid = "93440"
|
444
451
|
CheckInDateIsInvalid = "93404"
|
445
452
|
CheckOutDateIsInvalid = "93405"
|
446
453
|
CheckOutDateMustFollowCheckInDate = "93406"
|
447
|
-
|
448
|
-
|
454
|
+
EmptyData = "93402"
|
455
|
+
FireSafetyIndicatorIsInvalid = "93441"
|
456
|
+
FolioNumberIsInvalid = "93403"
|
457
|
+
NoShowIndicatorIsInvalid = "93439"
|
458
|
+
PropertyPhoneIsInvalid = "93442"
|
449
459
|
RoomRateFormatIsInvalid = "93434"
|
450
460
|
RoomRateIsTooLarge = "93435"
|
451
|
-
|
461
|
+
RoomRateMustBeGreaterThanZero = "93433"
|
452
462
|
RoomTaxFormatIsInvalid = "93437"
|
453
463
|
RoomTaxIsTooLarge = "93438"
|
454
|
-
|
455
|
-
|
456
|
-
FireSafetyIndicatorIsInvalid = "93441"
|
457
|
-
PropertyPhoneIsInvalid = "93442"
|
464
|
+
RoomTaxMustBeGreaterThanZero = "93436"
|
465
|
+
UnknownDataField = "93407"
|
458
466
|
end
|
459
467
|
|
460
468
|
module TravelCruise
|
461
|
-
EmptyData = "93408"
|
462
|
-
UnknownDataField = "93409"
|
463
|
-
TravelPackageIsInvalid = "93410"
|
464
469
|
DepartureDateIsInvalid = "93411"
|
470
|
+
EmptyData = "93408"
|
465
471
|
LodgingCheckInDateIsInvalid = "93412"
|
466
472
|
LodgingCheckOutDateIsInvalid = "93413"
|
473
|
+
TravelPackageIsInvalid = "93410"
|
474
|
+
UnknownDataField = "93409"
|
467
475
|
end
|
468
476
|
|
469
477
|
module TravelFlight
|
470
|
-
EmptyData = "93414"
|
471
|
-
UnknownDataField = "93415"
|
472
478
|
CustomerCodeIsTooLong = "93416"
|
479
|
+
EmptyData = "93414"
|
473
480
|
FareAmountCannotBeNegative = "93417"
|
474
481
|
FareAmountFormatIsInvalid = "93418"
|
475
482
|
FareAmountIsTooLarge = "93419"
|
@@ -478,14 +485,15 @@ module Braintree
|
|
478
485
|
FeeAmountIsTooLarge = "93422"
|
479
486
|
IssuedDateFormatIsInvalid = "93423"
|
480
487
|
IssuingCarrierCodeIsTooLong = "93424"
|
488
|
+
LegsExpected = "93431"
|
481
489
|
PassengerMiddleInitialIsTooLong = "93425"
|
482
490
|
RestrictedTicketIsRequired = "93426"
|
483
491
|
TaxAmountCannotBeNegative = "93427"
|
484
492
|
TaxAmountFormatIsInvalid = "93428"
|
485
493
|
TaxAmountIsTooLarge = "93429"
|
486
494
|
TicketNumberIsTooLong = "93430"
|
487
|
-
LegsExpected = "93431"
|
488
495
|
TooManyLegs = "93432"
|
496
|
+
UnknownDataField = "93415"
|
489
497
|
end
|
490
498
|
|
491
499
|
module Leg
|
@@ -514,30 +522,28 @@ module Braintree
|
|
514
522
|
end
|
515
523
|
|
516
524
|
module AdditionalCharge
|
517
|
-
KindIsInvalid = "96601"
|
518
|
-
KindMustBeUnique = "96602"
|
519
|
-
AmountMustBeGreaterThanZero = "96603"
|
520
525
|
AmountFormatIsInvalid = "96604"
|
521
|
-
AmountIsTooLarge = "96605"
|
522
526
|
AmountIsRequired = "96606"
|
527
|
+
AmountIsTooLarge = "96605"
|
528
|
+
AmountMustBeGreaterThanZero = "96603"
|
529
|
+
KindIsInvalid = "96601"
|
530
|
+
KindMustBeUnique = "96602"
|
523
531
|
end
|
524
532
|
end
|
525
533
|
|
526
534
|
module ExternalVault
|
535
|
+
PreviousNetworkTransactionIdIsInvalid = "915179"
|
527
536
|
StatusIsInvalid = "915175"
|
528
|
-
CardTypeIsInvalid = "915178"
|
529
537
|
StatusWithPreviousNetworkTransactionIdIsInvalid = "915177"
|
530
|
-
PreviousNetworkTransactionIdIsInvalid = "915179"
|
531
538
|
end
|
532
539
|
end
|
533
540
|
|
534
541
|
module TransactionLineItem
|
535
542
|
CommodityCodeIsTooLong = "95801"
|
536
543
|
DescriptionIsTooLong = "95803"
|
544
|
+
DiscountAmountCannotBeNegative = "95806"
|
537
545
|
DiscountAmountFormatIsInvalid = "95804"
|
538
546
|
DiscountAmountIsTooLarge = "95805"
|
539
|
-
DiscountAmountMustBeGreaterThanZero = "95806" # Deprecated as the amount may be zero. Use DiscountAmountCannotBeNegative.
|
540
|
-
DiscountAmountCannotBeNegative = "95806"
|
541
547
|
KindIsInvalid = "95807"
|
542
548
|
KindIsRequired = "95808"
|
543
549
|
NameIsRequired = "95822"
|
@@ -546,6 +552,9 @@ module Braintree
|
|
546
552
|
QuantityFormatIsInvalid = "95810"
|
547
553
|
QuantityIsRequired = "95811"
|
548
554
|
QuantityIsTooLarge = "95812"
|
555
|
+
TaxAmountCannotBeNegative = "95829"
|
556
|
+
TaxAmountFormatIsInvalid = "95827"
|
557
|
+
TaxAmountIsTooLarge = "95828"
|
549
558
|
TotalAmountFormatIsInvalid = "95813"
|
550
559
|
TotalAmountIsRequired = "95814"
|
551
560
|
TotalAmountIsTooLarge = "95815"
|
@@ -555,13 +564,13 @@ module Braintree
|
|
555
564
|
UnitAmountIsTooLarge = "95819"
|
556
565
|
UnitAmountMustBeGreaterThanZero = "95820"
|
557
566
|
UnitOfMeasureIsTooLong = "95821"
|
567
|
+
UnitTaxAmountCannotBeNegative = "95826"
|
558
568
|
UnitTaxAmountFormatIsInvalid = "95824"
|
559
569
|
UnitTaxAmountIsTooLarge = "95825"
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
TaxAmountCannotBeNegative = "95829"
|
570
|
+
UPCCodeIsMissing = "95830"
|
571
|
+
UPCCodeIsTooLong = "95831"
|
572
|
+
UPCTypeIsMissing = "95832"
|
573
|
+
UPCTypeIsInvalid = "95833"
|
565
574
|
end
|
566
575
|
|
567
576
|
module Merchant
|
@@ -575,96 +584,96 @@ module Braintree
|
|
575
584
|
CountryNameIsInvalid = "93611"
|
576
585
|
CountryNameIsNotAccepted = "93610"
|
577
586
|
CurrenciesAreInvalid = "93614"
|
587
|
+
CurrencyIsInvalid = "93618"
|
588
|
+
CurrencyIsRequired = "93617"
|
578
589
|
EmailFormatIsInvalid = "93602"
|
579
590
|
EmailIsRequired = "83601"
|
580
591
|
InconsistentCountry = "93612"
|
581
|
-
PaymentMethodsAreInvalid = "93613"
|
582
|
-
PaymentMethodsAreNotAllowed = "93615"
|
583
592
|
MerchantAccountExistsForCurrency = "93616"
|
584
|
-
CurrencyIsRequired = "93617"
|
585
|
-
CurrencyIsInvalid = "93618"
|
586
|
-
NoMerchantAccounts = "93619"
|
587
593
|
MerchantAccountExistsForId = "93620"
|
588
594
|
MerchantAccountNotAuthOnboarded = "93621"
|
595
|
+
NoMerchantAccounts = "93619"
|
596
|
+
PaymentMethodsAreInvalid = "93613"
|
597
|
+
PaymentMethodsAreNotAllowed = "93615"
|
589
598
|
end
|
590
599
|
|
591
600
|
module MerchantAccount
|
592
|
-
|
601
|
+
CannotBeUpdated = "82674"
|
602
|
+
Declined = "82626"
|
603
|
+
DeclinedFailedKYC = "82623"
|
604
|
+
DeclinedMasterCardMatch = "82622"
|
605
|
+
DeclinedOFAC = "82621"
|
606
|
+
DeclinedSsnInvalid = "82624"
|
607
|
+
DeclinedSsnMatchesDeceased = "82625"
|
608
|
+
IdCannotBeUpdated = "82675"
|
593
609
|
IdFormatIsInvalid = "82603"
|
594
610
|
IdIsInUse = "82604"
|
595
611
|
IdIsNotAllowed = "82605"
|
596
|
-
|
612
|
+
IdIsTooLong = "82602"
|
613
|
+
MasterMerchantAccountIdCannotBeUpdated = "82676"
|
597
614
|
MasterMerchantAccountIdIsInvalid = "82607"
|
615
|
+
MasterMerchantAccountIdIsRequired = "82606"
|
598
616
|
MasterMerchantAccountMustBeActive = "82608"
|
599
617
|
TosAcceptedIsRequired = "82610"
|
600
|
-
IdCannotBeUpdated = "82675"
|
601
|
-
MasterMerchantAccountIdCannotBeUpdated = "82676"
|
602
|
-
CannotBeUpdated = "82674"
|
603
|
-
DeclinedOFAC = "82621"
|
604
|
-
DeclinedMasterCardMatch = "82622"
|
605
|
-
DeclinedFailedKYC = "82623"
|
606
|
-
DeclinedSsnInvalid = "82624"
|
607
|
-
DeclinedSsnMatchesDeceased = "82625"
|
608
|
-
Declined = "82626"
|
609
618
|
|
610
619
|
module ApplicantDetails
|
611
|
-
|
612
|
-
LastNameIsRequired = "82611"
|
613
|
-
DateOfBirthIsRequired = "82612"
|
614
|
-
RoutingNumberIsRequired = "82613"
|
620
|
+
AccountNumberIsInvalid = "82670"
|
615
621
|
AccountNumberIsRequired = "82614"
|
616
|
-
SsnIsInvalid = "82615"
|
617
|
-
EmailAddressIsInvalid = "82616"
|
618
|
-
FirstNameIsInvalid = "82627"
|
619
|
-
LastNameIsInvalid = "82628"
|
620
622
|
CompanyNameIsInvalid = "82631"
|
621
|
-
TaxIdIsInvalid = "82632"
|
622
623
|
CompanyNameIsRequiredWithTaxId = "82633"
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
DeclinedMasterCardMatch = "82622" # Keep for backwards compatibility
|
624
|
+
DateOfBirthIsInvalid = "82663"
|
625
|
+
DateOfBirthIsRequired = "82612"
|
626
|
+
Declined = "82626" # Keep for backwards compatibility
|
627
627
|
DeclinedFailedKYC = "82623" # Keep for backwards compatibility
|
628
|
+
DeclinedMasterCardMatch = "82622" # Keep for backwards compatibility
|
629
|
+
DeclinedOFAC = "82621" # Keep for backwards compatibility
|
628
630
|
DeclinedSsnInvalid = "82624" # Keep for backwards compatibility
|
629
631
|
DeclinedSsnMatchesDeceased = "82625" # Keep for backwards compatibility
|
630
|
-
|
631
|
-
PhoneIsInvalid = "82636"
|
632
|
-
DateOfBirthIsInvalid = "82663"
|
633
|
-
AccountNumberIsInvalid = "82670"
|
632
|
+
EmailAddressIsInvalid = "82616"
|
634
633
|
EmailAddressIsRequired = "82665"
|
634
|
+
FirstNameIsInvalid = "82627"
|
635
|
+
FirstNameIsRequired = "82609"
|
636
|
+
LastNameIsInvalid = "82628"
|
637
|
+
LastNameIsRequired = "82611"
|
638
|
+
PhoneIsInvalid = "82636"
|
639
|
+
RoutingNumberIsInvalid = "82635"
|
640
|
+
RoutingNumberIsRequired = "82613"
|
641
|
+
SsnIsInvalid = "82615"
|
642
|
+
TaxIdIsInvalid = "82632"
|
643
|
+
TaxIdIsRequiredWithCompanyName = "82634"
|
635
644
|
TaxIdMustBeBlank = "82673"
|
636
645
|
|
637
646
|
module Address
|
638
|
-
StreetAddressIsRequired = "82617"
|
639
647
|
LocalityIsRequired = "82618"
|
648
|
+
PostalCodeIsInvalid = "82630"
|
640
649
|
PostalCodeIsRequired = "82619"
|
650
|
+
RegionIsInvalid = "82664"
|
641
651
|
RegionIsRequired = "82620"
|
642
652
|
StreetAddressIsInvalid = "82629"
|
643
|
-
|
644
|
-
RegionIsInvalid = "82664"
|
653
|
+
StreetAddressIsRequired = "82617"
|
645
654
|
end
|
646
655
|
end
|
647
656
|
|
648
657
|
module Individual
|
649
|
-
|
650
|
-
LastNameIsRequired = "82638"
|
658
|
+
DateOfBirthIsInvalid = "82666"
|
651
659
|
DateOfBirthIsRequired = "82639"
|
652
|
-
SsnIsInvalid = "82642"
|
653
660
|
EmailIsInvalid = "82643"
|
661
|
+
EmailIsRequired = "82667"
|
654
662
|
FirstNameIsInvalid = "82644"
|
663
|
+
FirstNameIsRequired = "82637"
|
655
664
|
LastNameIsInvalid = "82645"
|
665
|
+
LastNameIsRequired = "82638"
|
656
666
|
PhoneIsInvalid = "82656"
|
657
|
-
|
658
|
-
EmailIsRequired = "82667"
|
667
|
+
SsnIsInvalid = "82642"
|
659
668
|
|
660
669
|
module Address
|
661
|
-
StreetAddressIsRequired = "82657"
|
662
670
|
LocalityIsRequired = "82658"
|
671
|
+
PostalCodeIsInvalid = "82662"
|
663
672
|
PostalCodeIsRequired = "82659"
|
673
|
+
RegionIsInvalid = "82668"
|
664
674
|
RegionIsRequired = "82660"
|
665
675
|
StreetAddressIsInvalid = "82661"
|
666
|
-
|
667
|
-
RegionIsInvalid = "82668"
|
676
|
+
StreetAddressIsRequired = "82657"
|
668
677
|
end
|
669
678
|
end
|
670
679
|
|
@@ -676,9 +685,9 @@ module Braintree
|
|
676
685
|
TaxIdIsRequiredWithLegalName = "82648"
|
677
686
|
TaxIdMustBeBlank = "82672"
|
678
687
|
module Address
|
679
|
-
StreetAddressIsInvalid = "82685"
|
680
688
|
PostalCodeIsInvalid = "82686"
|
681
689
|
RegionIsInvalid = "82684"
|
690
|
+
StreetAddressIsInvalid = "82685"
|
682
691
|
end
|
683
692
|
end
|
684
693
|
|
@@ -697,32 +706,35 @@ module Braintree
|
|
697
706
|
end
|
698
707
|
|
699
708
|
module SettlementBatchSummary
|
700
|
-
SettlementDateIsRequired = "82301"
|
701
|
-
SettlementDateIsInvalid = "82302"
|
702
709
|
CustomFieldIsInvalid = "82303"
|
710
|
+
SettlementDateIsInvalid = "82302"
|
711
|
+
SettlementDateIsRequired = "82301"
|
703
712
|
end
|
704
713
|
|
705
714
|
module ClientToken
|
706
715
|
CustomerDoesNotExist = "92804"
|
707
716
|
FailOnDuplicatePaymentMethodRequiresCustomerId = "92803"
|
717
|
+
FailOnDuplicatePaymentMethodForCustomerRequiresCustomerId = "92805"
|
718
|
+
InvalidDomainFormat = "92011"
|
708
719
|
MakeDefaultRequiresCustomerId = "92801"
|
720
|
+
MerchantAccountDoesNotExist = "92807"
|
709
721
|
ProxyMerchantDoesNotExist = "92805"
|
710
|
-
|
722
|
+
TooManyDomains = "92810"
|
711
723
|
UnsupportedVersion = "92806"
|
712
|
-
|
724
|
+
VerifyCardRequiresCustomerId = "92802"
|
713
725
|
end
|
714
726
|
|
715
727
|
module PaymentMethod
|
716
|
-
|
728
|
+
CannotForwardPaymentMethodType = "93106"
|
717
729
|
CustomerIdIsInvalid = "93105"
|
718
730
|
CustomerIdIsRequired = "93104"
|
719
731
|
NonceIsInvalid = "93102"
|
720
732
|
NonceIsRequired = "93103"
|
721
|
-
PaymentMethodParamsAreRequired = "93101"
|
722
|
-
PaymentMethodNonceUnknown = "93108"
|
723
|
-
PaymentMethodNonceLocked = "93109"
|
724
|
-
CannotForwardPaymentMethodType = "93107"
|
725
733
|
PaymentMethodNoLongerSupported = "93117"
|
734
|
+
PaymentMethodNonceConsumed = "93107"
|
735
|
+
PaymentMethodNonceLocked = "93109"
|
736
|
+
PaymentMethodNonceUnknown = "93108"
|
737
|
+
PaymentMethodParamsAreRequired = "93101"
|
726
738
|
|
727
739
|
module Options
|
728
740
|
UsBankAccountVerificationMethodIsInvalid = "93121"
|
@@ -749,26 +761,56 @@ module Braintree
|
|
749
761
|
|
750
762
|
module Verification
|
751
763
|
module Options
|
764
|
+
AccountTypeIsInvalid = "942184"
|
765
|
+
AccountTypeNotSupported = "942185"
|
752
766
|
AmountCannotBeNegative = "94201"
|
753
767
|
AmountFormatIsInvalid = "94202"
|
754
768
|
AmountIsTooLarge = "94207"
|
755
769
|
AmountNotSupportedByProcessor = "94203"
|
770
|
+
MerchantAccountCannotBeSubMerchantAccount = "94208"
|
756
771
|
MerchantAccountIdIsInvalid = "94204"
|
757
|
-
MerchantAccountIsSuspended = "94205"
|
758
772
|
MerchantAccountIsForbidden = "94206"
|
759
|
-
|
760
|
-
|
761
|
-
|
773
|
+
MerchantAccountIsSuspended = "94205"
|
774
|
+
end
|
775
|
+
|
776
|
+
AmountDoesNotMatch3DSecureAmount = "94285"
|
777
|
+
MerchantAccountDoesNotSupport3DSecure = "942169"
|
778
|
+
MerchantAcountDoesNotMatch3DSecureMerchantAccount = "94284"
|
779
|
+
ThreeDSecureAuthenticationFailed = "94271"
|
780
|
+
ThreeDSecureAuthenticationIdDoesntMatchNonceThreeDSecureAuthentication = "942198"
|
781
|
+
ThreeDSecureAuthenticationIdIsInvalid = "942196"
|
782
|
+
ThreeDSecureAuthenticationIdWithThreeDSecurePassThruIsInvalid = "942199"
|
783
|
+
ThreeDSecureTokenIsInvalid = "94268"
|
784
|
+
ThreeDSecureTransactionPaymentMethodDoesntMatchThreeDSecureAuthenticationPaymentMethod = "942197"
|
785
|
+
ThreeDSecureVerificationDataDoesntMatchVerify = "94270"
|
786
|
+
|
787
|
+
module ThreeDSecurePassThru
|
788
|
+
AuthenticationResponseIsInvalid = "942120"
|
789
|
+
CavvAlgorithmIsInvalid = "942122"
|
790
|
+
CavvIsRequired = "942116"
|
791
|
+
DirectoryResponseIsInvalid = "942121"
|
792
|
+
EciFlagIsInvalid = "942114"
|
793
|
+
EciFlagIsRequired = "942113"
|
794
|
+
ThreeDSecureVersionIsInvalid = "942119"
|
795
|
+
ThreeDSecureVersionIsRequired = "942117"
|
762
796
|
end
|
763
797
|
end
|
764
798
|
|
765
799
|
module UsBankAccountVerification
|
766
|
-
NotConfirmable = "96101"
|
767
|
-
MustBeMicroTransfersVerification = "96102"
|
768
800
|
AmountsDoNotMatch = "96103"
|
801
|
+
InvalidDepositAmounts = "96106"
|
802
|
+
MustBeMicroTransfersVerification = "96102"
|
803
|
+
NotConfirmable = "96101"
|
769
804
|
TooManyConfirmationAttempts = "96104"
|
770
805
|
UnableToConfirmDepositAmounts = "96105"
|
771
|
-
|
806
|
+
end
|
807
|
+
|
808
|
+
module RiskData
|
809
|
+
CustomerDeviceIdIsTooLong = "94702"
|
810
|
+
CustomerLocationZipInvalidCharacters = "94703"
|
811
|
+
CustomerLocationZipIsInvalid = "94704"
|
812
|
+
CustomerLocationZipIsTooLong = "94705"
|
813
|
+
CustomerTenureIsTooLong = "94706"
|
772
814
|
end
|
773
815
|
end
|
774
816
|
end
|