TrogloGeek / prestashop-tggatos-module

TggAtos Module for Prestashop (1.4 to 1.7), ATOS SIPS 6xx payment gateway
61 stars 34 forks source link

http 500 error with tggatos/autodispatch/userreturn.pub.php #86

Open titilab opened 5 years ago

titilab commented 5 years ago

Hi i m trying to install tgg_atos module with prestashop 1.7 and unfortunately i m encountering some problems. Everything seems to work well (paiement on bank server OK) but i ve got an error and order is not validated on my website .... The error 500 comes on modules/tggatos/autodispatch/userreturn.pub.php .... and in the same time i ve got an error on my /www/app/logs/exceptions.log .... ERROR v1.7.1.2 2018/10/06 - 09:26:03: No template found for processing_payment_response.tpl at line 68 in file classes/Smarty/TemplateFinder.php

if anybody could help i will be very thankful !!

TrogloGeek commented 5 years ago

Hi, I guess you are using the 4.x module branch as it is currently the default branch, please try with the 5.x module branch which has been partially rewritten for PrestaShop 1.7 but drops backward compatibility with older PrestaShop versions (costed me a lot of time to test every RC with many versions). Sorry I did not yet found time to make more clear which version to use depending on PrestaShop versions.

titilab commented 5 years ago

First thank you very very much for your reply. So i ve uninstalled 4.1.3RC erverything is ok. The module disapears of installed modules. Then i ve installed prestashop-tggatos-module-5.0.0-beta but the installation finishes with an error ... unknown module ("seems to not an 1.7 module). So i will install another time the 4.1.3 then il will put but FTP the 5.00 zip files then i will tell you. Thanks a lot.

TrogloGeek commented 5 years ago

Which installation method did you use? If you used ZIP upload method did you fix the ZIP by renaming the top level folder to "tggatos"?

titilab commented 5 years ago

with the method (unzip on 4.1.3) the installed module appears to be in v5.0.0-beta2 - par .... very well !

TrogloGeek commented 5 years ago

If you transfered files using FTP please make sure the bin folder has been transfered using binary transfer method. text/ascii mode would corrupt the SIPS binary files.

titilab commented 5 years ago

now the order page appears with 3 paiement methods but when the credit card paiement is selected the "order button" disapears ... so i ve seen an error 126 wich told me to put +x on directory bin files

titilab commented 5 years ago

hi so i ve tested the module and with 4.1.3 with 5.0.0 uploaded and put by ftp work well ! the order works fine and the paiement validation too !

TrogloGeek commented 5 years ago

Please make sure the silent response works as well by placing an order, validating your payment and then making sure the order is created without click the "back to shop" button on bank server payment validated page.

titilab commented 5 years ago

only one detail but not important on the order page just before validating the paiement "virement" or "chèque" needs to check paiements conditions ... but credit card paiement do not need to check payement conditions to be checked ...

titilab commented 5 years ago

i will test " the silent response works as well by placing an order, validating your payment and then making sure the order is created without click the "back to shop" button on bank server payment validated page." and i will tell you

TrogloGeek commented 5 years ago

The "checking payment conditions" should only be a matter of updating the hook templates to match the way your PrestaShop release work. I'll probably check it someday but not sure of when I'll have time to do so.

titilab commented 5 years ago

if you pay by 3DS eveything works well and you don't need to click on "return to store" for the order to be validated on back office ... and the order payement is ok on back office ... so everything works well ! thanks a lot for your module and for the time you spend on it !*

titilab commented 5 years ago

i ve tried to make your module work since 10 days ... and with your help in 1 hour everything works well !!!

titilab commented 5 years ago

thank you very much another time