File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -168,5 +168,4 @@ public function gatewayHandler($adapterConfig = [])
168168 {
169169 return Larapay::make ($ this ->gate_name , $ this , $ adapterConfig );
170170 }
171-
172171}
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ public function createTransaction(
6767 $ transactionData ['submitted ' ] = true ;
6868 $ transactionData ['bank_order_id ' ] = $ this ->generateBankOrderId ($ paymentGateway );
6969 $ transactionData ['payment_method ' ] = 'ONLINE ' ;
70- $ transactionData ['additional_data ' ] = json_encode ($ additionalData , JSON_UNESCAPED_UNICODE );
71- $ transactionData ['sharing ' ] = json_encode ($ sharing , JSON_UNESCAPED_UNICODE );
70+ $ transactionData ['additional_data ' ] = json_encode ($ additionalData , JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT );
71+ $ transactionData ['sharing ' ] = json_encode ($ sharing , JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT );
7272
7373 return $ this ->transactions ()->create ($ transactionData );
7474 }
You can’t perform that action at this time.
0 commit comments