Open ved-asole opened 1 day ago
Hi @ved-asole gson is one of the dependencies that stripe-java
uses. If you are using Maven or Gradle, gson
will be automatically downloaded when you include stripe-java
in your project.
Can you share the detailed error stack trace, and also tell me a bit more about how you include stripe-java
in your project?
Describe the bug
When using the below code, it is not able to find JsonObject in the project and the builds are failing :
Full Code :
Workaround is there but solution is required to be updated in API :
Add below dependency in the project to resolve the issue :
To Reproduce
Use the below controller code with Spring Boot app to reproduce the issue :
Expected behavior
Expected behavior is that the explicit adding of GSON dependency should not be required after using Stripe SDK
Code snippets
OS
Ubuntu
Java version
Java 17
stripe-java version
v25.13.0
API version
25.13.0
Additional context
No response