Jump to content
M0t0

Problema cu modulul Mobilpay

Recommended Posts

Salutare,

Am instalat "Prestashop 1.7.6", am implementat modulul "Mobilpay 1.7.x" si configurat in modul de testare numit sandbox.
Plata se face cu succes pe site cat si in sandbox.mobilpay.ro dar in "istoricul comenzilor" la  "istoric comunicare comerciant" am 2 erori pe care le afisez mai jos:

Mesaj eroare: IDS_Model_Purchase_Sms_Online_INVALID_RESPONSE_STATUS

Cerere:
<?xml version="1.0" encoding="utf-8"?><order type="card" id="11#1563902711"
timestamp="20190723202511"><signature>P6BG-LBY8-AE5D-TT9L-DTXH</signature><invoice currency="RON"
amount="34.46"><details><![CDATA[ProdExcel+SRL]]></details><contact_info><billing
type="person"><first_name><![CDATA[Rafael+Laurentiu]]></first_name><last_name><![CDATA[Mincu]]></last_name><country><![CDATA[Romania]]></country><city><![CDATA[Bucuresti]]></city><zip_code><![CDATA[051961]]></zip_code><address><![CDATA[test+]]></address><email><![CDATA[rafa.rhv%40gmail.com]]></email></billing><shipping
type="person"><first_name><![CDATA[Rafael+Laurentiu]]></first_name><last_name><![CDATA[Mincu]]></last_name><country><![CDATA[Romania]]></country><city><![CDATA[Bucuresti]]></city><zip_code><![CDATA[051961]]></zip_code><address><![CDATA[test+]]></address><email><![CDATA[rafa.rhv%40gmail.com]]></email></shipping></contact_info></invoice><url><return>http://domeniulmeu.ro/index.php?controller=order-confirmation?key=93a8a27a8026f450017589b070192c53&amp;id_cart=11&amp;id_module=61</return><confirm>http://domeniulmeu.ro/modules/mobilpay_cc/validation.php?key=93a8a27a8026f450017589b070192c53&amp;id_cart=11&amp;id_currency=1&amp;id_module=61</confirm></url><mobilpay
timestamp="20190723202529" crc="7858d92a293f357e163fc78facfedf96"><action>confirmed</action><customer
type="person"><first_name><![CDATA[Rafael+Laurentiu]]></first_name><last_name><![CDATA[Mincu]]></last_name><country><![CDATA[Romania]]></country><city><![CDATA[Bucuresti]]></city><zip_code><![CDATA[051961]]></zip_code><address><![CDATA[test]]></address><email><![CDATA[rafa.rhv%40gmail.com]]></email><mobile_phone><![CDATA[1]]></mobile_phone></customer><purchase>915811</purchase><original_amount>34.46</original_amount><processed_amount>34.46</processed_amount><current_payment_count>1</current_payment_count><pan_masked>9****5098</pan_masked><rrn>9991563</rrn><payment_instrument_id>41684</payment_instrument_id><installments>1</installments><error
code="0"><![CDATA[Tranzactia aprobata]]></error></mobilpay></order>==========POST
/modules/mobilpay_cc/validation.php?key=93a8a27a8026f450017589b070192c53&id_cart=11&id_currency=1&id_module=61
HTTP/1.1Host: domeniulmeu.roConnection: closeUser-Agent: Zend_Http_ClientAccept-encoding: Content-Type:
application/x-www-form-urlencodedContent-Length:
3128env_key=gFqwTFB8tcaw%2B%2Fs8QiBd3Ke2Ez84XLZz9rEGXOif8I8M9hCMrEBwhLnrtScTik%2BW7P3fqRZ%2FOuTw%2B3FJ4zGoheUhCQ7vjtw3qBV%2BM6G5f08pUvSPtiQEzDXHKbhogl3ApGt7v32nS%2Btvu7vaqk8f6R2f1dXVg19t0RJhPLO5WNM%3D&data=frhW0Lauh1yXYQvhOC79ji5b2mnSE8xscUzIt0037YvX88LSP1YD6pEXtHyOUp2%2BC6nWME%2FdMVWWwxt4TSSvcB12Fp3o8Adgv2Hvo7lrzy0Fl2Xm6%2FkkGI9LbTCFek94HNR1L5htguf2MJz%2FmLDNTM3hMSMiVrHkFwksdMy1Rmif%2Fj0r8pJuA8A3Oq6l4ZSYAtc8F2UTDy%2FyR2UekTZO90EWMlciyijBCwgrhUGK4mWlxvaLAqfXxKcxfFYbZctHOXtAL%2BaRM1uYJ0OGVHU9KoQ2lCGvioruYVFMhQOPxki8CMVe3dSc72lZ%2BVEzTQ2r3UWGklpreUTP2o1U5AGcXUbqyu%2FjnS6F0ximjIqp34Uio8uisIXBv12DM%2FtdWdphVVQc6B882PaxhGGgnLakDafJiVraYQy87t8Kt85YuBxobgscWPKl5dC%2FroVca6PDtyQ4dOV5CWDnXRHJTfTvt71BkMexsyrDaj1GjjBiiSBNoojVEWKqGP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FmrIodPEm5aE%2BqS3S2g98V68AtCXGX4HpG7eeI1cISDqOayrNrTheWeTzKBWGkiJfvZBj%2BLHTlU2c624gnw7Lh1H%2Brmwzm7epznfyLMkZYDjgSmxE6v5mosy9Wt6i71I5r5nz%2BNbbHoOMwL77ssEp0ZdfhpZEdSuE7YqNCffwvX7lrduRFrpXN47SYhohAfJCGp9FY2bLojvKMcs39w8mrcQaBL6U%2FYAlBHAA5jXCgH1HHNrcE%2F

