Comments (3)
Hello @sbmaniac. I took your receipt as provided here, called extractTransactionIdFromAppReceipt, and received a valid result. Could you please provide more information on your version of Java and your version of bouncy castle, if different than the one included in the library. Additionally, what line number is the IllegalArgumentException thrown from/the stack trace of the exception.
from app-store-server-library-java.
Thanks for checking @alexanderjordanbaker .
We use Java 17 and we use 1.69 bouncy castle from spring dependencies
Caused by: java.lang.IllegalArgumentException: Invalid App Receipt at com.apple.itunes.storekit.migration.ReceiptUtility.lambda$extractTransactionIdFromAppReceipt$9(ReceiptUtility.java:83) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:280) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findAny(ReferencePipeline.java:652) at com.apple.itunes.storekit.migration.ReceiptUtility.extractTransactionIdFromAppReceipt(ReceiptUtility.java:89)
from app-store-server-library-java.
Upgrading both:
org.springframework.cloud:spring-cloud-starter-openfeign:
and org.springframework.cloud:spring-cloud-dependencies solved the problem.
This upgraded bouncy castle to version >=1.70
from app-store-server-library-java.
Related Issues (20)
- Verification failed with status INVALID_CHAIN HOT 11
- feature request for AppStoreServerAPIClient - http client abstraction HOT 7
- v2.2.0 is not available on Maven Central HOT 2
- [Feature Request] Custom Implementation of BearerTokenAuthenticator HOT 4
- Code logic issues HOT 2
- [Enhance] Ignore Apple server SSL certificate error HOT 3
- ReceiptUtility.extractTransactionIdFromAppReceipt question HOT 5
- Add caching to revocation checks for JWS verification
- Allow JWS online checks to be modified at runtime
- Problems using library HOT 5
- Error when get extractTransactionIdFromAppReceipt HOT 2
- The time to obtain user active type subscription exceeds 3 seconds. Is this time too long?
- Add Default environment as Production for AppStoreServerAPIClient.java, for handling production usecase easily HOT 4
- Add method parameters in AppStoreServerAPIClient methods to accept bearer token HOT 2
- hello, I would like to ask under what circumstances will apple callback to be empty? HOT 4
- Proxy configuration HOT 2
- How to call App Store Server API sandbox environment HOT 5
- an exception appears with httpStatusCode=401, apiError=null, apiErrorMessage='null' HOT 15
- Apple Root Certificates Update Schedule HOT 1
- ConsumptionRequest model does not match the documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-store-server-library-java.