No. Pagar en dólares... To pay in dollars. To pay cash... Pagar en efectivo.
Saying to pay in cash is not the same as saying to pay in dollars. One can pay in cash with pesos, dollars or euros depending on the country.
I think the more polite thing to say is puedo pagar en dolares. That's what I do