paysafegroup / paysafe_sdk_java Goto Github PK
View Code? Open in Web Editor NEWPaysafe Java SDK
License: MIT License
Paysafe Java SDK
License: MIT License
There is a spelling mistake there:
https://github.com/paysafegroup/paysafe_sdk_java/blob/master/PaysafeSDK/src/main/java/com/paysafe/cardpayments/Recurring.java#L31
It's written RECURRIN instead of RECURRING which is causing an issue. We tried with the "G" and it fix it.
It is possible to set a description and keywords on the Authorisation object that you pass to the CardPaymentService authorise() call. However, these fields are not passed in the request body because they lack an @expose annotation.
I tried to build this on Windows 10
C:\temp\paysafe_sdk_java-master>gradlew.bat build
:PaysafeSDK:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':PaysafeSDK:compile'.
> Could not resolve com.google.code.gson:gson:2.2.2+.
Required by:
paysafe_sdk_java-master:PaysafeSDK:unspecified
> Failed to list versions for com.google.code.gson:gson.
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/com/google/code/gson/gson/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/com/google/code/gson/gson/maven-metadata.xml'. Received status code 501 from server: HTTPS Required
> Failed to list versions for com.google.code.gson:gson.
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/com/google/code/gson/gson/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/com/google/code/gson/gson/maven-metadata.xml'. Received status code 501 from server: HTTPS Required
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
It looks like gradle is trying to pull dependencies from Maven Central using http instead of https.
Is the url for the maven repository a project setting or a system setting?
The hostedpayments api is missing from the sdk now. It was in the previous versions of the sdk.
The SDK does not allow for the ability to setConnectTimeout
or 'setReadTimeout' on the connection that is created by PaysafeApiClient
. Because all the classes in the sdk heavily use final any private keywords across class properties and methods, the functionality cannot be extended out easily to add these features
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.