All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
This release contains breaking changes, related to BitPay's multicurrency support (BTC and BCH).
- Removed BTC only fields (btcPrice, btcPaid, rate) and methods for Invoice
- Added support for Symfony v4
- Fixed failing phpunit tests (#262)
- Fixed DateTime zone issues (#261)
- Fixed $invoice->getPaymentTotals() returns subTotals instead (#264)
- Added support for BCH fields in the invoice: transactionCurrency, amountPaid, exchangeRates, paymentSubtotals, paymentTotals
- Set timezone to UTC (=timezone that BitPay invoices use), to prevent PHP errors when no default timezone is set
- Deprecated BTC specific fields, as documented at https://bitpay.com/api#resource-Invoices
- Pushed actual code changes to GitHub from previous release
- Fixed decimal check for currencies without decimals (e.g. HUF)
- Fixed invoice time being set in milliseconds, whereas seconds are expected (Issue #256 and #257)
- Removed deprecated factory methods from services.xml
- Fixed invoice time being set as numeric instead of datetime object
- Removed support for mcrypt (#254)
- Fixed token check in get invoices method for public facade calls (#243)
- Spell fixes (#233 and #233)
- Fix some of the tests (#228)
- Added encrypt & decrypt functions to OpenSSL (#247)
- Updated VERSION and changelog
- Clarified tutorial text
- Included IPN processor example in tutorials
- broken exception in Client.php
- Added refund addresses to getInvoice
- Included extendedNotifications
Included buyer notify field (when creating an invoice)
- Improved tutorial (https://github.com/bitpay/php-bitpay-client/tree/master/examples/tutorial)
- Made fullNotifications=true default
- Symfony v3 compatibility fixes
- PHP 7 compatibility fixes
- HTTP 100 messages not parsed correctly when doing payouts
- Refactored function calls out of loops
2.2.5 - 2015-06-23
- Item::setPrice accepts en_US formatted numeric strings
- getInvoice now works with merchant and public facades
2.2.4 - 2015-06-04
- Token functionality for client-sided pairing
- Set payout bitcoin amount, as returned by BitPay
- Utility method for checking requirements
- Autoloader documentation
- Documentation from RST to Markdown
- Autoloader now loads relative to library root directory
- Client now sets invoice tokens upon creation and retrieval
2.2.3 - 2015-05-29
- BitPay API errors are now passthrough
2.2.2 - 2015-01-13
- Mink/Behat testing
- Corrected behavior of Math::mod
2.2.1 - 2014-12-10
- Payroll feature
- Detailed tutorials
- Math Engine issues
- Stalling tests
2.2.0 - 2014-11-21
- No longer solely depends on GMP for big integer math. Can now use BCMath as well
2.1.1 - 2014-11-19
- Encrypted file storage is now default persistance for keys
- McryptExtensionTest no longer fails randomly
- PHP 5.3 support. Now requires PHP >= 5.4
2.1.0 - 2014-11-10
- Code Coverage tools
- Integration testing
- CA Bundle for Curl Adapter
- Additional invoice tests
- PEM Encoding and Decoding
- Storage Class tutorial
fullNotifications
for invoices
- Point arrays to objects
- Better exception handling for Curl errors
- Refactored
isGenerated
- MCrypt cipher type default is now a valid cipher type
- Client library now uses BitPay's new API