Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polskie litery #3

Open
kris4net opened this issue Jun 20, 2017 · 4 comments
Open

polskie litery #3

kris4net opened this issue Jun 20, 2017 · 4 comments
Assignees

Comments

@kris4net
Copy link

kris4net commented Jun 20, 2017

Witam,
moduł 1.04, prestashop 1.7.1.2
problem najwyraźniej stanowią polskie literki gdy w adresie mam np "ń" po kliknięciu zapłać mamy białą stronę
błąd:

> StreetException in Customer.php line 187: Zareńska 34/56
> 
>     in Customer.php line 187
>     at Customer->setStreet('Zareńska 34/56') in dotpay.php line 80
>     at DotpayController->initializeOrderData() in preparing.php line 47
>     at dotpayPreparingModuleFrontController->initContent() in Controller.php line 205
>     at ControllerCore->run() in Dispatcher.php line 369
>     at DispatcherCore->dispatch() in index.php line 28

@tbajorek
Copy link
Contributor

Witam,
proszę spróbować instalacji najnowszej wersji wtyczki do PS 1.7
https://github.com/dotpay/PrestaShop-1.7.x/releases/tag/v1.0.4

@ja-tomasz
Copy link

ja-tomasz commented Jul 24, 2017

na 1.0.4 to samo:

[Mon Jul 24 21:23:58 2017] [error] [client 11.0.0.1] PHP Fatal error: Uncaught exception 'Dotpay\Exception\BadParameter\StreetException' with message 'Legion\xc3\xb3w 107H/6' in D:\Zasoby\Pracownicy\common\Projekty\MijoLine\modules\dotpay\sdk\Dotpay\Model\Customer.php:187

Edit: pomaga dodanie na końcu wyrażenia regularnego "/u", żeby akceptował unicode, ale nie jestem pewny, czy za dużo znaków wtedy nie przepuści...

@tbajorek
Copy link
Contributor

Wprowadziłem zmiany w walidatorze. Proszę sprawdzić teraz:
https://github.com/dotpay/PrestaShop-1.7.x/releases/tag/v1.0.4

@tbajorek tbajorek self-assigned this Jul 31, 2017
@kris4net
Copy link
Author

polskie literki działają można zamknąć

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants