Indonesians are increasingly embracing the digital currency known as bitcoin as a payment solution for online transactions and to send and receive money, despite some known flaws.

The cryptocurrency’s price fluctuate dramatically, for instance, and fears about cyberattack on the software that manage bitcoin holdings have led to questions about whether it’s a safe way to store money.

But...