enforce card verification
Fix deprecations.