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
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