Raspuns primit: gol
Mesaj eroare: IDS_Model_Purchase_Sms_Online_INVALID_RESPONSE_STATUS

Cerere:
redirects:0POST
/modules/mobilpay_cc/validation.php?key=93a8a27a8026f450017589b070192c53&id_cart=11&id_currency=1&id_module=61
HTTP/1.1Host: domeniulmeu.roConnection: closeAccept-encoding: gzip, deflateUser-Agent:
Zend_Http_ClientContent-Type: application/x-www-form-urlencodedContent-Length:
3128env_key=gFqwTFB8tcaw%2B%2Fs8QiBd3Ke2Ez84XLZz9rEGXOif8I8M9hCMrEBwhLnrtScTik%2BW7P3fqRZ%2FOuTw%2B3FJ4zGoheUhCQ7vjtw3qBV%2BM6G5f08pUvSPtiQEzDXHKbhogl3ApGt7v32nS%2Btvu7vaqk8f6R2f1dXVg19t0RJhPLO5WNM%3D&data=frhW0Lauh1yXYQvhOC79ji5b2mnSE8xscUzIt0037YvX88LSP1YD6pEXtHyOUp2%2BC6nWME%2FdMVWWwxt4TSSvcB12Fp3o8Adgv2Hvo7lrzy0Fl2Xm6%2FkkGI9LbTCFek94HNR1L5htguf2MJz%2FmLDNTM3hMSMiVrHkFwksdMy1Rmif%2Fj0r8pJuA8A3Oq6l4ZSYAtc8F2UTDy%2FyR2UekTZO90EWMlciyijBCwgrhUGK4mWlxvaLAqfXxKcxfFYbZctHOXtAL%2BaRM1uYJ0OGVHU9KoQ2lCGvioruYVFMhQOPxki8CMVe3dSc72lZ%2BVEzTQ2r3UWGklpreUTP2o1U5AGcXUbqyu%2FjnS6F0ximjIqp34Uio8uisIXBv12D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4170GyvDgstn4O5WZKiKf7%2Bc4PAA14gHyWr4dVjWDHOoQv0HifeaFf%2B831U1ffJoF7hBGXcL%2FUvEDyw6cyz3GQX7kl1OHPi6aiC59eejenPgNBF4ia6Mk%2FmrIodPEm5aE%2BqS3S2g98V68AtCXGX4HpG7eeI1cISDqOayrNrTheWeTzKBWGkiJfvZBj%2BLHTlU2c624gnw7Lh1H%2Brmwzm7epznfyLMkZYDjgSmxE6v5mosy9Wt6i71I5r5nz%2BNbbHoOMwL77ssEp0ZdfhpZEdSuE7YqNCffwvX7lrduRFrpXN47SYhohAfJCGp9FY2bLojvKMcs39w8mrcQaBL6U%2FYAlBHAA5jXCgH1HHNrcE%2F

