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
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
adyen-payment-service.js
class instead of checking for a virtual quotegetPaymentInformation()
function if thepaymentMethods
orconnectedTerminals
observables arenull
Tested scenarios
Fixes #2602