Hi @darshanhiranandani23849 , are you creating your own payment gateway that you’re debugging, or debugging errors with the existing payment gateways?
If you’re able to edit the code, I’ve found it highly useful to add use Illuminate\Support\Facades\Log
at the top of class files, and then start dumping the info you need into the system log wth Log::info()
. If you’re able to go a step further, changing the payment_logs.message
column from the default varchar(128)
to text
is also beneficial, as the 128 character limit almost always cuts off the relevant error messages before it gets to the useful part.