I'm currently changing the way that our iOS app handles transactions that have failed for whatever reason. We are using Milkman Games In-App Purchase extension, and previously we were running it in a sort of emulation mode that would provide receipts in the style prior to iOS 7. We now want to update this to handle it as it should from iOS 7 onwards.
I'm having difficulty working out how to parse this receipt, because as far as I know, it contains historical data from all purchases the user made in the app (which is great, as we're trying to solve some issues where purchases fail, but the customer is charged). However, I'm not sure how to parse it, and it would seem there is a lot of confusion about this on forums / stack overflow as well.
Firstly, does it need parsed before sent to GameSparks, i.e. decoded, and each receipt for each purchase passed to GameSparks, or will GameSparks handle all of this? I'm assuming the former.
Does anyone have any idea how to decode and parse this data in ActionScript?
Thanks,
Graeme.
Best Answer
C
Customer Support
said
almost 5 years ago
Just to note: this issue was resolved via tickets.
Thanks.
1 Comment
Customer Support
said
almost 5 years ago
Answer
Just to note: this issue was resolved via tickets.
Graeme Laws
Hi,
I'm currently changing the way that our iOS app handles transactions that have failed for whatever reason. We are using Milkman Games In-App Purchase extension, and previously we were running it in a sort of emulation mode that would provide receipts in the style prior to iOS 7. We now want to update this to handle it as it should from iOS 7 onwards.
I'm having difficulty working out how to parse this receipt, because as far as I know, it contains historical data from all purchases the user made in the app (which is great, as we're trying to solve some issues where purchases fail, but the customer is charged). However, I'm not sure how to parse it, and it would seem there is a lot of confusion about this on forums / stack overflow as well.
Firstly, does it need parsed before sent to GameSparks, i.e. decoded, and each receipt for each purchase passed to GameSparks, or will GameSparks handle all of this? I'm assuming the former.
Does anyone have any idea how to decode and parse this data in ActionScript?
Thanks,
Graeme.
Just to note: this issue was resolved via tickets.
Thanks.
Customer Support
Just to note: this issue was resolved via tickets.
Thanks.
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2486 topics