Open adamkowalski-pl opened 5 years ago
Ta wersja pluginu była testowana z 3.0.2.0 podczas jego pisania więc powinna działać bez problemu.
Niestety nie działa z 3.0.2.0 nawet ta najnowsza wersja v3.3.2.
Nie działa również z v 3.0.3.0 - testowane w różnych środowiskach. Moduł po prostu nie działa.
It seems that there is a problem in Opencart Verze 3.0.2.0 :( Even on sendbox it replies with "{"status":"ERROR","message":"Something went wrong. You can not order by PayU."}"
EDIT: The problem is that even if you configure sandbox IDs and credentials, it returns this error and the payu server returns "HTTP 401: invalid_client - Can't find oauthClient with clientId". This is because the plugin is hardcoded for production and thus uses sandbox credentials for production environment. Hot-fix? Go to catalog/controller/extension/payment/payu.php line with OpenPayU_Configuration::setEnvironment(); and change it to OpenPayU_Configuration::setEnvironment('sandbox'). Now the plugin calls sandbox environment, but seems to have another problems (like inconsistency in currencies), but it is another story.
If I will have time, I try to create a patch.
It seems that there is a problem in Opencart Verze 3.0.2.0 :( Even on sendbox it replies with "{"status":"ERROR","message":"Something went wrong. You can not order by PayU."}"
EDIT: The problem is that even if you configure sandbox IDs and credentials, it returns this error and the payu server returns "HTTP 401: invalid_client - Can't find oauthClient with clientId". This is because the plugin is hardcoded for production and thus uses sandbox credentials for production environment. Hot-fix? Go to catalog/controller/extension/payment/payu.php line with OpenPayU_Configuration::setEnvironment(); and change it to OpenPayU_Configuration::setEnvironment('sandbox'). Now the plugin calls sandbox environment, but seems to have another problems (like inconsistency in currencies), but it is another story.
If I will have time, I try to create a patch. Please do when you make a patch. best regards
Czy ktoś korzysta z tego pluginu? U mnie nie działa. Wg. PayU nie łączy się z ich serwerami.