Closed torhoehn closed 2 years ago
Hello @torhoehn , Can you please describe in more detail where exactly this field is, what exactly is not possible, what you expect? Where exactly is the added value for a merchant?
@janteuber Sorry, but don't understand why I have to describe the value for the merchant. My code example is something out of this extension, so it's something you already wanted to show.
Hello @torhoehn , As mentioned above, I need your specification on this issue. Thank you very much.
@janteuber The placeholder should be displayed in the admin (see comment under the textarea), otherwise it's not possible to configure the module properly, because the possible placeholders aren't known.
Compare the comment of the textarea to the code (this is what should be shown including the part in the curly brackets):
<comment>Maximum 81 digits. Placeholders: {{order_increment_id}}</comment>
@janteuber Any update on this?
Apparently the Magento2 framework prevents the use of double curly braces in language snippets.
Changed the placeholders to single curly brackets everywhere now - so they can be displayed there.
Old configurations with double curly brackets still work though.
Robert also noticed during testing that the "Dynamic refund message" was not used for the refund as expected, but the "Dynamic invoice message". He has also fixed this here.
@torhoehn I I have just merged the PR: https://github.com/PAYONE-GmbH/magento-2/pull/457
In the Admin it isn't possible to see possible placeholders for input fields, e. g.:
Installed Payone module version: 3.3.0 Magento version: 2.4.2-p1 with applied patches for MDVA-43395 and MDVA-43443