Issue: [FIX] Re-revert changes done in `pr#7866` by `pr#7882`

### Context 
[PR#7882](https://github.com/juspay/hyperswitch/pull/7882) accidentally reverted changes made in [PR#7882](https://github.com/juspay/hyperswitch/pull/7866), which was a merchant critical PR.

### Proposed Fix
Re revert the changes.

Resolution: <think>
PR Context:
- Title: fix(payment_methods): Re-revert changes done in `pr#7866` by `pr#7882`
- Merged: 2025-05-05T12:58:42Z
- Files changed: 1 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Context
https://github.com/juspay/hyperswitch/pull/7882 accidentally reverted changes made in https://github.com/juspay/hyperswitch/pull/7866, which was a merchant critical PR.

Reason:
- This might have occured due to incorrect resolution
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(payment_methods): Re-revert changes done in `pr#7866` by `pr#7882` (#7954)
Files to modify:


**crates/router/src/core/payment_methods/cards.rs**
  Modify existing code