lib/braintree/error_codes.rb in braintree-2.35.0 vs lib/braintree/error_codes.rb in braintree-2.36.0
- old
+ new
@@ -31,9 +31,30 @@
StreetAddressIsRequired = "81811"
StreetAddressIsTooLong = "81812"
TooManyAddressesPerCustomer = "91818"
end
+ module ApplePay
+ ApplePayCardsAreNotAccepted = "83501"
+ CustomerIdIsRequiredForVaulting = "83502"
+ TokenIsInUse = "93503"
+ PaymentMethodNonceConsumed = "93504"
+ PaymentMethodNonceUnknown = "93505"
+ PaymentMethodNonceLocked = "93506"
+ PaymentMethodNonceCardTypeIsNotAccepted = "83518"
+ CannotUpdateApplePayCardUsingPaymentMethodNonce = "93507"
+ NumberIsRequired = "93508"
+ ExpirationMonthIsRequired = "93509"
+ ExpirationYearIsRequired = "93510"
+ CryptogramIsRequired = "93511"
+ DecryptionFailed = "83512"
+ Disabled = "93513"
+ MerchantNotConfigured = "93514"
+ MerchantKeysAlreadyConfigured = "93515"
+ MerchantKeysNotConfigured = "93516"
+ CertificateInvalid = "93517"
+ end
+
# See http://www.braintreepayments.com/docs/ruby/credit_cards/validations
module CreditCard
BillingAddressConflict = "91701"
BillingAddressIdIsInvalid = "91702"
CannotUpdateCardUsingPaymentMethodNonce = "91735"