[pagseguro] fix undefined variable

This commit is contained in:
Gabriel Pedro 2016-12-08 08:35:27 -03:00 committed by GitHub
parent a3ac81cfbe
commit 52878a2326

View File

@ -73,8 +73,8 @@
$rawPayment = VerifyPagseguroIPN($notificationCode); $rawPayment = VerifyPagseguroIPN($notificationCode);
$payment = simplexml_load_string($rawPayment); $payment = simplexml_load_string($rawPayment);
$paymentStatus = (int) $paymentStatus; $paymentStatus = (int) $payment->status;
$paymentCode = sanitize($paymentCode); $paymentCode = sanitize($payment->code);
report($notificationCode, $rawPayment); report($notificationCode, $rawPayment);