How to Implement Google Play Refund

If you purchase a game on Google Play, you can request a refund within a certain period.

The In-app Purchase extension includes a refund function.

But is it necessary to implement this function, or do users request the refund directly from the Google Store?