Commit Graph

76 Commits

Author SHA1 Message Date
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
Junpei Tsuji 8266e878ac Merge pull request #40 from sanae10001/master
add app store subscription notify model
2017-10-08 14:51:45 +09: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
Junpei Tsuji 33867fdae5 Merge pull request #39 from jun06t/context
Use standard context package
2017-07-25 18:01:47 +09:00
Junpei Tsuji 391b952acb Use standard context package 2017-07-25 17:49:48 +09:00
Junpei Tsuji 69847ff7e7 Merge pull request #38 from sanae10001/master
append new IAP receipt fields
2017-07-25 15:59:01 +09: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
Junpei Tsuji c46ab73455 Merge pull request #36 from avgeorge/master
Update IAPClient.Verify to use interface argument
2017-05-08 11:30:46 +09:00
Austin George f953f9abaa Update IAPClient.Verify to use interface argument 2017-05-05 10:01:54 +02:00
Junpei Tsuji 39ea669c61 Merge pull request #35 from jun06t/readme
Update readme
2017-04-11 10:42:41 +09:00
Junpei Tsuji 21ea232c79 Update readme 2017-04-11 10:33:28 +09:00
Junpei Tsuji 6e7b060375 Merge pull request #34 from jun06t/goreq
Use standard http package instead of gorequest
2017-04-11 10:08:16 +09:00
Junpei Tsuji 8b1c418ab7 Use standard http package instead of gorequest 2017-04-11 10:04:11 +09:00
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