Raspuns primit
HTTP/1.0 500 Internal Server ErrorDate: Tue, 23 Jul 2019 17:25:31 GMTServer: Apache/2.4.29
(Ubuntu)Content-length: 0Connection: closeContent-type: text/html; charset=utf-8

 

Iar in /var/log/apache2/error.log:

[Tue Jul 23 16:52:29.897827 2019] [php7:error] [pid 1005] [client 217.156.103.69:5863] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/classes/Tools.php:801\nStack trace:\n#0 /var/www/html/classes/Tools.php(773): ToolsCore::getContextLocale(Object(Context))\n#1 /var/www/html/classes/PaymentModule.php(421): ToolsCore::displayPrice(34.8, Object(Currency), false)\n#2 /var/www/html/modules/mobilpay_cc/mobilpay_cc.php(380): PaymentModuleCore->validateOrder('9#1563900726', 2, 34.8, 'Mobilpay - cred...', '<br />Atentie: ...', Array, NULL, true, false, NULL)\n#3 /var/www/html/modules/mobilpay_cc/validation.php(108): Mobilpay_cc->validateOrder('9#1563900726', 2, 34.8, 'Mobilpay - cred...')\n#4 {main}\n  thrown in /var/www/html/classes/Tools.php on line 801
[Tue Jul 23 16:52:30.252388 2019] [php7:notice] [pid 1006] [client 86.121.7.89:38768] PHP Notice:  Undefined index: shop_name in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 25, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:52:30.252443 2019] [php7:notice] [pid 1006] [client 86.121.7.89:38768] PHP Notice:  Trying to get property 'value' of non-object in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 25, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:52:30.252509 2019] [php7:notice] [pid 1006] [client 86.121.7.89:38768] PHP Notice:  Undefined index: base_dir_ssl in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 34, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:52:30.252517 2019] [php7:notice] [pid 1006] [client 86.121.7.89:38768] PHP Notice:  Trying to get property 'value' of non-object in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 34, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:52:31.234593 2019] [php7:error] [pid 982] [client 217.156.103.69:5864] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/classes/Tools.php:801\nStack trace:\n#0 /var/www/html/classes/Tools.php(773): ToolsCore::getContextLocale(Object(Context))\n#1 /var/www/html/classes/order/OrderHistory.php(513): ToolsCore::displayPrice(34.8, Object(Currency), false)\n#2 /var/www/html/classes/order/OrderHistory.php(468): OrderHistoryCore->sendEmail(Object(Order), Array)\n#3 /var/www/html/modules/mobilpay_cc/validation.php(104): OrderHistoryCore->addWithemail(true, Array)\n#4 {main}\n  thrown in /var/www/html/classes/Tools.php on line 801
[Tue Jul 23 16:56:31.420547 2019] [php7:error] [pid 984] [client 217.156.103.69:5930] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/classes/Tools.php:801\nStack trace:\n#0 /var/www/html/classes/Tools.php(773): ToolsCore::getContextLocale(Object(Context))\n#1 /var/www/html/classes/PaymentModule.php(421): ToolsCore::displayPrice(34.46, Object(Currency), false)\n#2 /var/www/html/modules/mobilpay_cc/mobilpay_cc.php(380): PaymentModuleCore->validateOrder('10#1563900976', 2, 34.46, 'Mobilpay - cred...', '<br />Atentie: ...', Array, NULL, true, false, NULL)\n#3 /var/www/html/modules/mobilpay_cc/validation.php(108): Mobilpay_cc->validateOrder('10#1563900976', 2, 34.46, 'Mobilpay - cred...')\n#4 {main}\n  thrown in /var/www/html/classes/Tools.php on line 801
[Tue Jul 23 16:56:32.126836 2019] [php7:notice] [pid 1056] [client 86.121.7.89:57767] PHP Notice:  Undefined index: shop_name in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 25, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:56:32.126897 2019] [php7:notice] [pid 1056] [client 86.121.7.89:57767] PHP Notice:  Trying to get property 'value' of non-object in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 25, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:56:32.126952 2019] [php7:notice] [pid 1056] [client 86.121.7.89:57767] PHP Notice:  Undefined index: base_dir_ssl in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 34, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:56:32.126961 2019] [php7:notice] [pid 1056] [client 86.121.7.89:57767] PHP Notice:  Trying to get property 'value' of non-object in /var/www/html/var/cache/prod/smarty/compile/5f/d5/f9/5fd5f9365d262dcf0faffab1138e1f3d63bde71b_2.file.confirmation.tpl.php on line 34, referer: http://sandboxsecure.mobilpay.ro/
[Tue Jul 23 16:56:34.215095 2019] [php7:error] [pid 982] [client 217.156.103.69:5931] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /var/www/html/classes/Tools.php:801\nStack trace:\n#0 /var/www/html/classes/Tools.php(773): ToolsCore::getContextLocale(Object(Context))\n#1 /var/www/html/classes/order/OrderHistory.php(513): ToolsCore::displayPrice(34.46, Object(Currency), false)\n#2 /var/www/html/classes/order/OrderHistory.php(468): OrderHistoryCore->sendEmail(Object(Order), Array)\n#3 /var/www/html/modules/mobilpay_cc/validation.php(104): OrderHistoryCore->addWithemail(true, Array)\n#4 {main}\n  thrown in /var/www/html/classes/Tools.php on line 801

