[Cypress] Create Volt Connector Test Configuration for Open Banking UK
#9,603 opened on Sep 29, 2025
Repository metrics
- Stars
- (42,690 stars)
- PR merge metrics
- (Avg merge 6d 22h) (213 merged PRs in 30d)
Description
Feature Description
This task involves adding comprehensive test configuration for the Volt payment connector in Cypress, specifically for Open Banking UK bank redirect payments. The Volt connector is already implemented in the codebase but lacks proper test coverage for its Open Banking UK functionality.
Pre-requisites:
- Cypress is the testing framework that Hyperswitch is using to run automated tests. Having good grip on Javascript to work on Cypress is a must.
- Understanding of Open Banking UK payment flows and bank redirect mechanisms
- Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.
The Volt connector supports:
- Payment Method:
bank_redirect - Payment Method Type:
open_banking_uk - Automatic capture payments
- Refund capabilities (refund sync not supported)
{
"name": "VOLT",
"display_name": "VOLT",
"description": "Volt is a payment gateway operating in China, specializing in facilitating local bank transfers",
"category": "payment_gateway",
"integration_status": "live",
"supported_payment_methods": [
{
"payment_method": "bank_redirect",
"payment_method_type": "open_banking_uk",
"payment_method_type_display_name": "Open Banking UK",
"mandates": "not_supported",
"refunds": "supported",
"supported_capture_methods": [
"automatic"
],
"supported_countries": [
"LTU",
"LVA",
"IRL",
"FIN",
"SWE",
"GRC",
"CYP",
"BEL",
"LUX",
"ROU",
"SVN",
"HUN",
"ITA",
"GBR",
"MLT",
"FRA",
"ESP",
"POL",
"EST",
"PRT",
"AUS",
"NLD",
"BGR",
"CZE",
"NOR",
"BRA",
"AUT",
"DNK",
"DEU",
"SVK",
"HRV"
],
"supported_currencies": [
"EUR",
"NOK",
"PLN",
"SEK",
"BRL",
"DKK",
"GBP",
"AUD"
]
}
],
"supported_webhook_flows": []
},
Possible Implementation
Steps:
-
Create the Volt connector configuration file under the Payment configs directory: Payment Configs Directory
-
Add the Volt test configuration file
Volt.js, following the format used in the Stripe.js connector. -
In the Volt connector config, map the test cases and statuses properly for Open Banking UK flows. To do this, use the below dashboard credentials where Volt should be configured, test the flows, and then assign the correct statuses.
URL: https://app.hyperswitch.io Username, Password: Please drop a comment requesting credentials. The Creds are only shared on request
Postman collection for reference https://www.postman.com/altimetry-participant-63653904/hyperswitch
Note:
Test cases for other payment methods should be skipped
Submission Process: Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself. Once assigned, submit a pull request (PR). Maintainers will review and provide feedback, if any. Maintainers can unassign issues due to inactivity, read more here. Refer here for Terms and conditions for the contest.
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?
None