I'm currently trying to implement an in-app purchase (auto-renewal) into my app.
I would like to save the receipt of each user in my database, in order to have a historic. (as prescribed here: iOS & Firebase Auto-renewable Subscriptions)
My question now is, how do I have to save the receipt? Do I have to save it encoded or decoded?
I'm using Firebase to do that (Firestore)