Commit c463c934 by Yvon

add debug

parent de69d0fa
...@@ -228,6 +228,8 @@ class PaymentController extends AbstractController ...@@ -228,6 +228,8 @@ class PaymentController extends AbstractController
//We must indeed prevent a user from a browser reload e.g. //We must indeed prevent a user from a browser reload e.g.
if ($payment->getIsRecurrent()) { if ($payment->getIsRecurrent()) {
var_dump("This is recurring payment, yes !");
die;
//Because we take into account all incoming notifications for recurring payments, //Because we take into account all incoming notifications for recurring payments,
//neither successive recurring payment occurences nor initial recurring payment should be //neither successive recurring payment occurences nor initial recurring payment should be
//handled by this controler as it will lead to duplicates. //handled by this controler as it will lead to duplicates.
......
...@@ -59,6 +59,7 @@ class PaymentStatusExtension implements ExtensionInterface ...@@ -59,6 +59,7 @@ class PaymentStatusExtension implements ExtensionInterface
*/ */
public function onPostExecute(Context $context) public function onPostExecute(Context $context)
{ {
var_dump("onPostExecute called !!!!");
$request = $context->getRequest(); $request = $context->getRequest();
if (false == $request instanceof Generic) { if (false == $request instanceof Generic) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment