Skip to content

v2.4.2 - New some feature, new some api function, improve error handling

Compare
Choose a tag to compare
@Xaxxis Xaxxis released this 21 Jun 06:16
· 84 commits to master since this release
bc26f9c

Feature:

  • Add idempotency-key feature
  • Add API registerCard, cardToken, cardPointInquiry, getStatusB2b, createSnapUrl

Improvement:

  • Fix error handling
  • Return exception when server-key is null, empty, contain white-space
  • Refactor ApiRequestor.php (all API request, will process from this file)
  • Add extension curl, JSON PHP require on composer file
  • Refactor unit test

Notable changes:

  • Deprecated SnapApiRequestor.php (no longer use, will delete this on the next major release)