Hevelop / invoice-request

Magento 2 module to generate invoice request field in checkout for italian invoicing
GNU Affero General Public License v3.0
16 stars 12 forks source link

Fields for private invoice shown instead of company ones when billing address it's updated after "i want invoice" selection #6

Closed alenalato closed 3 years ago

alenalato commented 3 years ago

Effect: Cannot place order but no errors on page

Steps to reproduce (on checkout payment step, as a guest):

  1. uncheck "My billing and shipping address are the same"
  2. compile billing address form, don't save form (i.e. don't click update nor cancel)
  3. select "i want invoice"
  4. select "business": fields are missing
  5. save billing address form: fields won't appear or
  6. check again "My billing and shipping address are the same": fields still not shown

Exptected beahavior

  1. uncheck "My billing and shipping address are the same"
  2. compile billing address form, don't save form (i.e. don't click update nor cancel)
  3. select "i want invoice"
  4. select "business": fields are missing
  5. save billing address form: fields appear or
  6. check again "My billing and shipping address are the same": fields appear
SamueleMartini commented 3 years ago

Issue solved by Dadolun with pull request https://github.com/Hevelop/invoice-request/pull/10