Jump to content

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%2FroVca6PDtyQ4dOV5CWDnXRHJTfTvt71BkMexsyrDaj1GjjBiiSBNoojVEWKqGPnUoHq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PEm5aE%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%2FjnS6F0ximjIqp34Uio8uisIXBv12DM%2Ft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Dgstn4O5WZKiKf7%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
  • 3 weeks later...

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
  • 2 weeks later...
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
  • 1 year later...

Salutare,

Am aceeasi problema doar ca folosesc Prestashop 1.7.7.0 iar modulul celor de la Mobilpay (NETOPIA) nu este actualizat.

Raspunsul primit a fost:

Quote

In urma testelor realizate de catre noi, la comunicarea dintre servere am primit mesajul de eroare IDS_Model_Purchase_Sms_Online_INVALID_RESPONSE_STATUS, aceasta eroare inseamna ca ati returnat alt status HTTP decat 200 . HTTP Status returnat de confirmURL-ul dumneavoastra trebuie sa fie 200 (Succes).

Am incercat variantele de mai sus dar nu au functionat pentru mine. Ma puteti ajuta?

A implementat cineva mobilpay in ultima varianta de Prestashop? (1.7.7.0)

 

 

 

 

 

Share this post


Link to post
Share on other sites
3 hours ago, daniel_caldarus said:

sa-mi dati, va rog, o adresa de e-mail, va voi trimite modulul meu. Nu stiu exact versiunea se presta, dar e 1.7

boldir.victor@gmail.com

Astept cu nerabdare sa-l testez. Multumesc frumos!

Share this post


Link to post
Share on other sites

Am primit doar ca arhiva este corupta.

Multumesc mult pentru ajutor.

Cred ca o sa pun un proiect pe freelancer.com pana la urma.  

M-am ambitionat pentru ca am reusit sa fac totul pana acum. (Instalare platforma, tema, traduceri, import de produse) 

 

Cu stima,

Boldir Victor Catalin

smartdeco.ro

 

Share this post


Link to post
Share on other sites

Buna la toti,

 

Se pare ca si eu am probleme cu acest modul MobilPay. Am facut upgrade la Prestashop la 1.7.7.1 si dupa ce se plateste prin mobilPay nu se mai confirma platile, fapt pentru care nu se mai emit facturi (facturile sunt cu 0) si daca actualizez manual factura nu se stie ce a cumparat. In schimb are suma total. Pana acum totul a decurs ok dar dupa upgrade esec total.

Cineva cu vreo solutie. Poate contra cost.

 

Stima.

Iulian

 

Share this post


Link to post
Share on other sites

da, trebuie evitat de facut pe live, tocmai din motivele astea. Ar trebui totusi, sa faci un debugging, sa vezi ce erori primesti de la modul si in functie de ele sa procedezi mai departe.

Share this post


Link to post
Share on other sites

Pai a stiut careva ca nu merge, ca am vazut update la ei. Si nici debugging nu arata nimic. Benzineste, scanteieste dar nu porneste. Pur si simplu informatia care se intoarce nu se duce unde trebuie sau ceva de genul ca nu imi dau seama. Daca in debugging nu vad nimic.

 

Share this post


Link to post
Share on other sites

nik. ca sa vezi cum arata o plata facuta....nu se vede ce s-a achizitionat. in rest siteul merge ok. pot fac comenzi cu plata prin banca sau altfel. doar comenzile platite cu netopia. dupa ce se proceseaza comanda pe netopia se intimpla ceva...sau nu se intimpla. Plata se incaseaza pe netopia dar si revine in contul utilizatorului dar nu se afiseaza ce a cumparat. In imagine am facut unprodus de 10 lei pe care il achizitionez eu dupac e mai incerc una alta. si nic frate.

Screen Shot 2021-01-18 at 9.16.29 PM.png

Share this post


Link to post
Share on other sites

Buna,

Eu folosesc versiunea 1.7.7. la mime cand se plaseaza o comanda si se plateste cu cardul nu imi apare ce sa comandat si nici macar nu primesc mail ca am primit o comanda noua, si am observat ca si la transport imi pune pretul minim. Daca cineva a reusit sa rezolve problema, astept raspuns.

 

Share this post


Link to post
Share on other sites
17 hours ago, veterinarul said:

nik. ca sa vezi cum arata o plata facuta....nu se vede ce s-a achizitionat. in rest siteul merge ok. pot fac comenzi cu plata prin banca sau altfel. doar comenzile platite cu netopia. dupa ce se proceseaza comanda pe netopia se intimpla ceva...sau nu se intimpla. Plata se incaseaza pe netopia dar si revine in contul utilizatorului dar nu se afiseaza ce a cumparat. In imagine am facut unprodus de 10 lei pe care il achizitionez eu dupac e mai incerc una alta. si nic frate.

Screen Shot 2021-01-18 at 9.16.29 PM.png

Mailul de confirmare este corect?

Share this post


Link to post
Share on other sites

Am gasit error_log in folderul modului cel putin pt. 1.7.7.1

PHP Fatal error:  Uncaught RuntimeException: Determining the active language requires a contextual employee instance. in /home/grillm38/public_html/src/PrestaShopBundle/Entity/Repository/StockManagementRepository.php:130

