Comments (8)
We have the sample code hosted at:
https://github.com/AuthorizeNet/sample-code-java/blob/master/src/main/java/net/authorize/sample/TransactionReporting/GetSettledBatchList.java
https://github.com/AuthorizeNet/sample-code-java/blob/master/src/main/java/net/authorize/sample/TransactionReporting/GetUnsettledTransactionList.java
You can get to all these sample code from our API Reference page, select the respective API and the choose the specific language your are looking for under "Sample Code" tab:
http://developer.authorize.net/api/reference/#transaction-reporting-get-unsettled-transaction-list
Hope this helps. Pl. let us know if you need any thing more.
from sdk-java.
Thank you. GetSettledBatchList.java seems problem as it gives following error. So we need to add code to accept FirstSettlement dates. Could you please update your code and let me know? Please do the needful.
Your GetUnsettledTransactionList.java works fine.
Please see the issue reported here: http://stackoverflow.com/questions/33530072/exception-in-thread-main-java-lang-nullpointerexception-at-com-auth-net-common. Kindly provide your answer there as well.
Exception in thread "main" java.lang.NullPointerException: FirstSettlementDate cannot be null
at net.authorize.api.controller.GetSettledBatchListController.validateRequest(GetSettledBatchListController.java:19)
at net.authorize.api.controller.base.ApiOperationBase.validate(ApiOperationBase.java:228)
at net.authorize.api.controller.base.ApiOperationBase.<init>(ApiOperationBase.java:63)
at net.authorize.api.controller.GetSettledBatchListController.<init>(GetSettledBatchListController.java:11)
at com.auth.net.commons.authorize.net.GetSettledBatchList.main(GetSettledBatchList.java:25)
from sdk-java.
Thanks for reporting the issue.
The fix is already in the future branch on GutHub and we going to release fix soon.
Until then you can use the future branch to test your integration.
from sdk-java.
Thanks. However I'm trying to fixed it from my side by giving firstSettlementDate and lastSettlementDate, but it looks like Authorized.net is not liking format and rejecting it ?
from sdk-java.
Did you get chance to fixed this issue? Could you please guide us in solving the issue? Please do needful.
from sdk-java.
We are hoping to update the SDK with a new release in coming week, and you will get the updates then. Until then you can use the code from future branch where this issue has been fixed. We will let you know when the release is complete.
from sdk-java.
Thank you for info. I'll be waiting to get new SDK. I will create new .jar file from your future branch and will assign version 1.8.6 or something similar, we're anxiously waiting for your official release.
from sdk-java.
1.8.6 Released. http://search.maven.org/#artifactdetails%7Cnet.authorize%7Canet-java-sdk%7C1.8.6%7Cjar
Closing this issue for now.
from sdk-java.
Related Issues (20)
- Environment not set. Set environment using setter or use overloaded method to pass appropriate environment HOT 1
- SDK should not pull non-API logging dependencies
- `Logging Sensitive Data` section is outdated in README.md
- "Defaulting to non-proxy environment" log warning HOT 4
- NPE is thrown when retrieving default customer payment profile
- Highest Version of JDK
- error: package javax.xml.bind.annotation does not exist HOT 4
- How to use sdk-java in android. HOT 2
- Inconsistent types for fields shared between subscription and transaction
- Ampersands in URLs break the Accept Hosted Payment Form HOT 1
- Cannot found any dependency for create Customer Profiles in Android Studio?
- How to Convert to a Gradle Build?
- Junit being pulled in as transitive dependency in compile scope
- CVE-2021-44228: Upgrade log4j to 2.16.0 HOT 1
- Using SDK with scala HOT 1
- Log4j CVE-2021-44832 Vulnerability HOT 1
- Solved
- The credit card number is invalid
- ApplePay attempt: Unable to decrypt data. HOT 2
- Apple Pay: Opaque data can only be used with ECOM market type. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-java.