Prevailing custom helps only when the intended currency is genuinely obvious to the parties.
Case 1: An ordinary local purchase with an unmistakable customary currency.
Case 2: A cross-border online contract in which dollars, rupees and other units are plausible.
Writing the currency explicitly is prudent, particularly in remote or international sales.