From d980923d244bab21a50f6c44e4fa397abbd28881 Mon Sep 17 00:00:00 2001 From: nafezly Date: Tue, 8 Aug 2023 18:42:18 +0300 Subject: [PATCH] updates --- src/Classes/TelrPayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/TelrPayment.php b/src/Classes/TelrPayment.php index b6b2eaa..ec60acd 100644 --- a/src/Classes/TelrPayment.php +++ b/src/Classes/TelrPayment.php @@ -60,7 +60,7 @@ public function pay($amount = null, $user_id = null, $user_first_name = null, $u 'return_decl'=> route($this->verify_route_name,['payment'=>"telr"]), 'return_can'=> route($this->verify_route_name,['payment'=>"telr"]) ]; - $response = Http::post('https://secure.telr.com/gateway/order.json', $data)->json(); + $response = Http::asForm()->post('https://secure.telr.com/gateway/order.json', $data)->json(); if(isset($response['url']))