Closed shaunma closed 3 years ago
Hi @shaunma - thank you for catching this. You are correct! We will get this cleared up in the Ruby SDK.
Имена постојаних кодова грешака 93106 и 93107 се преокрећу.
ПаиментМетходНонцеЦонсумед треба да буде 93107 ЦаннотФорвардПаиментМетходТипе треба да буде 93106
👋 Hello @shaunma & @Body87 - we released a fix for this in Braintree Ruby v4.1.0. Thank you for opening the issue!
Error codes 93106 and 93107's constant names are flipped.
https://github.com/braintree/braintree_ruby/blob/fa974389eddb9f5b8f414f88e226f4868b4921e7/lib/braintree/error_codes.rb#L712
https://github.com/braintree/braintree_ruby/blob/fa974389eddb9f5b8f414f88e226f4868b4921e7/lib/braintree/error_codes.rb#L706
PaymentMethodNonceConsumed should be 93107 CannotForwardPaymentMethodType should be 93106