Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate EFT into Hyperswitch SDK #7316

Open
Tracked by #7292
jarnura opened this issue Feb 19, 2025 · 0 comments · May be fixed by juspay/hyperswitch-web#910
Open
Tracked by #7292

Integrate EFT into Hyperswitch SDK #7316

jarnura opened this issue Feb 19, 2025 · 0 comments · May be fixed by juspay/hyperswitch-web#910
Assignees

Comments

@jarnura
Copy link
Member

jarnura commented Feb 19, 2025

Description

EFT is a bank redirect payment method. This issue involves adding EFT as a payment method in the Hyperswitch SDK.

Implementation Steps

  • PaymentDetails.res
    Define EFT as a payment method by specifying its type, icon, and display name.

  • PaymentMethodsRecord.res
    Add EFT to paymentMethodsFields.

  • PaymentModeType.res

    • Add EFT as a payment type.
    • Map the "eft" string to EFT in paymentMode.
    • Include EFT in defaultOrder to display payment options in a specific sequence. T in paymentMode and add EFT in defaultOrder to display payment options to users in a specific sequence.
  • PaymentType.res
    Define an appropriate display term and default term for EFT.

  • PaymentBody.res
    Generate a JSON structure for the "EFT" payment method using a provider name. Provider name can be taken from the SDK but for now we can provide Provider name in the code itself as ozow.

  • PaymentUtils.res
    Add EFT as a bank payment method type.

How to test:

  1. Set up the Hyperswitch Backend locally using this documentation.
  2. Use the cURL commands provided in this PR in Postman to:
    • Set up a merchant account
    • Generate Hyperswitch API keys
    • Create a Paystack connector
  3. Setup Hyperswitch SDK locally using this documentation
  4. Run the application on localhost, initiate a payment, and manually test EFT by clicking the Pay Now button.

Note: Run the npm run re:build command before raising the PR

@Anurag-05-prog Anurag-05-prog linked a pull request Feb 19, 2025 that will close this issue
10 tasks
@Anurag-05-prog Anurag-05-prog changed the title Integrate EFT into Hyperswitch SDK - (PR to be linked) Integrate EFT into Hyperswitch SDK Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants