Commit 2072962f by Yvon

6290 quick fix : use getter to access protected property

parent aa82db6b
...@@ -62,8 +62,8 @@ class TAVCotisationUtils ...@@ -62,8 +62,8 @@ class TAVCotisationUtils
$p->getStatus() !== GetHumanStatus::STATUS_FAILED $p->getStatus() !== GetHumanStatus::STATUS_FAILED
&& $p->getStatus() !== GetHumanStatus::STATUS_CANCELED && $p->getStatus() !== GetHumanStatus::STATUS_CANCELED
&& $p->getStatus() !== GetHumanStatus::STATUS_EXPIRED && $p->getStatus() !== GetHumanStatus::STATUS_EXPIRED
&& $p->details && $p->getDetails()
&& array_key_exists('vads_identifier',$p->details) //some payment without vads_identifier have status NEW but are not real recurring payments && array_key_exists('vads_identifier',$p->getDetails()) //some payment without vads_identifier have status NEW but are not real recurring payments
) { ) {
//Everytime payzen sends a recurring payment notification, notification is //Everytime payzen sends a recurring payment notification, notification is
//caught by notifyRecurringPaymentAction, which does not update payment status. //caught by notifyRecurringPaymentAction, which does not update payment status.
......
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