SDK/Library version: php sdk version 6.11 with /dropin/1.36.0/js/dropin.min.js
Environment: Production
Browser and OS: all major browsers <!---->
Issue description
dropin working properly and things have been working well for years, but now when there is an
existing id and customer adds a new card
we get this error:
{"name":"DropinError","message":"No payment method is available.","_braintreeWebError":{"name":"BraintreeError","code":"HOSTED_FIELDS_FAILED_TOKENIZATION","message":"The supplied card data failed tokenization.","type":"CUSTOMER","details":{"originalError":{"name":"BraintreeError","code":"CLIENT_REQUEST_ERROR","message":"There was a problem with your request.","type":"NETWORK","details":{"originalError":{"error":{"message":"Credit card is invalid"},"fieldErrors":[{"field":"creditCard","fieldErrors":[{"field":"billingAddress","fieldErrors":[{"code":"81811","field":"streetAddress","message":"Street address is required"}]}]}]},"httpStatus":422}}}}}
General information
Issue description
dropin working properly and things have been working well for years, but now when there is an existing id and customer adds a new card
we get this error:
{"name":"DropinError","message":"No payment method is available.","_braintreeWebError":{"name":"BraintreeError","code":"HOSTED_FIELDS_FAILED_TOKENIZATION","message":"The supplied card data failed tokenization.","type":"CUSTOMER","details":{"originalError":{"name":"BraintreeError","code":"CLIENT_REQUEST_ERROR","message":"There was a problem with your request.","type":"NETWORK","details":{"originalError":{"error":{"message":"Credit card is invalid"},"fieldErrors":[{"field":"creditCard","fieldErrors":[{"field":"billingAddress","fieldErrors":[{"code":"81811","field":"streetAddress","message":"Street address is required"}]}]}]},"httpStatus":422}}}}}
our relevant code:
`<?php try { $existing_braintree_customer_id = $gateway->ClientToken()->generate([ "customerId" => $braintree_customer_id['braintree_customer_id'] ]); } catch (Exception $e) { } ?>
`