Commit Graph

86 Commits

Author SHA1 Message Date
Minhaz Ahmed Syrus
deddee8776 Add missing subscription billing retry flag 2020-09-16 12:37:07 +06:00
Minhaz Ahmed Syrus
a827229599 Add missing notification verification fields 2020-09-16 12:33:13 +06:00
sanjid133
a86d8e5e46 status field not present in initial_buy 2020-09-16 12:31:45 +06:00
sanjid133
d8e3214b87 auto renew status string 2020-09-16 12:31:45 +06:00
sanjid133
2f225b82e1 Add renewal field 2020-09-16 12:31:45 +06:00
sanjid133
9a16ac2219 Verfiy latest receipt 2020-09-16 12:31:45 +06:00
sanjid133
55c7fd6ae1 Add missing is_upgrade field 2020-09-16 12:30:38 +06:00
Minhaz Ahmed Syrus
acc524bc09 Add missing subscription billing retry flag 2020-09-16 12:30:38 +06:00
Minhaz Ahmed Syrus
8f2ab57531 Add missing notification verification fields 2020-09-16 12:30:38 +06:00
Minhaz Ahmed Syrus
5d0e393a7d Add missing subscription billing retry flag 2020-09-16 12:30:38 +06:00
Minhaz Ahmed Syrus
8f84c4951b Add missing notification verification fields 2020-09-16 12:30:38 +06:00
ashhadsheikh
1b4f9f5ba9 Merge pull request #1 from ashhadsheikh/patch-2
change test cases
2020-08-21 14:27:56 +05:00
ashhadsheikh
eb5fd1fd67 change test cases 2020-08-21 14:26:55 +05:00
ashhadsheikh
cb6856d274 increase default timeout for client
Apple servers sometimes takes more than the default time causing client timeouts, increase the default timeout to cater increases response times.
2020-08-21 14:17:29 +05:00
Omar Elgabry
3e4cb3beda Add missing fields in IAPResponseForIOS6 2020-07-14 13:15:27 -04:00
kitakitabauer
51232bd52a appstore: fix HandleError 2020-05-28 17:12:13 +09:00
Junpei Tsuji
9ba6e70200 Handle http status 5xx error 2020-02-20 14:52:46 +09:00
Junpei Tsuji
052ce72134 Merge pull request #112 from tockn/did-fail-to-renew
Add NotificationType "DID_FAIL_TO_RENEW"
2020-02-20 14:36:24 +09:00
Junpei Tsuji
a61c519ac8 Fixed makefile 2020-02-20 13:02:14 +09:00
Junpei Tsuji
3c88ce1648 Merge pull request #110 from shemming/PR-branch
Add ability to acknowledge purchases from playstore
2020-02-20 12:53:56 +09:00
tockn
0aa274084a add notification type DID_FAIL_TO_RENEW 2020-02-19 23:52:19 +09:00
tockn
c61599bf8e go fmt 2020-02-19 23:45:54 +09:00
Sabrina
e54455a635 add mocks for appstore 2020-01-30 16:04:26 -08:00
Junpei Tsuji
d9ae3a1d88 Merge pull request #105 from mhemmings/add-missing-omitempty
appstore: Set IsUpgraded as omitempty
2020-01-29 23:37:14 +09:00
Oleksandr Mykhailiuta
be7b768650 Add SubscriptionNotification deprecation comments 2020-01-29 12:24:20 +02:00
Matija Lesar
c8962b67cb Fixing NotificationUnifiedReceipt Status type 2020-01-16 09:19:57 +01:00
Mark Hemmings
627fa5e7d1 appstore: Set IsUpgraded as omitempty 2019-12-27 15:07:54 +00:00
Matija Lesar
1bd99243d7 Changed environment property type 2019-11-25 12:42:41 +01: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
Matija Lesar
4209b06a64 Added unified receipt 2019-11-25 10:00:13 +01:00
Junpei Tsuji
e895c80eb0 Added grace period fields 2019-09-17 13:23:05 +09:00
Junpei Tsuji
b4e4bec42f Use go modules 2019-05-23 17:27:20 +09:00
Owen
46a2f52ca6 Return errors from JSON encode/decode
I found two JSON errors being shadowed; the one in amazon/validator.go
is being hidden by errors.New(responseError.Message) -- which should be
an empty string if there's a JSON error. So, it wouldn't report success,
but this gives the caller better information on what failed.

The second is in appstore/validator.go, which was ignoring encode errors
before POSTing a verify request.
2019-04-24 11:39:02 -04:00
jordancco
aa29cda61f Update notification.go
Added new const NotificationTypeDidChangeRenewalStatus
2019-03-25 14:38:48 +01:00
micnncim
74773834e2 Add missing error handling 2019-03-11 18:21:25 +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
Junpei Tsuji
3380afe242 Update golang 1.11 2018-11-06 17:21:59 +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
63258ccb00 Update subscription notification type for IAP 2018-05-23 11:07:07 +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
0cfabb49bb Support context package when requesting AppStore 2018-05-17 13:37:16 +09:00
Junpei Tsuji
2a724a9d7c Support custom client 2018-05-17 12:36:12 +09: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