From 1559678ab45c37ecd6fd7559129af5b83bbd8797 Mon Sep 17 00:00:00 2001 From: Semyon Moroz Date: Fri, 24 Oct 2025 14:35:40 +0400 Subject: [PATCH] [braintree] Update to 4.40.* (#14914) --- stubs/braintree/METADATA.toml | 2 +- stubs/braintree/braintree/error_codes.pyi | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/stubs/braintree/METADATA.toml b/stubs/braintree/METADATA.toml index 30cdf466b..909042028 100644 --- a/stubs/braintree/METADATA.toml +++ b/stubs/braintree/METADATA.toml @@ -1,2 +1,2 @@ -version = "4.39.*" +version = "4.40.*" upstream_repository = "https://github.com/braintree/braintree_python" diff --git a/stubs/braintree/braintree/error_codes.pyi b/stubs/braintree/braintree/error_codes.pyi index 154bf9051..8f0e88644 100644 --- a/stubs/braintree/braintree/error_codes.pyi +++ b/stubs/braintree/braintree/error_codes.pyi @@ -509,6 +509,7 @@ class ErrorCodes: PaymentMethodNonceUnknown: Final = "91565" PaymentMethodTokenCardTypeIsNotAccepted: Final = "91517" PaymentMethodTokenIsInvalid: Final = "91518" + ProcessingMerchantCategoryCodeIsInvalid: Final = "915265" ProcessorAuthorizationCodeCannotBeSet: Final = "91519" ProcessorAuthorizationCodeIsInvalid: Final = "81520" ProcessorDoesNotSupportAuths: Final = "915104" @@ -572,8 +573,17 @@ class ErrorCodes: TransactionIsNotEligibleForAdjustment: Final = "915219" TransactionMustBeInStateAuthorized: Final = "915218" TransactionSourceIsInvalid: Final = "915133" - TransferTypeIsInvalid: Final = "97501" + TransferDetailsAreNotApplicableForThisMerchantAccount: Final = "97511" TransferDetailsAreRequired: Final = "97510" + TransferReceiverAccountReferenceNumberIsNotValid: Final = "97509" + TransferReceiverFirstNameIsNotValid: Final = "97507" + TransferReceiverLastNameIsNotValid: Final = "97508" + TransferReceiverTaxIdIsNotValid: Final = "97506" + TransferSenderAccountReferenceNumberIsNotValid: Final = "97505" + TransferSenderFirstNameIsNotValid: Final = "97503" + TransferSenderLastNameIsNotValid: Final = "97504" + TransferSenderTaxIdIsNotValid: Final = "97502" + TransferTypeIsInvalid: Final = "97501" TypeIsInvalid: Final = "91523" TypeIsRequired: Final = "91524" UnsupportedVoiceAuthorization: Final = "91539"