Issue #24560:fix other credit card code

I don't see any other required changes