- Fix the latest version link in README. (#157)
- Add #[AllowDynamicProperties] to not emit deprecation notice. (#157)
- Added support for partial capture (#157)
- Removed the predefined installment minimum value (#151)
- Bug fixed on
OmiseSearch::scope
public key and secret key override as null (#149) - Sonarcloud integration for code coverage (#148)
- Made compatible with PHP 5.6 to 8.1 (#141)
- Replace Curl with Guzzle Client (#141)
- Add Support php version 8.1 (#140)
- Change installment minimum to 200000 subunits (#132)
- Add Receipt API (#126)
- Add Chain API (#127)
- Add expire method for Charge (#130)
- Add accept method for Dispute (#125)
- Add destroy method for Link (#124)
- Add update method for Account (#123)
- Add a
retrieve
method to OmiseSource (#121)
- Removed certificate pinning (PR #118)
- Changes hacked instalment minimum to 300000 subunits. (PR #113)
- Removing Omise (demo) keys out from README document. (PR #111)
- Fixes issue with use of array constant (mandated PHP 5.6+). (PR #106)
- Refundable within charge class. (PR #92)
- Be able to filter when retrieving a Refund List from a Charge object. (PR #91)
- OmiseCardList, relocate the card-fetching logic back to its parent class (OmiseCustomer). (PR #90)
- Apply PSR Code Styling Standard to the library. (PR #89)
- Add PHP Code Sniffer 3.x to the composer package. (PR #88)
- Update Composer Spec. (PR #87)
- Upgrade CircleCI to v2. (PR #82)
- Centralising all loaders into one file,
lib/Omise.php
. (PR #81) - README.md: enhancing 'how-to' and other contents, make it clearer and easy to follow. (PR #77)
- Fix bug "authentication failed" when executing OmiseTransfer::search(). (PR #94)
- Be able to limit items that will be shown at the Search Object. (PR #75)
- Fix PHP v7.2 raise a warning message when execute OmiseApiResource::execute() with non-array assigned at the first argument. (PR #71, thanks @forfunza)
- Support Omise Source API. (PR #68)
- Link to Omise Forum instead of Gitter (deprecate Gitter channel). (PR #67)
For more information, please visit https://github.com/omise/omise-php/releases/tag/v2.9.0
- Support Omise Forex API. (PR #64)
- Support Omise Schedule APIs. (PR #63)
- Support Omise Search APIs. (PR #58)
- Provide exception classes for
invalid_link
,failed_refund
andbad_request
error code. (PR #61)
For more information, please visit https://github.com/omise/omise-php/releases/tag/v2.8.0
- Update library's version number.
For more information, please visit https://github.com/omise/omise-php/releases/tag/v2.7.1
- Correct the Docblock at OmiseApiResource::isDestroy() method. (PR #57)
- Include PHP Version to the
USER-AGENT
header when make a request to Omise API. (PR #56)
- Remove questionmark from fixture filename. (PR #55)
- Remove unreasonable conditional block from OmiseCustomer lib. (PR #51)
For more information, please visit https://github.com/omise/omise-php/releases/tag/v2.7.0
- [added] OmiseLink api is now available. (@turboza)
- [added] OmiseRecipient object be able to reload resource itself (@guzzilar)
- [added] OmiseEvent api is now available. (@guzzilar)
- [updated] phpunit configuration file. (@oaattia)
- [updated] Revised code style to match with PSR-2 (http://www.php-fig.org/psr/psr-2) spec. (@guzzilar)
- [fixed] Autoload OmiseDispute class in lib/Omise.php file (@guzzilar)
For more information, please visit https://github.com/omise/omise-php/releases/tag/v2.6.0
- [Added] Add charge reverse method (@zentetsukenz)
- [Fixed] Change condition when matching phpunit from using fixed string to regex (@zentetsukenz)
- [Added] Add fetching options to customer cards (bde7986)
- [Added] Add Omise-Version header to request.
- [Added] Add
OMISE_USER_AGENT_SUFFIX
constant that let's people add the suffix into theuser-agent
string.
- [Fixed] Pass key values into the OmiseRefundList object when call a refunds() method inside the OmiseCharge instance.
- [Added] New DigiCert CA certificates.
- [Added] Implemented Dispute APIs (retrieve, reload, update)
- [Added] Added more Unit Test for Dispute APIs (7 tests, 20 assertions)
- [Added] Implemented Recipient APIs (retrieve, create, update, destroy, Recipient's error code handler class)
- [Changed] Changed
OMISE_PHP_LIB_VERSION
constant variable's value from 2.1.3 to 2.2.0 in lib/omise/res/OmiseApiResource.php.
- [Added] Added fixture files for mock some data to use it in various test case.
- [Added] Added CHANGELOG.md file.
- [Added] Added more test case.
- [Added] Created
TestConfig
class that extendsPHPUnit_Framework_TestCase
class - [Improved] Enhance a unit test methodology. everytime when phpunit is execute (for run a test), it will look up a
json response
by request data from local file system rather than connect to the real Omise server. - [Improved] Rewrote some function's comments for make it clear what it do.
- [Changed] In /lib/omise/res/obj/OmiseObject.php, Changed
refresh
method access modifier fromprotected
topublic
. - [Changed] Changed all test class to extends
TestConfig
class rather than extend directly toPHPUnit
class - [Changed] Renamed some test methods to clarified what it will do.
- [Changed] Changed
OMISE_PHP_LIB_VERSION
constant variable's value from 2.1.2 to 2.1.3 in lib/omise/res/OmiseApiResource.php. - [Removed] Removed some code that's needless for local file system test environment.
- [Removed] Removed setUp, tearDown method from all test.
- [Changed] Changed
OMISE_PHP_LIB_VERSION
constant variable's value from 2.0.0 to 2.1.2 in lib/omise/res/OmiseApiResource.php. - [Removed] Removed version field in composer.json.
- [Removed] Removed
Global Namespace
inOmiseObject
's implement class (lib/omise/res/obj/OmiseObject.php).
- [Fixed] Fixed the error for a case insensitive system, (renamed a capital letter to small letter in lib/omise/res/OmiseApiResource.php).
- [Added] Added .gitignore file.
- [Added] Added
OMISE_PHP_LIB_VERSION
andOMISE_API_VERSION
constant into lib/omise/res/OmiseApiResource.php. - [Added] Added
lib/omise/OmiseCardList
class. - [Added] Added
lib/omise/OmiseRefund
class. - [Added] Added
lib/omise/OmiseRefundList
class. - [Added] Added tests/omise folder with AccountTest, BalanceTest, CardTest, ChargeTest, CustomerTest, RefundTest, TestConfig, TokenTest, TransactionTest, TransferTest (.php) and testall.sh test case files.
- [Added] Added
Global Namespace
inOmiseObject
's implement class (lib/omise/res/obj/OmiseObject.php). - [Added] Added
refunds
method inlib/omise/OmiseCharge
class. - [Improved] Improved README.md file's content, Added Using Composer and Manually section in Installation subject, Added Usage and Testing subject.
- [Improved] Improved a comment in various methods (edited some confuse word to proper word).
- [Changed] Changed php required from
PHP 5.0
toPHP 5.3
in README.md - [Changed] Changed version required field from 1.0.1 to 2.1.0 in composer.json.
- [Changed] Changed php version required field from 5.3.0 to 5.3.2 in composer.json.
- [Changed] Changed
Autoload Mapping
rule fromPSR-0
toClassmap
in composer.json. - [Changed] Added
g_
prefix toretrieve
,create
,update
,destroy
,reload
method's name. - [Changed] Renamed some plural class name to singular.
- [Changed] Renamed
getCards
method's name tocards
and created newgetCards
method with new behaviour. - [Changed] in lib/omise/res/OmiseApiResource.php file, use
call_user_func
function to access thegetInstance
method rather than access by useClass::getInstance()
directly. - [Changed] Removed
CURLOPT_FOLLOWLOCATION
andCURLOPT_MAXREDIRS
options ingenOptions
method in lib/omise/res/OmiseApiResource.php file. - [Removed] Removed
OMISE_PHP_LIB_VERSION
andOMISE_API_VERSION
constant in lib/Omise.php. - [Removed] Removed lib/omise/res/obj/OmiseCardList.php file.
- [Removed] Removed lib/omise/res/obj/OmiseList.php file.
- [Removed] Removed lib_test folder.
- Initial version.