public function isOrderValid(string $payId, Order $originalOrder): bool 	{ 		try { 			$order = $this->getOrderDetails($payId);  			if (!empty($order)) { 				$value = $this->convertToEur($originalOrder);  				if ($order['status'] == 'APPROVED' && $order['purchase_units'][0]['amount']['value'] == $value) { 					return $this->captureOrder($payId); 				}  				return $order['status'] == 'COMPLETED' && $order['purchase_units'][0]['amount']['value'] == $value; 			}  			return false; 		} catch (Throwable $e) { 			Log::info($e->getMessage());  			return false; 		} 	}