Pieter Poorthuis
20708da4de
Add IPN processor in tutorial
2017-05-09 16:22:37 +02:00
Pieter Poorthuis
93f8341e4f
Added refund address, improved examples, made fullNotifications=true default, symfony v3 compatibility fixes
2017-05-09 12:12:36 +02:00
Pieter Poorthuis
008703131e
Fixed HTTP 100 continue parsing
2017-02-21 12:43:53 +01:00
Chris Kleeschulte
7dd352355f
EncryptedFilesystemStorage Passwords
...
- if it is a valid string, then it should now be a valid password for encrypting key files.
2016-06-10 12:17:22 -04:00
Chris Kleeschulte
a8de2014af
Merge pull request #206 from kleetus/getpayout
...
Fixed payout example. Also added a setHex method for the private key …
2016-06-10 12:14:48 -04:00
Chris Kleeschulte
b51d2730bf
Fixed payout example. Also added a setHex method for the private key as a convenience method.
2016-06-10 11:11:00 -04:00
Chris Kleeschulte
016232d4e5
Added a sanity check to avoid an infinite loop situation.
2016-06-10 09:40:56 -04:00
Chris Kleeschulte
61cc445e7f
Currency Additions
...
- Added Cuban Peso, Iran, and North Korean currencies. These are valid currencies, but we won't payout in these currencies. They are added for completeness of the api only. Meaning, we acknowledge these are valid currency symbols, but payouts are disabled.
2016-04-04 15:09:38 -04:00
Chris Kleeschulte
0e144004c6
Examples/Tutorial, price checking
...
- Upgraded examples to show how to interact with the config.yml file and encrypted file storage
- checkPriceAndCurrency will now allow prices that do not have fractions of main units (e.g. $1000)
2016-03-11 16:22:44 -05:00
Gabe Gattis
a694e080cf
change btcPrice to btcPaid for invoice responses
2015-10-28 14:55:40 -04:00
Paul Daigle/Alex Leitner
95fc077bad
delete whitespace
2015-07-31 11:38:05 -04:00
Paul Daigle/Alex Leitner
0b91336a73
Merge branch 'master' of github.com:bitpay/php-bitpay-client
2015-07-31 11:13:17 -04:00
ionux
ccf2fa1cb9
Merge branch 'master' into gh152
...
fix merge conflicts
2015-07-31 11:05:41 -04:00
Rich Morgan
f0495f11f4
Removed extra line at end causing build failure
2015-07-31 10:47:10 -04:00
Jonas Trevisan
bb8794aaec
Remove unnecessary empty check
2015-07-31 08:46:42 -03:00
Jonas Trevisan
96872416ee
exceptionStatus can be bool or str, closes #157
2015-07-30 17:50:26 -03:00
Sam Bohler
a03a77fb22
Fixes #110 : Refactored function calls out of loops
2015-06-24 08:48:31 -04:00
Alex Leitner
44cdb69a08
Client::getInvoice now works with merchant and public facades
2015-06-22 15:46:04 -04:00
Sam Bohler
575d17a186
Fixes #152 - Item::setPrice() now accepts all en_US numeric strings
...
Changed Item::setPrice's $price parameter to type mixed,
accepting floats, integers, and en_US numeric strings.
Changed Item::price to float
2015-06-22 14:13:13 -04:00
paul
397db094c2
This introduces new steps to check the format of price
...
check format of price to insure that it "looks like" a float
coerce price to a float
check precision of price against currency
2015-06-17 14:56:20 -04:00
Sam Bohler
05e0273c17
Fixes #148 : Client now sets invoice tokens upon creation and retrieval
2015-06-04 07:21:34 -04:00
Sam Bohler
9027ce67e4
Fixes #144 : BitPay API errors are now passthrough
2015-05-20 11:53:51 -04:00
Sam Bohler
f9739d56b7
Autoloader Update
...
- Autoloader now loads relative to library root directory
- Added documentation for using the Autoloader class
2015-05-01 06:40:05 -05:00
Sam Bohler
df7bf05c94
Check Requirements Utility Method
...
Many plugins and other projects that use this library have to determine
whether the requirements for the library have been met. This method
lists all requirements with boolean true if met, or a message string if not
so that informative error messages can be generated.
2015-04-13 10:11:34 -04:00
Rich Morgan
23088d2c42
Updated copyright notice year
2015-03-12 18:19:50 -04:00
Rich Morgan
1702be34fb
Updated copyright notice year
2015-03-12 18:19:37 -04:00
Rich Morgan
c4b1f284b8
Updated copyright notice year
2015-03-12 18:19:22 -04:00
Sam Bohler
02600b0ec6
Fixes #143 BCMath Scale is now being set
...
By setting bcscale(0) at the BCMath engine's construct, it only deals with integers.
It should now only output numeric strings it can receive as input.
2015-03-02 14:48:39 -05:00
Rich Morgan
9338b27fbc
Merge pull request #140 from benrcole/master
...
Added in CLF and COP currencies
2015-02-19 13:01:56 -05:00
Ben Cole
13e2ef6f39
Added in CLF and COP currencies
2015-02-16 11:21:56 +00:00
Sam Bohler
114b5ea147
Token Update
...
Updated \Bitpay\Token to include pairingCode and pairingExpiration properties
Fixed \Bitpay\Client\Client to set tokens correctly:
\Bitpay\Token::createdAt is correctly set as a DateTime object
Tests written for all changes
2015-02-03 18:05:58 -05:00
Rich Morgan
66d48768ce
Merge pull request #125 from afk11/ImproveGetPayout
...
Improve get payout
2015-01-28 10:27:43 -05:00
Sam Bohler
08485db85c
PSR whitespace
2015-01-13 14:12:37 -05:00
Sam Bohler
b59d2ae931
Fixes #134 , Corrected behavior of Math::mod
2015-01-13 14:02:52 -05:00
Alexander Leitner
f8f4e2b446
Updated addSignatureHeader to set url for custom sites without ports
2015-01-12 17:10:11 -05:00
Alexander Leitner
c03ba2dac9
Update Client.php
2015-01-02 18:16:12 -05:00
Alexander Leitner
6aabbf2b57
Tests now can be applied to any server
2015-01-02 18:12:11 -05:00
Alexander Leitner
a375495142
Update Client.php
2014-12-19 17:05:52 -05:00
Alexander Leitner
62aec0acdb
Update ArgumentException.php
2014-12-19 17:05:18 -05:00
Alexander Leitner
c57e69e53c
Formatting issues
2014-12-19 16:01:03 -05:00
Alexander Leitner
da4c8e5016
Final Integration tests
2014-12-18 16:45:59 -05:00
Alexander Leitner
101f078497
unit tests working
2014-12-18 16:03:47 -05:00
Alexander Leitner
7270d1fa61
Updated integration tests to create invoices
2014-12-18 15:27:02 -05:00
Alexander Leitner
eae90e1589
Add pairing cucumbers
...
This commit adds working behat/mink tests for pairing a client.
Checks arguments for getting tokens.
2014-12-17 18:10:39 -05:00
Alexander Leitner
e52091fe39
Merge remote-tracking branch 'upstream/master'
2014-12-04 10:44:45 -05:00
Alexander Leitner
fce2981a97
Port and Curl settings can be changed, along with URI for working with local instance of bitpay
2014-12-03 18:10:50 -05:00
Alexander Leitner
6949086e45
updated CurlAdapter and tests
2014-12-02 13:44:00 -05:00
Sam Bohler
dd14740347
Merge pull request #127 from JoshuaEstes/AddAnnotationToCurrency
...
Updated annotations for the Currency object
2014-12-02 07:37:01 -05:00
Joshua Estes
9e0de8873d
Updated annotations for the Currency object
2014-12-02 07:31:28 -05:00
Alexander Leitner
6f71a582d9
Curl options can now be set in the adapter class
2014-12-01 13:32:00 -05:00