GoCardless Logging

This commit is contained in:
David Bomba 2022-04-22 11:59:37 +10:00
parent 70c5f268ed
commit edbb42a114

View File

@ -234,11 +234,13 @@ class GoCardlessPaymentDriver extends BaseDriver
$this->init(); $this->init();
nlog("GoCardless Event");
nlog($request->all());
if(!is_array($request->events) || !is_object($request->events)){ if(!is_array($request->events) || !is_object($request->events)){
nlog("No GoCardless events to process in response?"); nlog("No GoCardless events to process in response?");
nlog($request);
return response()->json([], 200); return response()->json([], 200);
} }