PayU-EMEA / plugin_opencart_3

PayU Payment Gateway for OpenCart 3.x
GNU General Public License v3.0
4 stars 6 forks source link

Does it work in Opencart 3.02.0? #4

Open adamkowalski-pl opened 5 years ago

adamkowalski-pl commented 5 years ago

Czy ktoś korzysta z tego pluginu? U mnie nie działa. Wg. PayU nie łączy się z ich serwerami.

regdos commented 5 years ago

Ta wersja pluginu była testowana z 3.0.2.0 podczas jego pisania więc powinna działać bez problemu.

adamkowalski-pl commented 5 years ago

Niestety nie działa z 3.0.2.0 nawet ta najnowsza wersja v3.3.2.

adamkowalski-pl commented 5 years ago

Nie działa również z v 3.0.3.0 - testowane w różnych środowiskach. Moduł po prostu nie działa.

stegeron commented 4 years ago

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.

pipetko commented 4 years ago

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