Currently, for all express payment methods we have a configuration on whether to mount the component on PDP, minicart or summary page. However, it does not work properly. This PR gets the details from the ObserverInterface and checks what page we are on.
Summary
Currently, for all express payment methods we have a configuration on whether to mount the component on PDP, minicart or summary page. However, it does not work properly. This PR gets the details from the ObserverInterface and checks what page we are on.
Tested scenarios
Fixed issue: