Skip to content

[ECP-9542] Solving the hidden dependency on Magento_Paypal module#2855

Merged
khushboo-singhvi merged 8 commits intomainfrom
ECP-9542
Feb 4, 2025
Merged

[ECP-9542] Solving the hidden dependency on Magento_Paypal module#2855
khushboo-singhvi merged 8 commits intomainfrom
ECP-9542

Conversation

@khushboo-singhvi
Copy link
Contributor

Description
It looks like the module has a hidden dependency on Magento_Paypal module. If this module is disabled, our frontend can't find the value of global configuration window.checkoutConfig.payment.iframe. This results in card component not being able to load correctly.
This PR aims to solve the hidden dependency on Magento_Paypal module by using default magento's functionality

Tested scenarios
Successful loading of card component after disabling the Magento Paypal module.

Fixes

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2025

@khushboo-singhvi khushboo-singhvi merged commit a230cef into main Feb 4, 2025
15 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9542 branch February 4, 2025 15:08
@khushboo-singhvi khushboo-singhvi added the Fix Indicates a bug fix label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Indicates a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants