- Affected version
- 2.0.10
PHP:
case CallbackState::PAYMENT_RECEIVED:
$upgradeService->setPurchaseRequestKey($state->requestKey);
$activeUpgrade = $upgradeService->upgrade();
$state->logType = 'payment';
$state->logMessage = 'Payment received, upgraded/extended.';
break;
The result of $activeUpgrade is never checked w.r.t to generating the logMessage. Same applies for PAYMENT_REINSTATED