feat(core): added customer phone_number and email to session token response for click to pay#6863
Merged
Gnanasundari24 merged 18 commits intomainfrom Dec 19, 2024
Conversation
…sponse for click to pay
Changed Files
|
…se' of https://github.com/juspay/hyperswitch into 7863-add-email-and-phone-number-to-session-token-response
sai-harsha-vardhan
previously approved these changes
Dec 18, 2024
sai-harsha-vardhan
previously approved these changes
Dec 19, 2024
SanchithHegde
approved these changes
Dec 19, 2024
sai-harsha-vardhan
approved these changes
Dec 19, 2024
pixincreate
added a commit
that referenced
this pull request
Dec 20, 2024
…ete-pm * 'main' of github.com:juspay/hyperswitch: refactor(dynamic_routing): add col payment_method_type in dynamic_routing_stats (#6853) refactor(customers_v2): include minor fixes for customer v2 flows (#6876) fix: cypress reports generation (#6894) fix(connector): Paypal BankRedirects (Ideal/EPS) (#6864) chore(version): 2024.12.19.1 fix(connector): [UNIFIED_AUTHENTICATION_SERVICE] change url path to `pre_authentication_processing` in pre-auth flow (#6885) refactor(users): move roles schema to global interface (#6862) feat(payment_methods): add support to pass apple pay recurring details to obtain apple pay merchant token (#6770) feat(payments): [Payment links] Add config for changing button text for payment links (#6860) feat(core): added customer phone_number and email to session token response for click to pay (#6863) FEAT(klarna): Klarna Kustom Checkout Integration (#6839) feat(users): handle email url for users in different tenancies (#6809) chore(version): 2024.12.19.0 refactor(dynamic_routing): update the authentication for update config to include JWT type (#6785) chore(env): remove unified_authentication_service base_url from integ, sandbox and production toml (#6865)
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 customer phone_number and email to session token response for click to pay
How did you test it?
Add Ctp_mastercard as a connector and send relevant details to ctp in connector metadata
update business profile with
Do payments create with customer details
Look for customer details in click to pay session response
Response
{ "payment_id": "pay_gEidbQrgy29Hu2JfUWto", "client_secret": "pay_gEidbQrgy29Hu2JfUWto_secret_PfoMiqnCRZL3uCKrNDmv", "session_token": [ { "wallet_name": "click_to_pay", "dpa_id": "b6e06cc6-3018-4c4c-bbf5-9fb232615090", "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": "11.30", "transaction_currency_code": "USD", "phone_number": "9123456789", "email": "john@example.com" } ] }Checklist
cargo +nightly fmt --allcargo clippy