Hello.
Some time ago, I have created a new plugin for a new method of payment.
In the last version of Prestashop (version 1.7.6.1) this plugin works very well. But not in Prestashop version 1.7.5.2.
To better explain.
This plugin check if the amount of the current payment in the cart is over the maximum amount of payment specificied in the plugin's config page. And if the amount in the cart is higher, the plugin redirect me to the failed order page in which a phrase alert me on this.
In this phrase, I have a dynamic string that should be replace with the formatted maximum amount of payment specificied in the plugin's config page.
The problem is that the dynamic string that should be replace with the formatted maximum amount of payment specificied in the plugin's config page is not replace as expected. This happens with the italian phrase but not with the phrase in english (in which the dynamic string is replaced instead).
Why I have this issue?
How can I resolve it?
Some useful information.
The two version of Prestashop (1.7.6.1 and 1.7.5.2) currently runs on the same server.
The server is a Linux 64bit.
In this server there are Apache 2 and PHP 7.3.
Prestashop 1.7.5.2 initially contained only the italian language (as the installation process). After, I have add a second language (english).
Thanks at all.