La fiecare comanda plasata prin modulul mobilpay apar cele mentionate mai sus.

Trebuie sa primesc "HTTP 200" si mai sus se arata 500. Cum pot rezolva aceasta eroare ?

Multumesc!

Share this post


Link to post
Share on other sites

Salut,

Da, cei de la prestashop au facut un upgrade iar modulul mobilpay n-a mai fost actualizat.
In prezent modulul mobilpay 1.7.x, nu este compatibil cu versiunea Prestashop 1.7.6 si desi are acel "x" in documentatia de la mobilpay dar si in arhiva lor, nu este compatibil, deoarece nu se asteptau ca la urmatoarele versiuni prestashop 1.7."+" sa intampine probleme).
Dupa zile si nopti pierdute cu aceasta situatie, schimband mailuri cu cei de la suport mobilpay si primind mereu raspuns ca la mine e problema, aducand si argumente "ca au mii de utilizatori care folosesc prestashop cu modulul lor" am inceput sa schimb versiuni de mysql, php, linux, chiar si serverul de host si reinstalat totul de la 0 de cateva ori dar problema persista. 
Dupa multi nervi si mult timp pierdut si ajutor benevol oferit din partea a 3 persoane de pe internet, necunoscute, s.a ajuns la concluzia ca problema este provenita de la mobilpay.
Le-am dat mailuri celor de mobilpay si le-am explicat ca problema persita detaliand tot ceea ce am facut pentru a o remedia. Mi-au raspuns ca ei nu ofera suport in aceste cazuri si sa apelez la cineva cu cunostinte pentru a configura si instala prestashop si modulul mobilpay. Dupa ceva timp, primesc raspuns ca intr-adevar, problema e de la ei si ca cei de la prestashop au facut modificari in core-ul lor. :) 

Solutia? Downgrade Prestashop sau se asteapta ca modulul mobilpay sa fie actualizat ori Prestashop sa faca o noua acutalizare in care sa remedieze aceasta problema.

Share this post


Link to post
Share on other sites

Salut,

Eu am rezolvat problema.

Am actualizat php + apache + mysql si am primit de la cineva doua fisiere modificate.

 

 

 

Share this post


Link to post
Share on other sites
On 8/21/2019 at 10:08 AM, daniel_caldarus said:

Salut,

Eu am rezolvat problema.

Am actualizat php + apache + mysql si am primit de la cineva doua fisiere modificate.

 

 

 

Salut. Ai putea sa ne dai si noua cele doua fisiere?

Share this post


Link to post
Share on other sites
20 minutes ago, daniel_caldarus said:

incercati cu debug mode + error log sa vedeti ce spune acolo. Ce versiuni de mysql si php aveti?

Da, conform error_log eroarea e PHP Fatal error:  Uncaught Exception: Kernel Container is not available in /home/.../presta/src/Adapter/ContainerFinder.php:77

Solutia a fost sa pun urmatorul cod in validation.php

$kernel = new \AppKernel('prod', false);
$kernel->boot();

$context = Context::getContext();
$context->container = $kernel->getContainer();

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More