CreditCardForm#isCreditCardValid() always returns if called from the CardValidCallback#cardValid(). This is because the base credit cards fields are not calling setValid() until AFTER they call the delegate's update methods. This patch just reverses the order of the delegate and setValid() calls.
CreditCardForm#isCreditCardValid() always returns if called from the CardValidCallback#cardValid(). This is because the base credit cards fields are not calling
setValid()
until AFTER they call the delegate's update methods. This patch just reverses the order of the delegate andsetValid()
calls.