feat(authentication): add click to pay support for modular authentication#10004
Merged
Gnanasundari24 merged 10 commits intomainfrom Nov 5, 2025
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10004 +/- ##
=======================================
Coverage ? 3.90%
=======================================
Files ? 1223
Lines ? 302101
Branches ? 0
=======================================
Hits ? 11804
Misses ? 290297
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
sai-harsha-vardhan
previously approved these changes
Oct 30, 2025
apoorvdixit88
previously approved these changes
Nov 4, 2025
Contributor
apoorvdixit88
left a comment
There was a problem hiding this comment.
Looks fine from dashboard side.
5648d97
sai-harsha-vardhan
approved these changes
Nov 4, 2025
apoorvdixit88
approved these changes
Nov 4, 2025
aadityaguptaa
pushed a commit
that referenced
this pull request
Nov 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
add click to pay support for modular authentication
Two new api's
Additional Changes
Motivation and Context
Currently modular auth doest support click to pay with this change we are adding click to pay feature into modular auth
How did you test it?
Setup Visa Click to Pay
Create merchant connector account for Ctp_visa
{ curl --location 'http://localhost:8080/account/dqwdwljildwduoqwhduwqcqwjd/connectors' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: test_admin' \ --data ' "connector_type": "authentication_processor", "connector_name": "ctp_visa", "connector_account_details": { "auth_type": "NoKey" } } 'Once done,
do Authentication Create
Do enabled_session_token
Response
{ "authentication_id": "authn_2l68qhChzMDeD76FE3dI", "session_token": [ { "wallet_name": "click_to_pay", "dpa_id": "498WCF39JVQVH1UK4TGG21leLAj_MJQoapP5f12IanfEYaSno", "dpa_name": "TestMerchant", "locale": "en_AU", "card_brands": [ "Mastercard", "Visa" ], "acquirer_bin": "545301", "acquirer_merchant_id": "SRC3DS", "merchant_category_code": "0001", "merchant_country_code": "US", "transaction_amount": "0.10", "transaction_currency_code": "EUR", "phone_number": "7001135329", "email": "sahkalplanet@gmail.com", "phone_country_code": "+91", "provider": "visa", "dpa_client_id": "TestMerchant" } ] }do Post Authn
Shall result in 200 response with authn_value
Checklist
cargo +nightly fmt --allcargo clippy