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