Commit Graph

21 Commits

Author SHA1 Message Date
Jason Swenski
cebab00a02 Fixing the fact that getInvoice(id,PUBLIC_NO_TOKEN) was actually still signing the requests and therefore not actually using the public API. This doesn't work in some cases because the /invoice endpoint doesn't support some facades.
Also refactors some of the parameter building to off-the-shelf apache commons methods
2016-04-04 14:35:57 -04:00
Chris Kleeschulte
065a8f257e Creating BitPay client with URI of key
- Added constructors for passing the URI of your private key. We prefer to have users of this library pass in a URI for their key file. That way, this api isn't just writing new key files to the current working directory. If the URI does not have a key already, one will be created there (if writeable). It will be the user's responsibility to safeguard their private keys.
- A bit of code cleanup in terms of spelling and removal of warnings, etc.
2016-03-24 17:47:35 -04:00
Chris Kleeschulte
87bd21f32e Conversion to Maven, Tests adjusted to help developers
- As per mrosseel's pom file, conversion of all dependencies to use maven2. This will ease the pain of managing a bunch of jar files in lib
- Repaired some deprecation warnings in bitcoinj dependency around Sha256 creation and ECKey construction.
- Adjusted test harness to create tokens for pos/merchant facade, this is done once the first time someone runs the tests. The test runner just has to pair with their test account. The tester is does not have cascading test failures that might confuses as to what he/she needs to do.
- Added some notes about how to do the refund test.
2016-03-22 16:10:01 -04:00
Mike Rosseel
91342ec370 allow loading from classpath 2016-03-22 16:10:01 -04:00
Mike Rosseel
dc09023cfa load private key from classpath 2016-03-22 16:10:01 -04:00
Mike Rosseel
0e32df0f30 add test URL 2016-03-22 16:10:01 -04:00
Mike Rosseel
f316313d63 added maven pom file, moved files into maven dir structure, small changes due to bitcoinj 13 2016-03-22 16:10:01 -04:00
Chris Kleeschulte
e4128f2518 Extended Notifications Support in Invoice Creation
- Pieter asked me to commit this change
- Adds the option to create invoices with extended notifications turned on
2016-03-14 11:27:07 -04:00
Andy Phillipson
c9dade58ce Add UTF-8 encoding option to the request encoding during signature. 2015-11-13 16:55:34 -05:00
Andy Phillipson
6c1916e75d Initial implementation for refunds. 2015-10-23 16:42:55 -04:00
paul
ade6bb26df handle multiple tokens in token request 2015-09-10 15:56:03 -04:00
J. Paul Daigle
8a5b6e030f Update Invoice.java 2015-09-09 16:51:31 -04:00
Rich Morgan
d7ec387077 Fix for resource token mismatch 2015-04-23 15:44:21 -04:00
Rich Morgan
9764aebb56 Removed extraneous text copied by error 2015-03-12 21:21:30 -04:00
Rich Morgan
3a56f61706 Cleaned up source formatting to match
how we're formatting our other libraries.
2015-03-12 21:20:53 -04:00
Rich Morgan
b9582e0cdc Missed a tab 2015-03-12 21:17:49 -04:00
Rich Morgan
b86665bd8e Cleaned up source formatting to match
how we're formatting our other libraries.
2015-03-12 21:17:14 -04:00
Rich Morgan
44d358dcec Cleaned up source formatting to match
how we're formatting other libraries for the sake of consistency.
2015-03-12 21:16:24 -04:00
Andy Phillipson
6796ada4eb Corrected API representation of invoice buyer information. 2014-12-09 14:27:51 -05:00
Sam Bohler
ba1d4a5345 Added EcKey constructor signatures to make clientName and envUrl optional. Updated README to reflect this change 2014-11-24 10:47:48 -05:00
ionux
3093612634 New Java API client library. 2014-11-12 15:33:12 -05:00