From f5c32267bf0bf1f98cc067c724575079f3268868 Mon Sep 17 00:00:00 2001 From: fatsifont2 Date: Fri, 11 Mar 2016 14:01:43 +0100 Subject: [PATCH] restfull callback to allow notification resend in case order is not yet created --- .../modules/payment/pagamastarde/callback.php | 2 ++ releases/pagamastarde-zencart-1.3.zip | Bin 0 -> 13114 bytes 2 files changed, 2 insertions(+) create mode 100644 releases/pagamastarde-zencart-1.3.zip diff --git a/1.5.x/ext/modules/payment/pagamastarde/callback.php b/1.5.x/ext/modules/payment/pagamastarde/callback.php index 258120f..4e04af9 100644 --- a/1.5.x/ext/modules/payment/pagamastarde/callback.php +++ b/1.5.x/ext/modules/payment/pagamastarde/callback.php @@ -134,6 +134,8 @@ + }else{ + throw new Exception('Order not found'); } } diff --git a/releases/pagamastarde-zencart-1.3.zip b/releases/pagamastarde-zencart-1.3.zip new file mode 100644 index 0000000000000000000000000000000000000000..0ad6013aa1210e6640684c67eb53ea304cd08b01 GIT binary patch literal 13114 zcmbW7Wpo_Zwyj&tlEuu-%q&^V%*?WwnaM(nnVFd^28+>RS**E*lplczm#nAl9!q=}k>4sFh zJL89(?!rcC9*FMEx&qcro3tE$n-df8m&Ej=Vc`KUo)AE59+XSh@qTCV9Xw;iFYxAj z#hX+J@fbeSi(2nl+-m!d5W0-?1kfYjCl!C-ms7m79O|r|uZ@vmwd&~X78`O-pz)jS z0M#v~?;q`WAsfr;9P2$^99^I!CEhAIeVg*(!RHC}oy5s!b?LJ*pEvLhk|dwWzaC!n zcD?vE{NMz?ZVN99Kd}c`czQeVRD;)?Tz5#Cq_hri@!nqJnT`AC5ouQg(-#99RiC6&fYa7H@eW*{aYgwR z=%5_K?szngrD_klr{qc_*k&ULzr&^vmzOhX1Ecv=VSr-FDNz;HC98z>OgJu{^+_e| zfo0Sw13=Kqy>rVJ>NU~Ma?8fM6**}JAFI5UZs@tO|A8Kw-+yH$th>TpPzcyfdzt_i zsf_}gSU-99wL?F5ocl0!jLWcnfqdQPTLATUR}Zc|njA)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