Skip to content

Substitution payment method - Incorrect message #12209

Closed
@ihor-sviziev

Description

@ihor-sviziev

Preconditions

  1. Magento 2.1.9 (same should be in 2.2-develop and 2.3-develop)
  2. DB migrated from M1, payment method wasn't migrated, so it's not available

Steps to reproduce

  1. Go to Admin panel and look at existing order
  2. View "Payment & Shipping Method" section

Expected result

We should have message "<payment_method_name> is not available. You still can process offline actions." OR we should have message "Payment method is not available. You still can process offline actions.

Actual result

We have message "is not available. You still can process offline actions."
image

Tech note

https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Payment/view/adminhtml/templates/info/substitution.phtml#L13

  1. payment method title isn't printed
  2. There is no check if title is not empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions