Passed
Push — master ( 6024d1...8c7cfd )
by Afzalur Rahman
03:48
created
src/Http/Controllers/SslCommerzPaymentController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,10 +247,12 @@
 block discarded – undo
247 247
     public function ipn(Request $request)
248 248
     {
249 249
         #Received all the payement information from the gateway
250
-        if ($request->input('tran_id')) #Check transation id is posted or not.
250
+        if ($request->input('tran_id')) {
251
+            #Check transation id is posted or not.
251 252
         {
252 253
 
253 254
             $tran_id = $request->input('tran_id');
255
+        }
254 256
 
255 257
             #Check order status in order tabel against the transaction id or order id.
256 258
             $order_details = DB::table('orders')
Please login to merge, or discard this patch.
src/Http/Controllers/PublishSslCommerzPaymentController.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,10 +246,12 @@
 block discarded – undo
246 246
     public function ipn(Request $request)
247 247
     {
248 248
         #Received all the payement information from the gateway
249
-        if ($request->input('tran_id')) #Check transation id is posted or not.
249
+        if ($request->input('tran_id')) {
250
+            #Check transation id is posted or not.
250 251
         {
251 252
 
252 253
             $tran_id = $request->input('tran_id');
254
+        }
253 255
 
254 256
             #Check order status in order tabel against the transaction id or order id.
255 257
             $order_details = DB::table('orders')
Please login to merge, or discard this patch.