Stack trace:
src/PrestaShopBundle/Entity/Repository/StockMovementRepository.php(58): PrestaShopBundle\Entity\Repository\StockManagementRepository->__construct(Object(ContainerKw7w2vf\appProdProjectContainer), Object(Doctrine\DBAL\Connection), Object(Doctrine\ORM\EntityManager), Object(PrestaShop\PrestaShop\Adapter\LegacyContext), Object(PrestaShop\PrestaShop\Adapter\ImageManager), 'ps_')
#1 var/cache/prod/ContainerKw7w2vf/getPrestashop_Core_Api_StockMovement_RepositoryService.php(8): PrestaShopBundle\Entity\Repository\StockMovementRepository->__construct(Object(ContainerKw7w2vf\appProdProjectContainer), Object(Doctrine\DBAL\Connection), Object(Doctrine\ORM\EntityManager), Object(PrestaShop\PrestaShop\Adapter\LegacyContext), Object(PrestaShop\PrestaShop\A in src/PrestaShopBundle/Entity/Repository/StockManagementRepository.php on line 130 

iar in modul debug in loc de thank you page apare notificare

/index.php?controller=order-confirmation?key=839cbe44135f574be3b8e6951f95e5f6&id_cart=32474&id_module=377&orderId=32474%231611103828

[Debug] This page has moved
Please use the following URL instead:

/confirmare-comanda?id_cart=32474&id_module=377&orderId=32474%231611103828&key=839cbe44135f574be3b8e6951f95e5f6

Edited by Grill Market (see edit history)

Share this post


Link to post
Share on other sites
17 hours ago, daniel_caldarus said:

Mailul de confirmare este corect?

Nu. Pai nu da numar la facturi. Presta inregistreaza ca s-a facut o plata si returneaza "Plata efectuata prin card" dar atat. Nu da numar la factura si comanda ramane in cos, ca si cum nu s-a efectuat nici o operatiune pentru acel cos. In spate se genereaza o comanda si o poti vedea dar nu vezi ce a fost comandat ci doar suma totala platita prin mobil pay. Daca la acea comanda generezi factura ii da numar  dar tot nimic la porduse. Nu returneaza nimic in debugging, nimic in error log... ceea ce mi se pare interesant. Am scris la Netopia si asteptam...au zis ca verifica.

Share this post


Link to post
Share on other sites
9 hours ago, Boldir Victor said:

Nici la mine nu se vad produsele comandate. (nici pe factura nu apar si nici in detaliile comenzii)

Ai aceeasi problema? ai actualizat si tu presta?

Share this post


Link to post
Share on other sites

Salutare,

Modulul de mobilpay inca nu e compatibil cu Prestashop 1.7.7. Cu niste modificari de cod (doar in modul) se poate compatibiliza. Puteti astepta sa faca ei update, sau imi puteti scrie un mesaj in privat si pot rezolva contra-cost in timp util.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Geo Burlibasa said:

Salutare,

Modulul de mobilpay inca nu e compatibil cu Prestashop 1.7.7. Cu niste modificari de cod (doar in modul) se poate compatibiliza. Puteti astepta sa faca ei update, sau imi puteti scrie un mesaj in privat si pot rezolva contra-cost in timp util.

Recomand. Extrem de operativ si confirm FIX-ul.

  • Like 1

Share this post


Link to post
Share on other sites
On 1/21/2021 at 5:05 PM, Geo Burlibasa said:

Salutare,

Modulul de mobilpay inca nu e compatibil cu Prestashop 1.7.7. Cu niste modificari de cod (doar in modul) se poate compatibiliza. Puteti astepta sa faca ei update, sau imi puteti scrie un mesaj in privat si pot rezolva contra-cost in timp util.

Recomand cu incredere. Extrem de rapid si totul merge perfect.

  • Like 1

Share this post


Link to post
Share on other sites
On 1/21/2021 at 5:05 PM, Geo Burlibasa said:

Salutare,

Modulul de mobilpay inca nu e compatibil cu Prestashop 1.7.7. Cu niste modificari de cod (doar in modul) se poate compatibiliza. Puteti astepta sa faca ei update, sau imi puteti scrie un mesaj in privat si pot rezolva contra-cost in timp util.

Super...buna treaba. Recomandam cu incredere.

Share this post


Link to post
Share on other sites
  • 3 weeks later...
On 2/19/2021 at 3:47 PM, markoo said:

Buna, sa lansat versiune officiala de neutopia compatibila cu 1.7.7 dar nu reusesc nicicum sa il instalez? Voi ati reusit?

Am reusit sa il instalez. Nu este update, este modul nou. Este plin de erori momentan. Creaza new order cu stadiul out of stock indiferent daca plata a fost finalizata sau nu.

Trimis tichet. Pina se rezolva il folosim pe cel vechi.

Edited by muzica9 (see edit history)

Share this post


Link to post
Share on other sites
  • 3 months later...

prestashop 1.7.7 

verisunea 1.0 a modului luat din siteul netopia.

Modulul functioneaza corect DAR , mie cel putin imi face urmatoarea problema.

1. faci comanda

2. comanda finalizata cu succes (pretashop)

3. primesti mail din prestashop ca a avut loc "eroare la plata" (pretashop)

4. primesti email ca "plata acceptata"  (pretashop)

5. primesti mail d ela netopia ca transferul  a avut loc cu succes (netopia)

In comenzi vezi urmatoarele:

http://prntscr.com/13n96ki

Este un comportament ciudat. 

 

INTREBARE:

Voi ati setat in contul netopia si linkul de confirmare catre fisierul   validation.php  aflat in rootul modului? 

( Din contul de comerciant de acolo )

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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