Commit Graph

26 Commits

Author SHA1 Message Date
sanjid133
51a2c89640 Add renewal field 2020-02-11 20:25:08 +06:00
sanjid133
36d117cd16 Verfiy latest receipt 2020-02-11 20:25:08 +06:00
sanjid133
e28611afcb Add missing is_upgrade field 2020-02-11 20:25:08 +06:00
Mark Hemmings
627fa5e7d1 appstore: Set IsUpgraded as omitempty 2019-12-27 15:07:54 +00:00
Matija Lesar
7d624ad068 Updated order of properties 2019-11-25 11:26:42 +01:00
Matija Lesar
31a625b71e CR changes 2019-11-25 11:25:31 +01:00
Junpei Tsuji
e895c80eb0 Added grace period fields 2019-09-17 13:23:05 +09:00
WhiteRaven777
29290dc24e Add pending_renewal_info.original_transaction_id
- Since `original_transaction_id` included in `pending_renewal_info` is not defined, it was added.
2018-11-22 13:50:56 +09:00
Minhaz Syrus
b0d36e4962 Add is_in_intro_offer_period in InApp 2018-10-28 16:45:35 +06:00
Junpei Tsuji
90290e9d74 Added cancellation date fields 2018-03-30 10:41:53 +09:00
Junpei Tsuji
ac1a97ceb4 Added iOS6 style receipt 2018-03-29 17:05:57 +09:00
Junpei Tsuji
d8d590ec03 Merge pull request #53 from mizzy/omitempty-some-keys
Add "omitempty" to some keys which need not to be returned
2018-03-29 17:05:04 +09:00
Junpei Tsuji
659dd4b8ca Fixed environmental constants 2018-02-28 14:29:41 +09:00
Junpei Tsuji
a2381d2dfd Fixed environment values 2018-02-23 17:58:56 +09:00
Gosuke Miyashita
ff603d9e83 Add "omitempty" to some keys which need not to be returned 2018-02-21 10:52:43 +09:00
Junpei Tsuji
77b179753c Handle type mismatch 2018-02-08 20:06:41 +09:00
Timothy Lock
fe51698284 Fix bug involving HttpStatusResponse
the `ok` in `r, ok := result.(*HttpStatusResponse)` would always fail unless the `result` being passed in was also of type `HttpStatusResponse`
2018-01-17 16:47:14 -05:00
Timothy Lock
132768c0fe Use new struct to check status & Remove IAP_ENVIRONMENT
Use a new struct called `HttpStatusResponse` to check the status code returned in the receipt. This is ios-type independent and will redirect the receipt to sandbox if needed.

Following Apple's recommendation, always hit production and then sandbox. There is no more need to specify which environment to hit.
2018-01-17 16:02:52 -05:00
Yingjie Run
4b4785955a Remove the fields which are not existing in the raw response from AppStore 2017-07-25 14:49:01 +08:00
Yingjie Run
58b1c636fd Remove iOS 6 style transaction receipt fields 2017-07-24 17:43:16 +08:00
Yingjie Run
7808531e12 fix: error iap request fields 2017-07-21 17:35:35 +08:00
Yingjie Run
2eb7bcf51a append new IAP receipt fields 2017-07-20 18:20:07 +08:00
Jumpei Tsuji
e9d5da1f8f Use interface argument for IAP response instead of the library defined struct 2016-08-05 11:43:55 +09:00
Jumpei Tsuji
d074358ecd Added some fields for auto-renewable subscription 2015-03-03 23:58:08 +09:00
Jumpei Tsuji
4db8e00b07 Added the password field for renewing subscription 2015-03-03 18:35:46 +09:00
tsuji_jumpei
1f1601cd3c Initial push 2014-12-04 21:08:46 +09:00