Explore the hyperswitch codebase to understand how Adyen payment requests are structured…
- User
Explore the hyperswitch codebase to understand how Adyen payment requests are structured and where metadata handling occurs. Look for Adyen-specific modules and payment request construction.
Assistant
I'll explore the hyperswitch codebase to understand how Adyen payment requests are structured and where metadata handling occurs. Let me start by examining the codebase structure to locate Adyen-related modules.
Assistant
Now let me examine the main Adyen connector implementation to understand how payment requests are structured:
Assistant
Let me search for specific parts of the Adyen connector to understand the payment request structure:
Assistant
Let me try a broader search for the key structures in the Adyen connector:
Assistant
Let me examine the connector structure more broadly by looking at the beginning of the file:
Assistant
Let me look at the transformers module which likely contains the payment request building logic:
Assistant
Let me look for the transformers module in the adyen directory:
Assistant
(no content)
Assistant
Let me search for the specific payment request structure in the Adyen connector:
Assistant
Let me search for PaymentRequest structures in the adyen connector:
Assistant
Let me search for the main payment request structure in the adyen connector more broadly:
Assistant
Let me get the full structure of the transformers file to better understand how payment requests are defined:
Assistant
Now let me search for where the metadata handling occurs in the Adyen connector:
Assistant
Let me look for payment request transformation methods in the adyen connector:
Assistant
Let me examine how the connector handles the authorization flow by checking the adyen.rs file more closely:
Assistant
Let me look at the end of the adyen.rs file to see how payments are implemented:
Assistant
Let me find the implementation for the PaymentsAuthorize flow specifically by looking for the implementation blocks in the adyen.rs file:
Assistant
Let me search more broadly for payment authorization implementations in the adyen.rs file:
Assistant
Let me examine the structure of the connector more systematically by finding the implementations for different flows:
Assistant
Let me now check for the specific implementation by looking for the structure that implements payment flows:
Assistant
Perfect! Now I've found the key part. Let me examine how metadata handling occurs in Adyen. I can see that the payment request structure is defined in the transformers.rs file. Let me also look for how metadata is handled specifically in the connector.
Let me look more deeply at the key lines around the payment request creation to understand how it builds the payment request and how metadata is involved:
Assistant
Let me search for the implementation that converts from the router data to the AdyenPaymentRequest:
Assistant
Let me search for TryFrom implementations in the transformers.rs file more generally:
Assistant
Let me check the end of the transformers.rs file to see the full implementation:
Assistant
Let me search for TryFrom implementations related to payments specifically:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.