Skip to content

Comments

Add mock payment SCA doctype and payment card art#1552

Open
dzuluaga wants to merge 1 commit intoopenwallet-foundation:mainfrom
dzuluaga:payment-credential-dcp
Open

Add mock payment SCA doctype and payment card art#1552
dzuluaga wants to merge 1 commit intoopenwallet-foundation:mainfrom
dzuluaga:payment-credential-dcp

Conversation

@dzuluaga
Copy link
Contributor

@dzuluaga dzuluaga commented Feb 19, 2026

Adds mock Digital Payment Credential doctype (org.multipaz.payment.sca.1).
Add a mock Digital Payment Credential doctype and wire it into testapp provisioning.
Update payment card art used by testapp document provisioning.

Test: ./gradlew :multipaz-doctypes:jvmTest --tests "org.multipaz.documenttype.TestDocumentTypeRepository.testDigitalPaymentCredentialDocumentType"
Test: ./gradlew :samples:testapp:installBlueDebug
Test: Manually tested on Android and iPhone (payment card visible in Document Store)
Test: Video proof (iPhone): https://bit.ly/4kOLYPY

Fixes #1551

  • Tests pass

…card art

Adds mock Digital Payment Credential doctype (org.multipaz.payment.sca.1).
Add a mock Digital Payment Credential doctype and wire it into testapp provisioning.
Update payment card art used by testapp document provisioning.

Refs: openwallet-foundation#1551

Test: ./gradlew :multipaz-doctypes:jvmTest --tests "org.multipaz.documenttype.TestDocumentTypeRepository.testDigitalPaymentCredentialDocumentType"
Test: ./gradlew :samples:testapp:installBlueDebug
Test: Manually tested on Android and iPhone (payment card visible in Document Store)
Test: Video proof (iPhone): https://bit.ly/4kOLYPY

Signed-off-by: Diego Zuluaga <dfzuluaga@gmail.com>
Signed-off-by: Diego Zuluaga <diego@openmobilehub.org>
Copy link
Contributor

@davidz25 davidz25 left a comment

Choose a reason for hiding this comment

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

Looks good, two requests inline.

import kotlinx.datetime.LocalDate

/**
* Payment SCA credential profile for card-based digital payments.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a comment here saying that this currently is an example for testing in a closed ecosystem, subject to change, disclaimer disclaimer etc?

If the doctype is inspired by other documents, fair to say that too.

Copy link
Contributor

Choose a reason for hiding this comment

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

Probably should not use that logo in the bottom right...

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.

Add mock Digital Payment Credential doctype (org.multipaz.payment.sca.1) to testapp provisioning

2 participants