Commit Graph

58 Commits

Author SHA1 Message Date
Junpei Tsuji 01327cc7f6 Merge pull request #33 from jun06t/gorequest
Use http package instead of gorequest
2016-11-01 23:43:01 +09:00
Junpei Tsuji ebac4ddf8d Use http package instead of gorequest 2016-11-01 23:34:46 +09:00
Junpei Tsuji 3890ed82ea Merge pull request #29 from jun06t/response
Use interface argument for IAP response instead of the library defined struct
2016-08-05 12:00:04 +09:00
Jumpei Tsuji 5e06f96d17 Fixed read me 2016-08-05 11:49:36 +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
Junpei Tsuji e94030ddae Merge pull request #27 from jun06t/statuscode
Removed redundant error handling
2016-07-28 18:35:12 +09:00
Jumpei Tsuji a32b701d7b Removed redundant error handling 2016-07-28 18:05:27 +09:00
Junpei Tsuji f0c4457a10 Merge pull request #24 from jun06t/interface
Added interface method for playstore
2016-06-08 17:50:28 +09:00
Jumpei Tsuji 428a2131dc Added interface method for playstore 2016-06-08 17:47:51 +09:00
Junpei Tsuji 537b7a8388 Merge pull request #23 from jun06t/test
Fixed tests
2016-06-08 17:30:46 +09:00
Jumpei Tsuji d2a7e24677 Fixed tests 2016-06-08 17:28:56 +09:00
Jumpei Tsuji 6aa3ec6a42 Update go version on travis 2016-06-08 15:42:49 +09:00
Jumpei Tsuji c6384b927f Golint and fixed a typo 2016-06-08 15:42:49 +09:00
Junpei Tsuji db9d5922fa Merge pull request #20 from zeeraw/appstore-error-spelling
Correct spelling mistake in AppStore errors
2016-06-07 00:53:07 +09:00
Philip Vieira 0d43229ffb Correct spelling mistake in AppStore errors 2016-05-18 15:50:48 +02:00
Junpei Tsuji 39abea8ba6 Merge pull request #18 from fubotv/master
Add Support for the Amazon Receipt Verification Service
2015-12-24 12:54:29 +09:00
djworth c031970221 Add a link to the amazon api docs 2015-12-23 13:29:07 -05:00
djworth de4908ff59 Merge branch 'master' of github.com:dogenzaka/go-iap 2015-12-23 13:26:46 -05:00
Dan Worth 5d618a6213 Merge pull request #2 from fubotv/sandbox_url
Add the ability to override the sandbox url
2015-12-02 13:38:45 -05:00
djworth 633046093d Add the ability to override the sandbox url
Using an envirnoment variable called `IAP_SANDBOX_URL` you can override the sandbox url
2015-12-02 13:28:29 -05:00
Dan Worth ba5cba496c Merge pull request #1 from fubotv/amazon
Adding Amazon IAP to the go-iap library
2015-11-24 14:04:45 -05:00
djworth 1e0b41348c Adding Amazon IAP to the go-iap library
Fix the README by updating the amazon example
2015-11-24 12:04:46 -05:00
Junpei Tsuji 09df9c9a8d Merge pull request #16 from fubotv/master
Update the url to golang.org for the cover tool
2015-11-24 23:53:52 +09:00
djworth be0626f87a Update the url to the golang.org for the cover tool 2015-11-24 09:33:45 -05:00
Junpei Tsuji dc43889c87 Merge pull request #15 from jun06t/signature
Added verification method for signature
2015-09-10 20:35:30 +09:00
Jumpei Tsuji 5767f89e54 Added verification method for signature 2015-09-10 20:26:08 +09:00
Junpei Tsuji cee86cde11 Merge pull request #13 from jun06t/revoke
Added a function to revoke subscription
2015-07-13 17:54:20 +09:00
Jumpei Tsuji 579721461f Added a function to revoke subscription 2015-07-13 17:46:36 +09:00
Junpei Tsuji dd88cc1f05 Merge pull request #12 from jun06t/cancel
Added cancellation method for subscription
2015-06-16 13:40:59 +09:00
Jumpei Tsuji 764aa496d9 Added cancellation method for subscription 2015-06-16 13:32:37 +09:00
Junpei Tsuji 51163ff874 Merge pull request #11 from jun06t/json-credential
Use JSON credential of service account instead of oauth token
2015-05-26 23:49:49 +09:00
Jumpei Tsuji 7c39cf1775 Use JSON credential of service account instead of oauth token 2015-05-26 23:42:30 +09:00
Junpei Tsuji 74d18f9aa3 Merge pull request #10 from jun06t/update-dependencies
Update oauth library
2015-05-26 17:35:15 +09:00
Jumpei Tsuji 87cea6c590 Update oauth library 2015-05-26 17:29:34 +09:00
Junpei Tsuji e8ad410a77 Merge pull request #9 from jun06t/make-public
Make url constants public
2015-03-30 21:05:04 +09:00
Jumpei Tsuji 5b7829b96a Make url constants public 2015-03-30 21:00:25 +09:00
Junpei Tsuji 2bba6d6800 Merge pull request #8 from jun06t/subscription
Added some fields for auto-renewable subscription
2015-03-04 02:06:02 +09:00
Jumpei Tsuji d074358ecd Added some fields for auto-renewable subscription 2015-03-03 23:58:08 +09:00
Junpei Tsuji cf934d0e24 Merge pull request #7 from jun06t/subscription
Added the password field for renewing subscription
2015-03-03 18:41:50 +09:00
Jumpei Tsuji 4db8e00b07 Added the password field for renewing subscription 2015-03-03 18:35:46 +09:00
Junpei Tsuji 8001d1b897 Merge pull request #6 from bogdanconstantinescu/master
Increased code coverage for the unit tests
2015-02-25 21:07:36 +09:00
Bogdan Constantinescu 92e950fe09 Update AppStore example 2015-02-25 11:16:27 +02:00
Bogdan Constantinescu f0278c7c2d Test errors for increased coverage on PlayStore 2015-02-25 11:15:20 +02:00
Bogdan Constantinescu 1da1fecce3 AppStore test coverage 100% 2015-02-25 10:56:37 +02:00
Junpei Tsuji 8d8971f66c Merge pull request #4 from bogdanconstantinescu/master
gorequest wasn't sending the request for validation
2015-02-25 09:47:22 +09: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 9f9d0fe1cb Merge pull request #1 from bogdanconstantinescu/bogdanconstantinescu-patch-verify
gorequest wasn't sending the request for validation
2015-02-20 16:56:36 +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