What happened when Polk sent a diplomat to try to buy New Mexico and California?

A: The US paid $30 million for the territory.

B: Mexico and the US could not agree on a fair price.

C: Mexico refused to discuss the matter.