magento / pwa-studio

šŸ› Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 684 forks source link

[bug]: It's not showing any message when there are no supported payment methods available #2854

Closed ankurvr closed 4 years ago

ankurvr commented 4 years ago

Describe the bug It's not showing message when there are no supported payment methods available. It's becoming and empty container instead of showing proper message.

To reproduce Steps to reproduce the behavior:

  1. Make sure you have braintree payment method disabled and other payment methods like Purchase order, bank transfer enabled.
  2. Add any product to cart
  3. Go to Cart -> Checkout
  4. Add shipping address and select any shipping method
  5. Let it load the payment methods from server. After loading completion payment method container will become empty as shown in below screenshot.

Expected behavior It should show message like "No Payment method available.", but it's not showing anything and container becomes empty as shown in below screenshot.

Screen Shot 2020-11-10 at 4 42 19 PM

Screenshots

Screen Shot 2020-11-10 at 4 22 34 PM Screen Shot 2020-11-10 at 4 22 59 PM

Additional context Make sure you have braintree payment method disabled and other payment methods like Purchase order, bank transfer enabled.

Possible solutions Adding message will do the job

Please complete the following device information:

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 4 years ago

Hi @ankurvr. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


ankurvr commented 4 years ago

@magento I am working on this