Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(core): Add support for card network tokenization #5599

Merged
merged 80 commits into from
Sep 16, 2024

Conversation

prasunna09
Copy link
Contributor

@prasunna09 prasunna09 commented Aug 12, 2024

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Add support for card network tokenization.
the feature allows you to tokenize the card for that customer in the first CIT, and there after token can be used for further CIT or MIT transaction.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

test cases - sanity testing for payments that include save card flow, MIT with NTI for cyber source

Payment test without tokenization for cyber source -
Screenshot 2024-08-29 at 5 12 12 PM
Screenshot 2024-08-29 at 5 14 15 PM

CIT with setup_future_usage='on_session' (Saved Card flow)
Screenshot 2024-08-29 at 7 16 34 PM
Screenshot 2024-08-29 at 7 17 17 PM

CIT consecutive when the customer card is already saved at hs.
Screenshot 2024-08-29 at 7 19 37 PM

Screenshot 2024-08-29 at 7 19 50 PM Screenshot 2024-08-29 at 7 21 15 PM

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@prasunna09 prasunna09 added A-core Area: Core flows C-feature Category: Feature request or enhancement M-database-changes Metadata: This PR involves database schema changes labels Aug 12, 2024
@prasunna09 prasunna09 self-assigned this Aug 12, 2024
@prasunna09 prasunna09 requested review from a team as code owners August 12, 2024 20:50
@hyperswitch-bot hyperswitch-bot bot added the M-api-contract-changes Metadata: This PR involves API contract changes label Aug 13, 2024
@jarnura jarnura mentioned this pull request Sep 12, 2024
15 tasks
jarnura
jarnura previously approved these changes Sep 16, 2024
ShankarSinghC
ShankarSinghC previously approved these changes Sep 16, 2024
@ThisIsMani ThisIsMani removed the request for review from a team September 16, 2024 07:26
@prasunna09 prasunna09 dismissed stale reviews from ShankarSinghC and jarnura via f3268af September 16, 2024 08:31
@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Sep 16, 2024
Merged via the queue into main with commit 61e2ca9 Sep 16, 2024
14 checks passed
@Gnanasundari24 Gnanasundari24 deleted the add-card-network-tokenization branch September 16, 2024 11:38
cookieg13 pushed a commit that referenced this pull request Sep 19, 2024
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
@SanchithHegde SanchithHegde removed the S-waiting-on-author Status: This PR is incomplete or needs to address review comments label Sep 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-core Area: Core flows C-feature Category: Feature request or enhancement M-api-contract-changes Metadata: This PR involves API contract changes M-database-changes Metadata: This PR involves database schema changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants