Commit c2e28bed by Yvon

this.recurrenceAmount() typos fix

parent 5b92d5fd
...@@ -227,11 +227,11 @@ class Payment extends BasePayment ...@@ -227,11 +227,11 @@ class Payment extends BasePayment
$now = new DateTime(); $now = new DateTime();
if ($paymentEndDate && $paymentEndDate < $paymentEndDateDueToExpiry) { if ($paymentEndDate && $paymentEndDate < $paymentEndDateDueToExpiry) {
//Compare now with payment end date //Compare now with payment end date
$reason = "Paiement récurrent en cours de " . $this.recurrenceAmount() . "€ jusqu'à dernière échéance le " . $paymentEndDate->format('d/m/Y') . "."; $reason = "Paiement récurrent en cours de " . $this->recurrenceAmount . "€ jusqu'à dernière échéance le " . $paymentEndDate->format('d/m/Y') . ".";
return $now >= $paymentEndDate; return $now >= $paymentEndDate;
} else { } else {
//Compare now with expiry date //Compare now with expiry date
$reason = "Paiement récurrent en cours de " . $this.recurrenceAmount() . "€ jusqu'à dernière échéance le " . $paymentEndDateDueToExpiry->format('d/m/Y') . " en raison de l'expiration du moyen de paiement."; $reason = "Paiement récurrent en cours de " . $this->recurrenceAmount . "€ jusqu'à dernière échéance le " . $paymentEndDateDueToExpiry->format('d/m/Y') . " en raison de l'expiration du moyen de paiement.";
return $now >= $paymentEndDateDueToExpiry; return $now >= $paymentEndDateDueToExpiry;
} }
} }
......
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