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

[ECP-9194] Ensure Adyen payment methods load correctly #2674

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

RokPopov
Copy link
Contributor

@RokPopov RokPopov commented Jul 8, 2024

Description
This PR addresses an issue where Adyen payment methods were not visible at the Magento checkout when both the Adyen Payment plugin (version 9.2.0) and Avalara Avatax plugin (version 2.5.0) were installed. The problem was caused by a conflict within the mixins of these plugins, where Avalara's asynchronous shipping-information request delayed the response with adyen_payment_methods_response.

Changes

  • Refactored the initialization logic in the Adyen payment component to check the properties of the adyen-payment-service.js class instead of checking for a virtual quote
  • Now calls getPaymentInformation() function if the paymentMethods or connectedTerminals observables are null

Tested scenarios

  • proceeded through the checkout process with various combinations of products (virtual, physical)
  • verified Adyen payment methods are correctly displayed in those scenarios

Fixes #2602

Copy link

sonarcloud bot commented Jul 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants