#guillaume-javaparams-subscription

1 messages · Page 1 of 1 (latest)

plucky emberBOT
past raven
#

Interesting. Do the rest of the param builder functions works as far as you can see?

#

If you try with priceData does it work?

      SessionCreateParams.LineItem.builder()
        .setPriceData(
          SessionCreateParams.LineItem.PriceData.builder()
            .setProductData(
              SessionCreateParams.LineItem.PriceData.ProductData.builder()
                .setName("test")
                .build()
            )
            .setUnitAmount(1000L)
            .setCurrency("usd")
            .build()
        )
        .build()
    )
    .build();```
#

Just as a test to narrow down what may be going wrong here

iron hawk
#

all params seems to be there but not the price :

#

There is no setPriceData in the builder

past raven
#

Huh but inellesense shows other methods

#

Can you double check that that version of your library installed correctly?

iron hawk
#

I'll do it

#

it looks ok, when i run mvn dependency:tree I can see : [INFO] +- com.stripe:stripe-java:jar 24.8.0:compile...

plucky emberBOT
iron hawk
#

OK I figured it out it was a problem with the download of the lib. Thanks for your help and sorry for the inconvenience.