Skip to content

Ignore case differences during payment methods icon matching#2131

Merged
KoalaSat merged 1 commit intoRoboSats:mainfrom
aftermath2:external_pix_orders_icon
Aug 1, 2025
Merged

Ignore case differences during payment methods icon matching#2131
KoalaSat merged 1 commit intoRoboSats:mainfrom
aftermath2:external_pix_orders_icon

Conversation

@aftermath2
Copy link
Contributor

@aftermath2 aftermath2 commented Jul 31, 2025

What does this PR do?

Fixes #2130

This PR modifies the way in which payment methods icons are detected by using lowecase in both sides (known payment methods and the ones used by the user). This helps avoid scenarios in which a payment method is not detected because of different cases in the name (i.e. PIX, Pix, pix, PiX, etc.)

Checklist before merging

  • Install pre-commit and initialize it: pip install pre-commit, then pre-commit install. Pre-commit installs git hooks that automatically check the codebase. If pre-commit fails when you commit your changes, please fix the problems it points out.

@aftermath2 aftermath2 force-pushed the external_pix_orders_icon branch from 0acba04 to 262891c Compare July 31, 2025 19:13
@aftermath2 aftermath2 changed the title Fix external pix orders icon Ignore case differences during payment methods icon matching Jul 31, 2025
@KoalaSat
Copy link
Member

KoalaSat commented Aug 1, 2025

I just wrote on the issue and didn´t even realize you just fixed it 😄 thanks!

Please accept a small tip for your help. Paste here a LN invoice with a long expiration date for 40,000 sats

@KoalaSat KoalaSat merged commit 962d2e6 into RoboSats:main Aug 1, 2025
@aftermath2
Copy link
Contributor Author

@KoalaSat Haha we thought about the same solution. Thanks!

lnbc400u1p5geparsp50stsmddw3vss8gshhmx37yjg5fllqdnr0vrtz0jl5qz5l9kwaxhspp57j3f3wacadrwtwgxyjf0clvapjlnacl344jxt35kn4ty8pxpeypqhp5uwcvgs5clswpfxhm7nyfjmaeysn6us0yvjdexn9yjkv3k7zjhp2sxq9z0rgqcqpnrzjqwuyhm4rwjccnjvkpw5g3jtxhjdwmux6p0qvqk9upadaalt03qg4vrt7puqqjesqqyqqqqlgqqqqztqq2q9qxpqysgqtluv8fxdw7ulcdmc4vrzdh4gjuftz9q630zj9y48az0nntdnklv9dttjpdx06vv4km6x7p5x8gsd6pq4dvcg9tyf82yn57klns6q9pcp2mnne9

@RobosatsDevFund
Copy link

77c7a71ffc9c20b96ce023ea76613500bd0c02d4153b5a9d13996df6c978210e

@aftermath2 aftermath2 deleted the external_pix_orders_icon branch August 2, 2025 18:09
@aftermath2 aftermath2 mentioned this pull request Aug 12, 2025
1 task
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.

External pix orders icon missing

3 participants