You are working on the hyperswitch repository (Rust payment processing system).
REPOSITORY SETUP:
Repository: juspay/hyperswitch
Working directory: ./repos/hyperswitch_pool_5 (already cloned)
Base commit: 9e82c40eed78ddabcbf0b0531b4fbbcc44d9142a
Task ID: juspay__hyperswitch-7908
Version: v1.113.0
TASK DESCRIPTION:
Bug: [REFACTOR] Refactor Merchant Payment Method List
Refactor Merchant PML to list the wallets even after they are saved by the customer
DETAILED CONTEXT & HINTS:
Type of Change
Bugfix
New feature
Enhancement
Refactoring
Dependency updates
Documentation
CI/CD
Description
Earlier we used to support filtering of wallet payment methods for customer pml, if it has been saved by the merchant via off- session payments once , the changes were made in the following PR
In this PR we are reverting the logic , the decision was taken to show the wallets in merchant pml even though a single entry in customer pml is present for that particular wallets ,
internally the decision was taken to allow overriding of the wallets connector mandate id for the customer for off-session payments
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?
Create MA and an MCA with wallets
-Create a payment and Save one wallet (eg: Paypal)
Create a new payment intent
List the Merchant PML again, Paypal would still be there
Assistant
I'll help you refactor the Merchant Payment Method List to show wallets even after they are saved by the customer. Let me start by creating a plan and understanding the current implementation.
First, let me explore the repository structure to locate the relevant files for merchant payment method listing.
Assistant
Let me first explore the repository structure to understand where the merchant payment method list functionality is implemented.
Assistant
(no content)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.