Hi @alesniak,
I hope you are keeping well.
I couldn’t replicate the issue using a test form at our end. Since the URL to page with a form that you noticed the issue was not mentioned, I couldn’t give a closer look at it.
Can you please export the form and share it using DropBox or Google Drive to check this issue?
Reff: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export
Kind Regards,
Nebu John
This is my redirection URL (this is redirection to Polish online payment system):
https://sklep.przelewy24.pl/zakup.php?z24_id_sprzedawcy=17676&z24_kwota=5000&z24_currency=pln&z24_nazwa=nowy+cz%B3onek&z24_return_url=https%3A%2F%2Fptgo.pl&z24_language=pl&k24_kraj=PL&z24_crc=d47e4cd8&
Try to redirect from Forminator to this url and see what url has been loaded.
Note the z24_name parameter (there is a Polish letter “ł”) and the z24_return_url parameter (this won’t work at all without %-encoded characters). When redirected to this url, %-encoded characters are completely removed.
Hello @alesniak !
I confirm that this is happening – I’ve sent a bug report to the Forminator team already.
I’ve also looked for a possible workaround – can you test if it will work with the URL not encoded, ie:
https://sklep.przelewy24.pl/zakup.php?z24_id_sprzedawcy=17676&z24_kwota=5000&z24_currency=pln&z24_nazwa=nowy+czlonek&z24_return_url=https://ptgo.pl&z24_language=pl&k24_kraj=PL&z24_crc=d47e4cd8&
Unfortunately I haven’t found a solution yet for the letter ł, which is replaced by some other letter due to how przelewy24 handle encodings. So possibly for now it could work with l instead?
Best regards,
Pawel
Hello again @alesniak !
Got some good news – our SLS team have prepared a quick fix for this issue 🙂
Here’s the snippet: https://gist.github.com/wpmudev-sls/3e51498af6dbe48788b7923667e84cf3
To install it, please copy the code to a .php file and upload the file to wp-content/mu-plugins directory. The file name can be anything, as long as the extension is .php. If the directory doesn’t exist, please create it.
No customisation required, after installing it, please resave the affected forms with the links containing % and test.
Best regards,
Pawel
Hello @alesniak ,
We haven’t heard from you for several days now, so it looks like you don’t need our assistance anymore.
Feel free to re-open this ticket if needed.
Kind regards
Kasia