Skip to content

feat(payment): PI-5808 add missing card brands and logos - #2748

Merged
bc-wpietrzak merged 2 commits into
masterfrom
PI-5808
Nov 3, 2026
Merged

bc-wpietrzak merged 2 commits into
masterfrom
PI-5808

Conversation

@bc-wpietrzak

@bc-wpietrzak bc-wpietrzak commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

What?

Added missing names and/or logos for following card brands:

  • Bancontact
  • Carte Bancaire (Carte Bleue)
  • Dankort
  • Maestro

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

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

Add links to any relevant tickets and documentation.

Screenshots (if appropriate)

Before:

Screenshot 2026-11-02 at 23 22 33

After:

Screenshot 2026-11-02 at 23 20 28

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 brand is listed in supported_card_type_icons and loads img/payment-methods/{brand}.svg with account.payment_methods.card_types.* copy. This PR extends that whitelist in config.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.

@bc-wpietrzak bc-wpietrzak changed the title PI-5808 feat(payment): PI-5808 add missing card brands and logos Nov 2, 2026
@bc-wpietrzak
bc-wpietrzak marked this pull request as ready for review November 2, 2026 22:49
@bc-wpietrzak
bc-wpietrzak requested a review from a team as a code owner November 2, 2026 22:49

@bc-yevhenii-buliuk bc-yevhenii-buliuk left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bc-wpietrzak
bc-wpietrzak merged commit dccec62 into master Nov 3, 2026
2 checks passed
@bc-wpietrzak
bc-wpietrzak deleted the PI-5808 branch November 3, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants