Code Monkey home page Code Monkey logo

omise-java's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

omise-java's Issues

TokenId always was not found when charging via JavaSDK

Hi,
I tested the charging API by token in the terminal everything looks good.

Then, I generate a new token and test charging via Java SDK as code below

Client client = new Client("my_pkey", "my_skey");
Charge charge = client.charges()
.create(new Charge.Create()
.amount(10000)
.currency("thb")
.card("tokenId"));

Unfortunately, the token was not found.

I've tried to use the same token to charge via terminal, it's work!!

So, could you please advice me, why I can't charge a card via JavaSDK ?

lib: omise-java version 2.5.3.

Is basic authen in your library incorrect?

I saw Configurer.java. In your basic authentication send authen with "x" password but the other library (e.g. go sdk) it is not send authen with "x" password.

Please help fix.

Does Omise iOS project dead?

there are many issues and PRs for it, but no one respond
we have sent email support, but no respond. it's more than 1 week ago

Consider dependencies alternative

Nice library for Omise API. Kudos for a very nice implementation.

You might wanna re-consider the dependencies that you use in the SDK. The reason for this is Omise-Java has a pretty daunting method counts. In latest version, it eats up about 35K methods count in total which is very scary. (http://www.methodscount.com/?lib=co.omise%3Aomise-java%3A2.0.7)

As you may know, Android DEX limit of method count is around 65k which is surprisingly low number. As an app developer we can't do nothing much but just to accept it. Using Omise-Java, it will almost forcefully ask app developer to resort to multi-dex option (http://www.methodscount.com/?lib=co.omise%3Aomise-java%3A2.0.7), or cut down other dependencies he/she has in the project, or even worst just to need to drop Omise-Java library itself. Those options are not an ideal for you guys.

As I have checked, google guava, and jackson lib are the top two main culprits. My suggestion to you is to find some good alternatives for them.

Thanks

Add support for Installment UOB

Please add support for installment UOB. The documentation says UOB is a supported type, but this package is yet to include it.
image

Connection Reset Exception

Can someone help with a connection reset exception I am receiving when trying to create source/charge?
I am using Spring Boot server which is being run as a docker container in AWS ECS.

Change Timeout from 10s to 60s

We need to change the timeout from 10s to 60s for co.omise.net.APIResource.createConnection()

    private static final int READ_TIMEOUT = 60 * 1000;

The bank usually takes 6 to 10 seconds to process the payment.
sometimes it can take 40 seconds, but never more than 60 seconds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.