juspay/hyperswitch

[CYPRESS] : Add Volt Connector

Open

#5,897 opened on Sep 16, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Rust (4,676 forks)batch import
hacktoberfest

Repository metrics

Stars
 (42,690 stars)
PR merge metrics
 (Avg merge 6d 22h) (213 merged PRs in 30d)

Description

Description:

This task involves adding a connector for the Volt functionality in Cypress. For reference, similar connectors have already been implemented in the repository. You can refer to the existing connectors here: https://github.com/juspay/hyperswitch/tree/main/cypress-tests/cypress/e2e/PaymentUtils

Pre-requisites: Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.

Steps:

  1. Add the checkout connector .js files under the PaymentUtils directory: PaymentUtils Directory

  2. Add the bank redirect details and corresponding test case functions for Volt, following the format used in the Iatapay.js connector.

  3. In the Volt connector, map the test cases and statuses properly. To do this, use the below dashboard credentials where Volt is already configured, test the flows, and then assign the correct statuses.

URL: https://app.hyperswitch.io Username: Password:

Test Cases:

Note: Test cases for other payment methods should be skipped.

Contributor guide