Skip to content

Remove stored credit card data from checkout and ordering#994

Open
Soumilgit wants to merge 1 commit into
dotnet:mainfrom
Soumilgit:fix/issue-979-payment-data
Open

Remove stored credit card data from checkout and ordering#994
Soumilgit wants to merge 1 commit into
dotnet:mainfrom
Soumilgit:fix/issue-979-payment-data

Conversation

@Soumilgit
Copy link
Copy Markdown

Summary

  • replace checkout/order card fields with a non-sensitive payment method reference
  • stop storing payment card details in Ordering and Identity database schemas
  • remove card details from identity claims, sample data, logs, web checkout, and client mock/order payloads
  • add migrations and update unit/functional test payloads for the new contract

Verification

  • dotnet restore eShop.Web.slnf
  • dotnet build eShop.Web.slnf --no-restore
  • dotnet test tests\Ordering.UnitTests\Ordering.UnitTests.csproj --no-build

Notes

  • Ordering functional tests currently time out during Aspire/DCP startup before API test bodies execute in this local environment.

Addresses #979

@Soumilgit Soumilgit marked this pull request as ready for review June 7, 2026 04:47
@Soumilgit
Copy link
Copy Markdown
Author

@dotnet-policy-service agree

@Soumilgit
Copy link
Copy Markdown
Author

Hi @davidfowl,
Please review this PR.

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.

1 participant