Skip to content

Commit

Permalink
chore: Composer was updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josemprog committed Nov 12, 2020
1 parent cdae7e9 commit fecaebd
Show file tree
Hide file tree
Showing 6 changed files with 1,088 additions and 704 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class CartService
*/
public function getCartFromUser()
{

return Auth::user()->cart()->first();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public function createRequest(Order $order, Request $request)
],
'expiration' => date('c', strtotime('1 hour')),
'returnUrl' => route('orders.show', $order->id),
'ipAddress' => '127.0.0.1',
'userAgent' => 'PlacetoPay Sandbox',
'ipAddress' => request()->ip(),
'userAgent' => request()->userAgent(),
]);

return $response->json();
Expand Down
Loading

0 comments on commit fecaebd

Please sign in to comment.