Implementing localized pricing for your mobile app

TLDR; I recently implemented localized pricing for the mobile app, which was suprisingly tricky. So, sharing my experience of fighting with Apple and Google APIs to make it work, and sharing Google Sheets and scripts to calculate and upload the prices. Coming up with fair prices for various countries I used to have flat pricing for all the users. But it's kinda unfair to charge the same amount for…