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_0 (already cloned)
- Base commit: 31e109a9a1367ef53786c146604b31fca69b15ef
- Task ID: juspay__hyperswitch-7957
- Version: v1.114.0
TASK DESCRIPTION: Bug: [BUG] Facilitapay env connector configs breaking WASM
It is
BodyKeyand notBodykey.Affected files:
crates/connector_configs/toml/production.tomlcrates/connector_configs/toml/sandbox.tomlcrates/connector_configs/toml/integration_test.tomlthis isn't affecting the current wasm as Facilitapay is not yet on dashboard.
DETAILED CONTEXT & HINTS:
Type of Change
- Bugfix
- New feature
- Enhancement
- Refactoring
- Dependency updates
- Documentation
- CI/CD
Description
This PR fixes Facilitapay payment method env that broke WASM.
Additional Changes
- This PR modifies the API contract
- This PR modifies the database schema
- This PR modifies application configuration/environment variables
Motivation and Context
WASM broke.
How did you test it?
WASM shouldn't break now. closes #7957
Checklist
- I formatted the code
cargo +nightly fmt --all - I addressed lints thrown by
cargo clippy - I reviewed the submitted code
Assistant
I'll help you fix the Facilitapay env connector configs breaking WASM issue. Let me start by examining the affected files to understand the problem with
BodyKeyvsBodykey.First, I'll create a todo list to track our work:
Assistant
Let me first check the current state of the Facilitapay configurations in the production.toml file:
Assistant
Let me search for Facilitapay configurations in the production.toml file:
Assistant
Let me try to search more broadly for facilitapay or Bodykey:
Assistant
Let me check the specific files that contain "Bodykey" to see the exact issue:
Assistant
Let me read the production.toml file to find the Facilitapay configuration:
Assistant
Let me read the production.toml file more directly to see its content and find the Facilitapay section:
Assistant
Now I need to find the Facilitapay configuration. Let me search more specifically for it in the whole file:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.