Commit Graph

184 Commits

Author SHA1 Message Date
sanjid133
d6cb5f5767 remove duplicate 2019-12-05 13:57:52 +06:00
sanjid133
5d167ac1a5 Merge branch 'master' of https://github.com/awa/go-iap 2019-12-05 10:53:06 +06:00
Junpei Tsuji
b31646baf4 Merge pull request #101 from mlesar/unified_receipt
Adding unified receipt to the Apple S2S notification
v1.2.0
2019-11-26 00:20:18 +09: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
3d3bd2b6cf Merge pull request #99 from jun06t/error-message
Fixed test error messages
2019-10-10 11:56:32 +09:00
Junpei Tsuji
934d4ffbbd Fixed test error messages 2019-10-10 10:58:16 +09:00
Junpei Tsuji
9c0e16f820 Merge pull request #96 from jun06t/appstore-grace-period
Added grace period fields
v1.1.0
2019-09-17 13:47:52 +09:00
Junpei Tsuji
e895c80eb0 Added grace period fields 2019-09-17 13:23:05 +09:00
Hasan
4b88aefda5 Merge pull request #4 from Tapfury/noti
updated notificaiton
2019-08-18 17:07:26 +06:00
sanjid133
62fa34fffb Merge branch 'master' of github.com:Tapfury/go-iap into noti
# Conflicts:
#	appstore/model.go
#	appstore/notification.go
2019-08-18 17:06:30 +06:00
sanjid133
8414aff344 status field not present in initial_buy 2019-08-18 16:56:32 +06:00
sanjid133
e0f6e608e7 auto renew status string 2019-08-18 16:56:32 +06:00
sanjid133
11e072e211 Add renewal field 2019-08-18 16:56:32 +06:00
sanjid133
b60c954624 Verfiy latest receipt 2019-08-18 16:56:32 +06:00
sanjid133
c92634081e Add missing is_upgrade field 2019-08-18 16:56:32 +06:00
Minhaz Ahmed Syrus
fbfe02b5f6 Add missing subscription billing retry flag 2019-08-18 16:56:32 +06:00
Minhaz Ahmed Syrus
bac6b5676b Add missing notification verification fields 2019-08-18 16:56:09 +06:00
Minhaz Ahmed Syrus
94f276769f Add missing subscription billing retry flag 2019-08-18 16:54:57 +06:00
Minhaz Ahmed Syrus
4ed348bb1b Add missing notification verification fields 2019-08-18 16:54:57 +06:00
Hasan
712b3f7da2 Merge pull request #3 from Tapfury/renew
Add renewal field
2019-08-07 15:37:04 +06:00
sanjid133
5354251ea5 Add renewal field 2019-08-07 15:16:30 +06:00
Hasan
ec53640acb Merge pull request #2 from Tapfury/latestReceipt
Verfiy latest receipt
2019-08-06 18:51:28 +06:00
sanjid133
ee59170931 Verfiy latest receipt 2019-08-06 17:22:41 +06:00
Hasan
c992b9705b Merge pull request #1 from Tapfury/isupgrade
Add missing is_upgrade field
2019-08-01 17:55:11 +06:00
sanjid133
ff9fd778a3 Add missing is_upgrade field 2019-08-01 17:53:26 +06:00
Minhaz Ahmed Syrus
1877c0ae24 Add missing subscription billing retry flag 2019-08-01 17:34:39 +06:00
Minhaz Ahmed Syrus
7ef252fde0 Add missing notification verification fields 2019-08-01 17:34:39 +06:00
kitakitabauer
062102b0f3 Merge pull request #93 from awa/androidpublisher-v3
Update androidpublisher api v3
2019-06-19 16:36:38 +09:00
Junpei Tsuji
f0014d5a79 Merge pull request #92 from jun06t/ack
Added acknowledge method for subscription
2019-05-31 11:06:24 +09:00
Junpei Tsuji
c446edf3c4 Added acknowledge method for subscription 2019-05-31 11:03:51 +09:00
Junpei Tsuji
c6347f9585 Merge pull request #91 from jun06t/v3
Update androidpublisher api v3
2019-05-23 17:53:24 +09:00
Junpei Tsuji
c8899d8d2d Update androidpublisher api v3 2019-05-23 17:47:36 +09:00
Junpei Tsuji
ebccfd0170 Merge pull request #90 from jun06t/gomod
Use go modules
2019-05-23 17:36:00 +09:00
Junpei Tsuji
b4e4bec42f Use go modules 2019-05-23 17:27:20 +09:00
Junpei Tsuji
6a5694a601 Merge pull request #88 from demiurgestudios/errors
Minor Error Handling Fixes
v1.0.0
2019-05-23 17:26:51 +09:00
Junpei Tsuji
f4cdcf7555 Merge pull request #89 from jordancco/response-properties
Added missing RVS Response Fields
2019-05-21 18:31:43 +09:00
jordanco
ab2fbeeea5 Added missing RVS Response Fields 2019-05-21 10:24:53 +02:00
jordancco
3c17d9a759 Merge pull request #1 from jordancco/upstream-merge
Upstream merge
2019-05-20 16:16:35 +02:00
Owen
92d56725f7 Unwrap error in Amazon validator
In amazon/validator.go, an error was being wrapped by fmt.Errorf("%v",
err). That discards any type information about the returned error;
returning err lets the callers inspect the exact error returned by the
HTTP client.

The test had to change to do similar inspection.
2019-04-24 13:11:17 -04: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
Junpei Tsuji
04b80e5afe Merge pull request #86 from jordancco/patch-1
Added new const NotificationTypeDidChangeRenewalStatus
2019-03-26 10:00:36 +09:00
jordancco
aa29cda61f Update notification.go
Added new const NotificationTypeDidChangeRenewalStatus
2019-03-25 14:38:48 +01:00
Minhaz Syrus
12a8101bb0 Merge branch 'master' of github.com:awa/go-iap 2019-03-23 19:28:46 +06:00
Junpei Tsuji
bdee7286d6 Merge pull request #84 from micnncim/master
Add missing error handling
2019-03-15 09:43:06 +09:00
micnncim
74773834e2 Add missing error handling 2019-03-11 18:21:25 +09:00
Minhaz Syrus
f94fdb06d8 Merge branch 'master' of github.com:awa/go-iap 2019-02-02 12:17:08 +06:00
Junpei Tsuji
ddb131ce18 Merge pull request #79 from WhiteRaven777/master
Add `pending_renewal_info.original_transaction_id` for Apple's receipt
2018-11-22 15:14:03 +09:00