juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.64k stars 1.36k forks source link

[CYPRESS] Add e2e test for Klarna (pay later) payment method for Adyen Connector #6049

Open Sanskar2001 opened 2 months ago

Sanskar2001 commented 2 months ago

The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.

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

Description:

This task involves adding a cypress e2e test for Klarna (pay later) payment method for Adyen Connector.

🔨 Possible Implementation Locate the element for this payment method, perform the click action on it and assert whether redirection happens success.

Contribution Guidelines:


Helpful Resources:

Submission Process:

Refer here for Terms and conditions for the contest.

If you have any questions or need help getting started, feel free to ask in the comments!

🔖 Note: Please drop a mail for required credentials at preetam.revankar@juspay.in

sccalabr commented 1 month ago

id like to give this a try

gorakhnathy7 commented 1 month ago

Hey @sccalabr there is another issue assigned to you as well, Kindly let us know, which of these issue you are working on currently. Thanks!

gorakhnathy7 commented 1 month ago

Hey Contributors, For this issue, please submit a PR on @juspay/hyperswitch-web repo, and link it to the issue.

sccalabr commented 1 month ago

Ill work on the other one

gorakhnathy7 commented 1 month ago

Cool @sccalabr, thanks for the update.

Rishi-0007 commented 1 month ago

please assign this issue to me.

gorakhnathy7 commented 1 month ago

Sure @Rishi-0007 Assigning the issue to you, thanks for your interest!

Rishi-0007 commented 1 month ago

Hey @gorakhnathy7 @Sanskar2001,

I’ve successfully set up the project locally, and everything seems to be working smoothly. Here are the details:

Could you please guide me on how to proceed with solving the issue? Specifically, I need help adding the Klarna (Pay Later) payment method via the Adyen connector and writing the corresponding Cypress E2E test.

Thanks in advance for your help!

Sanskar2001 commented 1 month ago

@Rishi-0007 Please use the appropriate credentials i.e. publishableKey and secretKey. Also make sure to use the correct profile_id in createPaymentBody as shared to you over mail.