Braintree plugin cache credit card info on cart refresh
PROBLEM: The CC info clears if the customer changes anything in the address to chooses another shipping method. This is because the WooCommerce refreshes the cart upon these actions. However, many plugins retain the CC info on this action.
Here's a video illustrating the problem: https://d.pr/hH51Op
SOLUTION: Cache the CC info upon cart refresh.
Here is a video of the way it works with the Woocommerce PayPal Pro plugin: https://d.pr/kUrht6