Timothy Lock
8b1c5e29d2
Bring coverage up to 100
...
Remove sandbox timeout to actually cause POST to fail.
2017-12-11 17:12:38 -05:00
Timothy Lock
60800c1f90
Have app store hit prod and then sandbox if 21007
...
According to https://developer.apple.com/library/content/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-RECEIPTURL
Always verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code. Following this approach ensures that you do not have to switch between URLs while your application is being tested or reviewed in the sandbox or is live in the App Store.
2017-12-11 17:05:53 -05:00
Yingjie Run
b28879e74d
Add is_trial_period field to NotificationReceipt
2017-10-07 17:20:04 +08:00
Yingjie Run
612fd98174
add app store subscription notify model
2017-07-28 17:57:04 +08: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
c9721f9346
add new errors test case
2017-07-20 18:40:34 +08:00
Yingjie Run
2eb7bcf51a
append new IAP receipt fields
2017-07-20 18:20:07 +08:00
Austin George
f953f9abaa
Update IAPClient.Verify to use interface argument
2017-05-05 10:01:54 +02:00
Junpei Tsuji
ebac4ddf8d
Use http package instead of gorequest
2016-11-01 23:34:46 +09: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
a32b701d7b
Removed redundant error handling
2016-07-28 18:05:27 +09:00
Jumpei Tsuji
d2a7e24677
Fixed tests
2016-06-08 17:28:56 +09:00
Jumpei Tsuji
c6384b927f
Golint and fixed a typo
2016-06-08 15:42:49 +09:00
Philip Vieira
0d43229ffb
Correct spelling mistake in AppStore errors
2016-05-18 15:50:48 +02:00
Jumpei Tsuji
5b7829b96a
Make url constants public
2015-03-30 21:00:25 +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
Bogdan Constantinescu
1da1fecce3
AppStore test coverage 100%
2015-02-25 10:56:37 +02:00
Bogdan Constantinescu
128a248229
Update validator test
2015-02-24 22:00:47 +02:00
Bogdan Constantinescu
e55df6a60c
Removed pointer to IAPRequest
2015-02-24 21:53:29 +02:00
Bogdan Constantinescu
9379daa02b
Revert "gorequest wasn't sending the request for validation"
...
This reverts commit 2ed2786f8e .
2015-02-24 21:52:20 +02:00
Bogdan Constantinescu
2ed2786f8e
gorequest wasn't sending the request for validation
...
In the gorequest Send method, there is a switch that checks the type of the parameter (https://github.com/parnurzeal/gorequest/blob/master/main.go#L341 ). In this particular case, the type of *IAPRequest is "ptr" which results in gorequest's switch to go the default case which is empty. The request was made with an empty body.
2015-02-20 16:54:19 +02:00
tsuji_jumpei
99e9a4e759
Added the subscription validator for in app billing
2014-12-05 01:59:36 +09:00
tsuji_jumpei
1f1601cd3c
Initial push
2014-12-04 21:08:46 +09:00