feat(router): Return payment_experience in PML for payment (v2)#8255
Merged
bernard-eugine merged 1 commit intomainfrom Jun 5, 2025
Merged
feat(router): Return payment_experience in PML for payment (v2)#8255bernard-eugine merged 1 commit intomainfrom
bernard-eugine merged 1 commit intomainfrom
Conversation
Changed Files
|
9f7d0b0 to
4d8bb99
Compare
sai-harsha-vardhan
approved these changes
Jun 5, 2025
ShankarSinghC
approved these changes
Jun 5, 2025
pixincreate
added a commit
that referenced
this pull request
Jun 9, 2025
…tch into cypress/fix * 'cypress/fix' of github.com:juspay/hyperswitch: chore(cypress): run formatter and address lints * 'main' of github.com:juspay/hyperswitch: feat(router): add merchantId authentication for Payments v2 (#8239) chore(version): 2025.06.06.0 Documentation edits made through Mintlify web editor Documentation edits made through Mintlify web editor feat(router): Return payment_experience in PML for payment (v2) (#8255) refactor: add infra-values in intent kafka events (#8264) fix(wasm): [Worldpayvantiv] add support for metadata.report_group (#8260) chore(version): 2025.06.05.0 revert(routing): Add connectors from current active routing algorithm before adding fallback connectors (#8207) feat(connectors): [Worldpayvantiv] add card support (#8219) feat(connectors): [Template] add Worldpayvantiv (#8226) refactor(dynamic_routing): add logic for creating merchant account in decision engine (#8191) feat(events): adding infra level components to api-events (#8214) chore(version): 2025.06.04.0 feat(core): add support for consuming eci for AuthNResponse in Authentication flow (#8225)
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
Added
payment_experiencein Payment Method List for Payments ResponseAdditional Changes
Motivation and Context
Closes #8254
How did you test it?
Request:
Response:
{ "payment_methods_enabled": [ { "payment_method_type": "card_redirect", "payment_method_subtype": "card_redirect", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "card", "payment_method_subtype": "card", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "google_pay", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "apple_pay", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "we_chat_pay", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "ali_pay", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "paypal", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "wallet", "payment_method_subtype": "mb_way", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "klarna", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "affirm", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "afterpay_clearpay", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "walley", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "giropay", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "ideal", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "eps", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "bancontact_card", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "przelewy24", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "sofort", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "blik", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "trustly", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "online_banking_finland", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_redirect", "payment_method_subtype": "online_banking_poland", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_transfer", "payment_method_subtype": "ach", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_transfer", "payment_method_subtype": "sepa", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_transfer", "payment_method_subtype": "bacs", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_debit", "payment_method_subtype": "ach", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_debit", "payment_method_subtype": "sepa", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_debit", "payment_method_subtype": "bacs", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "bank_debit", "payment_method_subtype": "becs", "payment_experience": null, "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "klarna", "payment_experience": "invoke_sdk_client", "required_fields": null, "surcharge_details": null }, { "payment_method_type": "pay_later", "payment_method_subtype": "klarna", "payment_experience": "redirect_to_url", "required_fields": null, "surcharge_details": null } ], "customer_payment_methods": null }Checklist
cargo +nightly fmt --allcargo clippy