Update MercadoPagoExtension.php
Sorry, incorrect variable name laravelRequest,
This commit is contained in:
parent
924abc0b79
commit
2b8c40b852
|
@ -105,7 +105,7 @@ class MercadoPagoExtension extends AbstractExtension
|
||||||
return response()->json(['success' => true]);
|
return response()->json(['success' => true]);
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
$notificationId = $laravelRequest->input('data_id') || $laravelRequest->input('data.id') || "unknown";
|
$notificationId = $request->input('data_id') || $request->input('data.id') || "unknown";
|
||||||
if ($notificationId == 'unknown') {
|
if ($notificationId == 'unknown') {
|
||||||
return response()->json(['success' => false]);
|
return response()->json(['success' => false]);
|
||||||
} else if ($notificationId == '123456') {
|
} else if ($notificationId == '123456') {
|
||||||
|
|
Loading…
Reference in a new issue