v2.7.0
last updated: March 21, 2017
π Enhancements
1. CORRECT THE DOCBLOCK AT OmiseApiResource::IsDestroy()
METHOD (PR #57)
To correct a return tag (@return) in the OmiseApiResource::isDestroy() method's Docblock.
...
2. INCLUDE PHP VERSION TO THE USER-AGENT
HEADER WHEN MAKE A REQUEST TO OMISE API (PR #56)
Enhance Omise-PHP library, that Omise can provide an appropriate and better support on each of PHP environment by knowing PHP version from clients.
...
πΎ Bug Fixes
1. REMOVE QUESTIONMARK FROM FIXTURE FILENAME (PR #55)
To remove fixture file that contains question mark "?" in its name. This may cause an error on Windows platform and make composer failure.
...
2. REMOVE UNREASONABLE CONDITIONAL BLOCK FROM OmiseCustomer
LIB (PR #51)
To fix that the use case below would break and raise authentication failed
error
define('OMISE_PUBLIC_KEY', 'my_public_key');
define('OMISE_SECRET_KEY', 'my_secret_key');
$customer = OmiseCustomer::retrieve('customer_id');
$card = $customer->cards()->retrieve('card_id');
var_dump($card);