Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add merchant qr content support #331

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

dolcalmi
Copy link
Contributor

@dolcalmi dolcalmi commented Oct 25, 2024

Adds support for merchants legacy qr content (in this case for Moneybadger legacy retail QR codes)

Copy link

@carelvwyk carelvwyk left a comment

Choose a reason for hiding this comment

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

This PR is the definition of permissionless innovation.

{
description: "PicknPay EMV QR code on mainnet",
qrContent:
"00020129530023za.co.electrum.picknpay0122RD2HAK3KTI53EC/confirm520458125303710540115802ZA5916cryptoqrtestscan6002CT63049BE2",

Choose a reason for hiding this comment

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

These are moneybadger generated test QR data, identifiable by the presence of the string "cryptoqrtestscan".

It would be good also to include in the tests actual merchant generated QR data.

Here is an example of a merchant generated code in pnp's production environment:
00020126260008za.co.mp0110248723666427530023za.co.electrum.picknpay0122ydgKJviKSomaVw0297RaZw5303710540571.406304CE9C

Here is an example of a merchant generated code in pnp's test environment:
00020126260008za.co.mp0110628654976427530023za.co.electrum.picknpay0122a/r4RBWjSNGflZtjFg4VJQ530371054041.2363044A53

Copy link

@ckritzinger ckritzinger left a comment

Choose a reason for hiding this comment

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

LGTM, we're happy with the domains as-is

@dolcalmi dolcalmi merged commit bec33d1 into main Oct 25, 2024
5 checks passed
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