tpay-com / tpay-php

MIT License
24 stars 27 forks source link

bank selection #14

Closed piotrm73 closed 5 years ago

piotrm73 commented 5 years ago

image

hi there is something wrong with bank selection display

piotrjozwiak commented 5 years ago

@piotrm73 please take a look at console if there are some JS errors.

piotrm73 commented 5 years ago

yep there was a problem with the path to styles http://localhost:8000/src/View/Styles/style.css, I copied it to another location and form looks ok.

one more question, how to change language? I was trying (new Lang())->setLang('pl') but there is no effect

thanks

piotrjozwiak commented 5 years ago

@piotrm73 you can change any frontend form language by adding (new Util())->setLanguage('pl'); before method getting the form body. Also if there are some problems with static files like style.css or JS, you can set any custom path to those files by running $Util->setPath('path/to/static/files'); where $Util is the instance of Util class.

piotrm73 commented 5 years ago

now it's working... I had to create directories View/Styles under path_to_static, now it's looks like this: path_to_static/View/Styles/style.css

thanks for your help