Smart2Pay / PrestaShop

Smart2Pay PrestaShop Plugin
1 stars 0 forks source link

Email-uri multiple primite cand NotificationURL e gresit #2

Open gabispanu opened 9 years ago

gabispanu commented 9 years ago

Preconditii : -> Notification URL e gresit pt Site ID 30159 -> testele s-au facut pt PrestaSHop v 1.5.6.2

Actiuni :

  1. Am facut o tranzactie cu succes pt metoda sofort

Rezultat : -> deoarece Notifcation URL este gresit, serviciul HPP de notificari va reincerca sa notifice merchantul si astfel se trimite customerului confirmare pe mail de fiecare data cand este notificat merchantul.

Rezultat asteptat :
Ar trebui cumva sa se tina minte daca s-a trimis mail de confirmare/ succes a platii si sa nu se mai trimite si a doua oara

Loguri :

2015-05-18 09:48:46,184 [92] INFO S2P.HPP.DomainModel.BusinessLogic.NotificationController Token: Notification for PaymentID = 1646908 NotificationType=Payment&MethodID=9&PaymentID=1646908&MerchantTransactionID=57&StatusID=2&Amount=215867&Currency=EUR&SiteID=30159&IBAN=NL10SFRT0023456789&BIC=SFRTNL20XXX&Hash=4b5d9d3195ba490229f70692e62e8fa5b308413ca2bc9f136bb74263abb3bfda

2015-05-18 09:48:46,184 [92] INFO S2P.HPP.DomainModel.BusinessLogic.Utils URL to POST to: http://iasi.smart2pay.com:7020/prestashop1562/index.php?fc=module&module=smart2pay&controller=replyHandler&id_lang=1

2015-05-18 09:48:46,309 [85] INFO S2P.HPP.Notification.WinService.CustomRefundNotificationDetailsController Execute...

2015-05-18 09:48:49,513 [92] INFO S2P.HPP.DomainModel.BusinessLogic.NotificationController Token: HttpStatusCode: 200 OK Notification response for PaymentID = 1646908, PaymentStateDefID = 2 (Success)
Warning: Parameter id_lang in function displayDate() is deprecated in /data/phpprojects/prestashop/1_5_6_2/modules/smart2pay/smart2pay.php on line 566
in /data/phpprojects/prestashop/1_5_6_2/classes/Tools.php on line 2147
NotificationType=Payment&PaymentID=1646908&Hash=e96375642c30ee2658c50c18fc6380d72010e7061511eb8edf961d21ed53528f

2015-05-18 09:48:49,513 [92] WARN S2P.HPP.DomainModel.BusinessLogic.NotificationController Token: Incorrect notification response for PaymentID = 1646908

andys2p commented 9 years ago

ok ma apuc de el

andys2p commented 9 years ago

E facut, dar nu testat