#avneetsingh_11747
1 messages · Page 1 of 1 (latest)
Hello! Our Java library requires Gson 2.10.1 specifically as documented here: https://github.com/stripe/stripe-java#others
Is there a way for you to specify that requirement and specific version on Azure?
I am just running the azure pipeline to build that takes the changes from azure repo. Once build is successful, I am again deploying it through azure pipeline. Pretty straightforward!
Unfortunately I know ~nothing about deploying to Azure, all I can do is help you with the Stripe side of things.
Could it be due to a conflict of an existing library with gson?
I suppose that's possible.
Below are my dependencies
Are you using Maven?
Can you run gradle dependencies --scan to see the full dependency tree?
Checkinh
By the way, for each POST request with same amount and currency, client secret generated should be same, right?
every new/different PaymentIntent object should have a different client secret
OK. Thats why I am getting a different client secret from payment intents object when I make another POST request to Stripe. Amount and currency is same in every request.
Regarding the gson issue that I was facing, I was able to resolve it by downgrading to lower version of Stripe i.e., 23.0.0