richzw / appstore Goto Github PK
View Code? Open in Web Editor NEWApp Store Server API Golang Client
License: MIT License
App Store Server API Golang Client
License: MIT License
Created a .go file from sample in README
This output received :
./go-order-lookup.go:4:5: imported and not used: "github.com/richzw/appstore/api"
./go-order-lookup.go:18:11: undefined: StoreConfig
./go-order-lookup.go:27:10: undefined: NewStoreClient
./go-order-lookup.go:30:46: undefined: context
Seems not accessing imported
Only addition to sample code is :
package main
How should I run this ?
https://stackoverflow.com/questions/69100357/how-to-send-consumption-information-to-app-store-to-make-refund-successfully 从你这里我看你想退款都很难退 而我们上传这些ConsumptionRequest 贼认真细致 反而退款全是通过 大佬能不能告诉我,通过ConsumptionRequest这些字段分别传啥参数能让苹果退款失败 我们被薅怕了
I spent past few days implementing these functionalities. It is unfortunate that I couldn't find this repository sooner. If possible you should integrate this into the go-iap package. https://pkg.go.dev/github.com/awa/go-iap/
Hello. Thanks for sharing this great library.
I found that this library may support retry feature(17ec239).
It seems that user need to call SetRetry
for HTTPClient
in method of StoreClient
(ex. GetTransactionInfo).
But user can't do that because c.httpCli(HTTPClient) is not exported.
If there's another way I'm not aware of, please let me know.
If not, what do you think about provide some way that allows combining DoFuncs like SetRetry?
Feel free to suggest a better way, or you can modify it, also I'm willing to submit PR for this feature.
Hey, I believe that your code is not validating the first certificate in the chain and therefore anyone can send a fake server-to-server notification and get validated. See more details in the comment I left in stackoverflow.
Happy to provide more info if needed!
Create the cert pool from https://www.apple.com/certificateauthority
our recommendation it to use all certs under the Root Certificates section of https://www.apple.com/certificateauthority, this is why when decoding and verifying with the App Store Server Library we accept an array of root certificates. Also, remember to check the appropriate OID values when verifying the certificates in the chain. The full process is described here https://developer.apple.com/videos/play/wwdc2023/10143?time=614
related link https://forums.developer.apple.com/forums/thread/742185
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.