This way you can decide whether or not you want to pay cash on arrival and receive the 5% discount.
To avoid credit card security problems you should contact your credit card(s) issuer and tell them the dates that you will be traveling to Costa Rica.
Rental car companies will not accept debit cards for payment.