lib/braintree/payment_method_parser.rb in braintree-4.22.0 vs lib/braintree/payment_method_parser.rb in braintree-4.23.0

- old
+ new

@@ -15,9 +15,10 @@ elsif attributes[:venmo_account] VenmoAccount._new(gateway, attributes[:venmo_account]) elsif attributes[:visa_checkout_card] VisaCheckoutCard._new(gateway, attributes[:visa_checkout_card]) elsif attributes[:samsung_pay_card] + warn "[DEPRECATED] SamsungPayCard is no longer a supported payment method type" SamsungPayCard._new(gateway, attributes[:samsung_pay_card]) elsif attributes[:sepa_debit_account] SepaDirectDebitAccount._new(gateway, attributes[:sepa_debit_account]) else UnknownPaymentMethod._new(gateway, attributes)