public function isOrderValid(string $payId, float $amount): bool 	{ 		$order = $this->getOrderDetails($payId);  		return !empty($order) && $order['status'] == 'APPROVED' && $order['purchase_units'][0]['amount']['value'] == $amount; 	}