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_8 (already cloned)
- Base commit: e62f8ee8aba4ba05041b221e9af6f30100fdefcb
- Task ID: juspay__hyperswitch-8078
- Version: v1.114.0
TASK DESCRIPTION: Bug: [BUG] failing 3DS transactions for Redsys
Bug Description
Redsys 3ds card transactions are failing in production with following error
Error code - SIS0653 Error message - Operacion de autenticacion rechazada, browserJavascriptEnabled no indicadoExpected Behavior
Redsys 3ds card transactions should complete 3DS card transactions.
Actual Behavior
Payment transactions failing.
Context For The Bug
This is happening as one of the fields
browserJavascriptEnabledis not being sent in the right manner.Fix - update the request structure
Have you spent some time checking if this bug 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
Description
This PR contains changes for two connector integrations
- Fiuu - omit
bank_codefrom the refund request for enabling ORF feature from Fiuu's side
Assistant
I'll help you fix the 3DS transaction issue for Redsys. Let me first understand the problem and locate the relevant code files.
First, I'll create a plan of action to address this bug efficiently.
Assistant
Let me start by exploring the Redsys connector implementation to understand the current structure and identify where the
browserJavascriptEnabledfield needs to be fixed.Assistant
Let me examine the Redsys transformers file to understand the current implementation and locate the 3DS-related code:
Assistant
Now let me search for any references to the
browserJavascriptEnabledfield to understand how it's currently handled in the Redsys connector:Assistant
Let me check the Fiuu connector implementation to see what changes are needed there:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.