Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual product in cart hide cash on delivery payment #14

Open
GardeEuro opened this issue Dec 11, 2018 · 1 comment
Open

Virtual product in cart hide cash on delivery payment #14

GardeEuro opened this issue Dec 11, 2018 · 1 comment

Comments

@GardeEuro
Copy link

GardeEuro commented Dec 11, 2018

Preconditions

  1. Magento 2.2.3 CE
  2. PHP 7.0.28
  3. MySQL 5.0.12

Steps to reproduce

  1. Add to cart one virtual product and one simple product
  2. Go to checkout
  3. Compile shipping form
  4. Continue to payment step

Expected result

  1. Cash on delivery available as payment method because one simple product is present on cart

Actual result

  1. Cash on delivery not shown as possibile payment method

In my opinion problem lives at this file:

/msp/cashondelivery/Model/Payment.php

at line 43.

@fballiano
Copy link

Virtual products are not shipped so they can't be paid "on delivery".
It can be weird but it is logically correct IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants