Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpClient extra UTF-8 decode problem? #108

Closed
richardrega opened this issue Jan 26, 2017 · 3 comments
Closed

HttpClient extra UTF-8 decode problem? #108

richardrega opened this issue Jan 26, 2017 · 3 comments

Comments

@richardrega
Copy link

A few weeks back a came across a HTTP response map decode exception caused by a product description that has "... 100% ..." on.

The immediate fix was to simply encode this description string before making the API request with net.authorize.data.Order, but after some digging I found what might be an extra

URLDecoder.decode(responseString, HTTP.UTF_8);

richardrega@9155b3f

Can anyone else confirm this problem? I can provide more details if needed.

@KarthikeyanKumar
Copy link

Hello @richardrega ,

Team is looking into the problem and soon fix will be provided.

Thanks,
Karthikeyan

@vijayabraj
Copy link
Contributor

Hi @richardrega , the URLDecoder.decode is done for reponse if transaction is of type (net.authorize.aim.Transaction or net.authorize.sim.Transaction) which is an old method of
integrating to our APIs. The java packages net.authorize.aim, net.authorize.sim will be deprecated soon and will not have newer updates.

You can check our sample codes repository to see the latest method provided by SDKs which are fully in sync with the latest updates to our APIs (refer: API reference). The controller and contract classes, being autogenerated, have less errors and are actively supported by us.

@chsriniv9
Copy link

@richardrega closing this issue based on the response from @vijayabraj . Please feel free to re-open if you need any further help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants