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

Properly handling the onChange for first pre-selected payment method #1097

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

zenit2001
Copy link
Contributor

Summary

Describe the changes proposed in this pull request:

  • What is the motivation for this change?
    Validation was failing when the first pre-selected pm was being used to complete a payment, preventing the shopper to go to order review page. This issue was happening only for components which don't have additional fields.
  • What existing problem does this pull request solve?
    Changes handleOnChange function to get the type of payment method from stateData and handles the multiple tx variant components.

Tested scenarios

Description of tested scenarios:

  • iDeal payments
  • UPI Payments

Fixed issue: SFI-795

Copy link

sonarcloud bot commented Jun 24, 2024

@zenit2001 zenit2001 changed the title fix: properly handling the first selected pm, also the multiple tx va… Properly handling the onChange for first pre-selected payment method Jun 24, 2024
@zenit2001 zenit2001 added the fix Fixes a bug label Jun 24, 2024
@zenit2001 zenit2001 marked this pull request as ready for review June 28, 2024 10:19
@zenit2001 zenit2001 merged commit ce367f7 into develop Jul 3, 2024
17 checks passed
@zenit2001 zenit2001 deleted the bugfix/SFI-795-place-order-button branch July 3, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants