Skip to content

PaymentServicesPaypal module implicitly depends on InventoryInStorePickupFrontend module and breaks the checkout #40346

@martin-cod

Description

@martin-cod

Preconditions and environment

  • Magento version 2.4.7-p8
  • Payment Services module version 2.13.0
  • Magento_InventoryInStorePickupFrontend module is disabled as well as other Magento_Inventory* modules

Steps to reproduce

  1. Add product to cart
  2. Go to checkout
  3. Fill in shipping information and go to Payment step
  4. Review Shipping Information in Order Summary block

Expected result

Shipping Information visible and displays the actual Shipping data as it was on Payment Services module version 2.11.0

Image

Actual result

Shipping Information is empty, JS error in console

Image Image

Additional information

There is a mixin vendor/magento/module-inventory-in-store-pickup-frontend/view/frontend/web/js/view/shipping-information-ext.js where isStorePickup function is declared. Since Magento_InventoryInStorePickupFrontend module is disabled mixin is not loaded.

Magento_PaymentServicesPaypal module adds another mixin vendor/magento/module-payment-services-paypal/view/frontend/web/js/view/shipping-information-mixin.js and original shipping-information.html template is overwritten. In the template there is a call of <!-- ko if: (!isStorePickup()) --> but function is not found.

So that, Magento_PaymentServicesPaypal module has implicit dependency on logic of Magento_InventoryInStorePickupFrontend module but it has no explicit dependency defined in module.xml

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Confirmation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions