Repository navigation
feat(payment): PI-5808 add missing card brands and logos - #2748
Merged
Merged
Conversation
bc-wpietrzak
marked this pull request as ready for review
November 2, 2026 22:49
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
bc-ania
approved these changes
Nov 3, 2026
bc-yevhenii-buliuk
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Added missing names and/or logos for following card brands:
When cards of above brands were vaulted on shopper's account, some of the names and/or logos did not show correctly. This PR improves mapping and adds missing card icons.
Requirements
Tickets / Documentation
Add links to any relevant tickets and documentation.
Screenshots (if appropriate)
Before:
After:
Note
Low Risk
Display-only theme config, assets, and copy on the account payment methods page; no payment processing or auth changes.
Overview
Fixes My Account → Payment Methods so vaulted Bancontact, Carte Bancaire, Dankort, and Maestro cards show the correct brand logo and label instead of a generic card icon or missing artwork.
The theme already renders stored cards when the vault
brandis listed insupported_card_type_iconsand loadsimg/payment-methods/{brand}.svgwithaccount.payment_methods.card_types.*copy. This PR extends that whitelist inconfig.json, adds four SVG assets, and fills in English display names for Bancontact and Carte Bancaire (Dankort/Maestro strings were already present). No template or checkout logic changes.Reviewed by Cursor Bugbot for commit e578ed1. Bugbot is set up for automated code reviews on this repo. Configure here.