Junpei Tsuji
441ba93c28
Merge pull request #76 from msyrus/master
...
Add is_in_intro_offer_period in InApp & NotificationReceipt
2018-11-06 16:56:14 +09:00
Minhaz Ahmed Syrus
49d7fb675d
Add is_in_intro_offer_period in NotificationReceipt
2018-10-29 08:28:12 +06:00
Minhaz Syrus
b0d36e4962
Add is_in_intro_offer_period in InApp
2018-10-28 16:45:35 +06:00
Junpei Tsuji
6836fe8b21
Merge pull request #68 from jun06t/noti-type
...
Update subscription notification type for IAP
2018-05-23 14:26:09 +09:00
Junpei Tsuji
63258ccb00
Update subscription notification type for IAP
2018-05-23 11:07:07 +09:00
Junpei Tsuji
edab1bdb5a
Merge pull request #67 from jun06t/readme
...
[ci skip] Update read me
2018-05-18 18:24:56 +09:00
Junpei Tsuji
b9fab3793e
[ci skip] Update read me
2018-05-18 18:24:18 +09:00
Junpei Tsuji
4258729b23
Merge pull request #66 from jun06t/client
...
Added client timeout because http.DefaultClient doesn't have timeout
2018-05-18 15:08:21 +09:00
Junpei Tsuji
8e67f122c0
Added client timeout because http.DefaultClient doesn't have timeout
2018-05-18 12:31:19 +09:00
Junpei Tsuji
cdb4cd7c54
Merge pull request #65 from jun06t/amazon
...
Support custom client for Amazon
2018-05-18 12:30:47 +09:00
Junpei Tsuji
034e269dc9
Support custom client for amazon app store
2018-05-18 12:06:59 +09:00
Junpei Tsuji
d53311131e
Fixed coverage command
2018-05-18 12:06:59 +09:00
Junpei Tsuji
8c93c4b714
Support context for amazon app store
2018-05-18 12:06:59 +09:00
Junpei Tsuji
1fe22cb99a
Merge pull request #64 from jun06t/gae
...
Support custom http client for GAE
2018-05-18 11:44:22 +09:00
Junpei Tsuji
48769db5b8
Added google.golang.org/appengine/urlfetch package to pass a test
2018-05-17 18:21:54 +09:00
Junpei Tsuji
1dbebe0623
Support custom http client for GAE
2018-05-17 18:16:19 +09:00
Junpei Tsuji
f2bcd8eb15
Merge pull request #63 from jun06t/context
...
Support context package when requesting AppStore
2018-05-17 14:37:21 +09:00
Junpei Tsuji
06acfeb7a8
Fixed read me
2018-05-17 14:31:13 +09:00
Junpei Tsuji
ea45e6dbd0
Support context package when requesting GooglePlay
2018-05-17 14:31:06 +09:00
Junpei Tsuji
da74e6bb57
Fixed read me
2018-05-17 13:52:09 +09:00
Junpei Tsuji
0cfabb49bb
Support context package when requesting AppStore
2018-05-17 13:37:16 +09:00
Junpei Tsuji
79964782cf
Merge pull request #62 from jun06t/client
...
Support custom client for IAP
2018-05-17 13:27:24 +09:00
Junpei Tsuji
2a724a9d7c
Support custom client
2018-05-17 12:36:12 +09:00
Junpei Tsuji
abb45f0adc
Merge pull request #58 from jun06t/cancel
...
Added cancellation date fields
2018-03-30 11:25:52 +09:00
Junpei Tsuji
90290e9d74
Added cancellation date fields
2018-03-30 10:41:53 +09:00
Junpei Tsuji
6cac63f455
Merge pull request #57 from jun06t/ios6
...
Added iOS6 style receipt
2018-03-29 17:48:19 +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
d1f9189afa
Merge pull request #56 from jun06t/env
...
Fixed environmental constants
2018-02-28 14:49:49 +09:00
Junpei Tsuji
659dd4b8ca
Fixed environmental constants
2018-02-28 14:29:41 +09:00
Junpei Tsuji
50e40fdccb
Merge pull request #55 from jun06t/env
...
Fixed environment values
2018-02-23 18:39:02 +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
b94ad93ee8
Merge pull request #51 from jun06t/numeric
...
Handle type mismatch
2018-02-09 10:24:14 +09:00
Junpei Tsuji
e1bf60f011
Merge pull request #52 from jun06t/travis
...
Added slack notification for travis
2018-02-09 09:52:07 +09:00
Junpei Tsuji
4496b457b2
Added slack notification for travis
2018-02-09 08:45:29 +09:00
Junpei Tsuji
77b179753c
Handle type mismatch
2018-02-08 20:06:41 +09:00
Junpei Tsuji
27bfdf5e1f
Update LICENSE copyright
2018-02-08 18:01:23 +09:00
Junpei Tsuji
2e30b9a5bb
Merge pull request #45 from Timothylock/master
...
Have app store hit prod and then sandbox if 21007
2018-02-08 17:14:11 +09:00
Junpei Tsuji
4001fbceab
Merge pull request #50 from jun06t/repo
...
Moved repository owner
2018-02-08 15:06:33 +09:00
Junpei Tsuji
5be483907d
Moved repository owner
2018-02-08 15:02:47 +09:00
Timothy Lock
c809bb0ee2
Fix test case of BadRequest
...
Should have been StatusOK
2018-01-29 18:01:54 -05:00
Timothy Lock
3b95498cbe
Add Success test case + Refactor Comments
2018-01-29 17:53:58 -05:00
Timothy Lock
594d8d6544
Correct tests
...
serverWithResponse was hardcoded to return http.StatusBadRequest whereas it differed in the tests in the previous commits. This has been corrected by turning it into a parameter.
2018-01-22 17:17:05 -05:00
Timothy Lock
6d00842743
Bring tests back up to 100%
...
Make a new method called parseResponse which essentially allows us to feed it our own response so that we can feed it bad body so that it cannot unmarshal or even read it.
2018-01-22 15:40:28 -05: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
Junpei Tsuji
6bf6dcc0a8
Merge pull request #46 from dogenzaka/google
...
Added real time notification definition for google play
2017-12-28 11:57:26 +09:00
Junpei Tsuji
6753b53cde
Added real time notification definition for google play
2017-12-28 11:41:57 +09:00
Timothy Lock
12a6e01874
Correct test
...
Needed to set an invalid SandboxURL to trigger the err.
2017-12-11 17:20:32 -05:00