Commit Graph

52 Commits

Author SHA1 Message Date
Pieter Poorthuis
1bc6c61e4d Merge pull request #22 from pieterpoorthuis/master
Fixed https://github.com/bitpay/java-bitpay-client/issues/20
2017-02-03 17:33:50 +01:00
Pieter Poorthuis
53c45e0a86 Fixed https://github.com/bitpay/java-bitpay-client/issues/20 2017-02-03 17:29:53 +01:00
Chris Kleeschulte
00588dcdbe Merge pull request #18 from kleetus/feature/dont-auth-invoice-endpoint
Feature/dont auth invoice endpoint
2016-04-06 13:54:05 -04:00
Chris Kleeschulte
ae7f1392b5 Refund test improvements / Signature not required for rate estimates 2016-04-04 14:48:20 -04:00
Chris Kleeschulte
3bc1178a78 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-04-04 14:38:18 -04:00
Chris Kleeschulte
c5ba2e50c5 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-04-04 14:38:05 -04:00
Mike Rosseel
aea9ea062d added maven pom file, moved files into maven dir structure, small changes due to bitcoinj 13 2016-04-04 14:37:34 -04:00
Jason Swenski
2243bfedd5 Forgot to add ? in the URL params. A proper solution would use URIBuilder
I'll contribute this in a later pull request
2016-04-04 14:35:57 -04:00
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
e84770e2ee Merge pull request #17 from kleetus/master
Conversion to Maven, Tests adjusted to help developers
2016-04-01 14:24:30 -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
5db820e074 deleting libs 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
Chris Kleeschulte
4aadeb7d33 Merge pull request #14 from jameswalpole/patch-3
Update Support Links
2016-02-19 15:44:43 -05:00
James Walpole
f0c676f6a0 Update Support Links 2016-02-19 09:13:37 -05:00
Chris Kleeschulte
78335ff464 Merge pull request #9 from ajp8164/master
Updates include refund integration
2015-12-10 15:01:18 -05:00
Andy Phillipson
10e28c39ce Add class files. 2015-11-13 16:57:24 -05: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
Rich Morgan
767c52a5c7 Removed install/config info and added to GUIDE
Also added link to the Java forum on BitPay Labs
2015-03-12 20:56:46 -04:00
Rich Morgan
fd83c9ba35 Updated and reformatted information 2015-03-12 20:54:07 -04:00
Rich Morgan
19fbc91ba8 Updated copyright notice year 2015-03-12 20:49:08 -04:00
J. Paul Daigle
fd2a283e20 Merge pull request #7 from bitpay/adjust-pairing-instructions
make pairing header linkable
2015-02-13 15:09:38 -05:00
Eric Martindale
49a44f951d Update GUIDE.md 2015-02-12 18:06:10 -05:00
Eric Martindale
170f87996b make pairing header linkable
This makes the "pairing" section linkable via simply `#pairing` – I'd like for each of the libraries to follow this pattern.

Similarly, I'd like each of the libraries to expose a standard "Prerequisites" section following this files' format, with the links included.
2015-02-12 17:48:14 -05:00
Rich Morgan
22622afd20 Merge pull request #6 from martindale/guide
add GUIDE.md
2015-02-12 16:23:29 -05:00
Eric Martindale
6edd094249 add GUIDE.md 2015-02-12 16:16:11 -05:00
Andy Phillipson
406eb31e3c Minor updates 2015-01-14 17:56:40 -05:00
Andy Phillipson
1e048be104 Updated to reflect the current implementation. 2015-01-14 12:03:03 -05:00
Rich Morgan
2f05c63e16 Merge pull request #3 from ajp8164/master
Adding javadoc generated from Eclipse.
2015-01-09 11:38:45 -05:00
Andy Phillipson
db0800b36f Adding javadoc generated from Eclipse. 2015-01-09 11:33:14 -05:00
Rich Morgan
b1d9359328 Merge pull request #2 from ajp8164/master
Corrected API representation of invoice buyer information.
2014-12-09 14:31:25 -05:00
Andy Phillipson
6796ada4eb Corrected API representation of invoice buyer information. 2014-12-09 14:27:51 -05:00
Rich Morgan
00b2a9a761 Merge pull request #1 from sambohler/master
Added EcKey constructor signatures to make clientName and envUrl optiona...
2014-11-24 12:12:48 -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
Rich Morgan
c1d37d8802 Create LICENSE 2014-11-12 15:17:05 -05:00