Commit Graph

184 Commits

Author SHA1 Message Date
sanjid133
d8b160b5cb fix auto renew status 2020-02-11 20:27:55 +06:00
sanjid133
e811b02798 remove duplicate 2020-02-11 20:27:55 +06:00
sanjid133
5b94718573 status field not present in initial_buy 2020-02-11 20:27:55 +06:00
sanjid133
db9e8f1637 auto renew status string 2020-02-11 20:27:55 +06:00
sanjid133
2b7d6c1820 Add renewal field 2020-02-11 20:27:55 +06:00
sanjid133
d74d2cfd2c Verfiy latest receipt 2020-02-11 20:27:55 +06:00
Minhaz Ahmed Syrus
d5b4694461 Add missing subscription billing retry flag 2020-02-11 20:26:09 +06:00
Minhaz Ahmed Syrus
b0a4ee19ee Add missing notification verification fields 2020-02-11 20:26:09 +06:00
Minhaz Ahmed Syrus
202310d2c3 Add missing subscription billing retry flag 2020-02-11 20:26:09 +06:00
Minhaz Ahmed Syrus
45aa311b47 Add missing notification verification fields 2020-02-11 20:25:51 +06:00
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
Minhaz Ahmed Syrus
1fe1bd0f92 Add missing subscription billing retry flag 2020-02-11 20:25:08 +06:00
Minhaz Ahmed Syrus
f0ee201e43 Add missing notification verification fields 2020-02-11 20:24:39 +06:00
Minhaz Ahmed Syrus
312aa41817 Add missing subscription billing retry flag 2020-02-11 20:22:08 +06:00
Minhaz Ahmed Syrus
eb89375f2e Add missing notification verification fields 2020-02-11 20:22:08 +06: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
Junpei Tsuji
b739b19032 Merge pull request #111 from ercling/master
Add SubscriptionNotification deprecation comments
2020-01-29 23:35:29 +09:00
Oleksandr Mykhailiuta
be7b768650 Add SubscriptionNotification deprecation comments 2020-01-29 12:24:20 +02:00
Junpei Tsuji
ac84b97cd8 Merge pull request #108 from jun06t/go-mod-tidy
go mod tidy
2020-01-20 18:32:12 +09:00
Junpei Tsuji
c4c303e812 go mod tidy 2020-01-20 18:28:13 +09:00
Junpei Tsuji
b5222c00cf Merge pull request #106 from mlesar/hotfix/unified-receipt-status
Fixing NotificationUnifiedReceipt status type
2020-01-20 18:17:13 +09: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
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
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
Junpei Tsuji
bdee7286d6 Merge pull request #84 from micnncim/master
Add missing error handling
2019-03-15 09:43:06 +09:00