braintree / braintree_java

Braintree Java library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
158 stars 99 forks source link

Java Sdk support native mode? #106

Closed valeriouberti closed 2 years ago

valeriouberti commented 2 years ago

General information

Issue description

Hi, I'm facing with a SSL problem using Java Library sdk compiled in native mode using Quarkus. Is the SDK support native mode?

This is my error:

2022-02-14T16:45:01.150+01:00Copia2022-02-14 15:45:01,133 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-0) HTTP Request to /payments/client_token?customerId=GTRTHKLJHFDSSFF failed, error id: fa5e7350-e944-40b9-8a11-97071d661d56-1: com.braintreegateway.exceptions.UnexpectedException: Missing input stream 
2022-02-14 15:45:01,133 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-0) HTTP Request to /payments/client_token?customerId=GTRTHKLJHFDSSFF failed, error id: fa5e7350-e944-40b9-8a11-97071d661d56-1: com.braintreegateway.exceptions.UnexpectedException: Missing input stream
2022-02-14T16:45:01.150+01:00 at com.braintreegateway.util.Http.getSSLSocketFactory(Http.java:363)
hollabaq86 commented 2 years ago

👋 @valeriouberti the Java SDK is not developed with support for native mode in mind. You may want to consider our GraphQL API as an alternative.