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(3ds): three DS SDK - adding logs to track milestone events #265

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

vsrivatsa-edinburgh
Copy link
Contributor

@vsrivatsa-edinburgh vsrivatsa-edinburgh commented Mar 28, 2024

Type of Change

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

Description

Three DS SDK - adding logs to track milestone events

Motivation and Context

Three DS authentication analytics and audit trail tracking

How did you test it?

Check payment logs against a payment ID (with 3DS 2.0 flow)

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@@ -40,33 +40,63 @@ let make = () => {
->Belt.Option.flatMap(JSON.Decode.object)
->Belt.Option.flatMap(x => x->Dict.get("three_ds_method_data"))
->Option.getOr(Dict.make()->JSON.Encode.object)
let paymentIntentId =
metaDataDict
->Dict.get("paymentIntentId")
Copy link
Collaborator

Choose a reason for hiding this comment

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

getString function can be used I guess. Check once for both the values

@akash-c-k akash-c-k merged commit ceab161 into main Apr 4, 2024
3 checks passed
@akash-c-k akash-c-k deleted the feat/three_ds_iframe_logs branch April 4, 2024 07:28
akash-c-k pushed a commit that referenced this pull request Apr 4, 2024
# [0.36.0](v0.35.6...v0.36.0) (2024-04-04)

### Features

* **3ds:** three DS SDK - adding logs to track milestone events ([#265](#265)) ([ceab161](ceab161))
* giropay dynamic fields added ([#267](#267)) ([ad2fa63](ad2fa63))
rising-dragon401 added a commit to rising-dragon401/hyperswitch-web that referenced this pull request Jul 2, 2024
# [0.36.0](juspay/hyperswitch-web@v0.35.6...v0.36.0) (2024-04-04)

### Features

* **3ds:** three DS SDK - adding logs to track milestone events ([#265](juspay/hyperswitch-web#265)) ([ceab161](juspay/hyperswitch-web@ceab161))
* giropay dynamic fields added ([#267](juspay/hyperswitch-web#267)) ([ad2fa63](juspay/hyperswitch-web@ad2fa63))
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.

5 participants