Last active
June 22, 2018 19:42
-
-
Save alexFaunt/8c3a73e4a50cf924b8f269e7df4e7af1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"notification_type": "RENEWAL", | |
"environment": "Sandbox", | |
"password": "APP_STORE_SECRET", | |
/* The latest receipt information, you should update it in your DB */ | |
"latest_receipt": "ewodnNpZ25...iMCI3d37Cn0=", | |
/* The decoded information form the latest receipt - an object not array in notifications */ | |
"latest_receipt_info": { | |
/* | |
The date in milliseconds at which the users subscription will now end. | |
In a normal renewal this will be 1 period after the value you currently have stored | |
*/ | |
"expires_date": "1531910444000", | |
/* The id we used to store this subscription */ | |
"original_transaction_id": "1229551030584", | |
/* | |
The plan the user has subscribed to. | |
We're patching this too because in an INTERACTIVE_RENEWAL this could change. | |
*/ | |
"product_id": "premium_monthly", | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment