Error message “The amount in PayPal must be greater than 0”
-
To whom it may concern,
I would be very grateful if you could help me with this problem.
I currently have installed the version 1.34.1 of “Forminator”.
In this version and earlier the plugin launches a somewhat confusing error message for the user in case you leave unfilled some mandatory field (such as the name or the email) and press the payment button of “paypal in forms payment”.The message that appears is “The amount in PayPal must be greater than 0”, regardless of whether or not a product whose amount to be paid is greater than 0 is selected.
In order to replace this message “the amount in PayPal must be greater than zero” confusing for the user with this more clarifying one “Please correct the errors before sending”, you proposed this solution in the WordPress forum:
The proposed solution to this problem was to add the code that I indicate below as mu-plugin.(I also added the second conditional “if” (copying and pasting) the one provided by you so that it also works for the spanish language since my website has it in two languages (english and spanish).
mu-plugin does not work on versions prior to 1.34.1
This piece of code worked perfectly for versions prior to 1.34.1, but when I installed this version (the 1.34.1) this mu-plugin stopped working, so I had to replace it with a completely different code (someone did it for me since I have no programming knowledge). The code as mu-plugin in the version I currently have installed (1.34.1) is this:
mu-plugin woks on version 1.34.1
My doubts are whether in the new version that they have just released (the 1.35.0) is already solved this problem or if not, if you could please provide me with some code like mu-plugin so i could add it as a solution and that it works for any version that you re-launched, as I would like to continue using this wonderful plugin.
Therefore, I would like to make sure that the problem will not occur again after upgrading to the new version 1.35.0. or any other future version (I have my website in production) , since as i tell you, I do not have so deep programming knowledge to be able to correct the problem every time I update forminator.Thank you so much.
All the best, Sonia.
- You must be logged in to reply to this topic.