You are working on the hyperswitch repository (Rust payment processing system).…
- User
You are working on the hyperswitch repository (Rust payment processing system).
REPOSITORY SETUP:
- Repository: juspay/hyperswitch
- Working directory: ./repos/hyperswitch_pool_2 (already cloned)
- Base commit: 40fd473989b04f70c1dc78025a555a972ffe2596
- Task ID: juspay__hyperswitch-7995
- Version: v1.114.0
TASK DESCRIPTION: Bug: [FEATURE]: Add coingate, paystack connector specifications
Feature Description
Add coingate, paystack connector specifications
Possible Implementation
Add coingate, paystack connector specifications
Have you spent some time checking if this feature request has been raised before?
- I checked and didn't find a similar issue
Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit a PR?
Yes, I am willing to submit a PR!
DETAILED CONTEXT & HINTS:
Type of Change
- Bugfix
- New feature
- Enhancement
- Refactoring
- Dependency updates
- Documentation
- CI/CD
Closes this issue
Description
Added coingate, paystack connector specifications
Additional Changes
- This PR modifies the API contract
- This PR modifies the database schema
- This PR modifies application configuration/environment variables
Assistant
I'll help you implement the Coingate and Paystack connector specifications in the Hyperswitch repository. Let me first explore the codebase to understand where connector configurations are defined and how to properly add these new connectors.
Assistant
Let me first explore the codebase to understand where connector specifications are defined and how they're organized.
Assistant
(no content)
Assistant
Now I need to examine the specific files where I'll be adding the Coingate and Paystack connector specifications. Let me first look at the existing connector enum to understand how to add new connectors.
Assistant
I can see that
CoingateandPaystackare already defined in theConnectorenum (lines 226 and 274) andRoutableConnectorsenum (lines 78 and 121). Now I need to look at the connector configuration files to understand how to properly add the specifications. Let me examine the connector configs structure:Assistant
I can see that
coingate(line 183) andpaystack(line 232) are already defined in theConnectorConfigstruct. Now let me examine the TOML configuration files to understand how to properly add the connector specifications:Assistant
Let me check if there are existing configurations for other crypto or alternative payment method connectors to understand the pattern better:
Assistant
Let me look for examples of how crypto payment method connectors are configured to understand the pattern:
Assistant
Let me search for specific examples of how other crypto connectors are defined in the TOML files:
Assistant
Let me look at some examples of how other connectors with crypto payment methods are configured:
Assistant
Let me check the structure of the connector configuration by looking for specific sections in one of the files:
Assistant
Great! I can see that
coingatealready has some configuration in the development.toml file. Now let me check for Paystack:Assistant
Perfect! I can see that both Coingate and Paystack already have basic configurations in the development.toml file. Now I need to understand where the feature matrix endpoint is defined and update it to include these connectors properly.
Assistant
Let me examine the feature matrix route to understand how it's currently implemented:
Assistant
Now I need to understand how connector feature details are defined. Let me check the connector integration interface and how connectors define their features:
Assistant
Now I need to understand how connectors implement their specifications. Let me check how connectors are defined, specifically looking at the Coingate connector implementation:
Assistant
Let me check for the connectors directory structure:
Assistant
(no content)
Assistant
Let me look at the directory structure to find connector implementations:
Assistant
Great! Now let me check the Coingate connector implementation to see how its specifications are defined:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.