Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.57 KB

CHANGELOG.md

File metadata and controls

28 lines (25 loc) · 1.57 KB

CoinGate PHP library release notes

v4.1.0

  • ApiKey is no more mandatory when creating a Client. Useful when you want to perform Public API calls only.
  • Added possibility for late $client->setApiKey('YOUR_API_TOKEN') and $client->setEnvironment('sandbox') assignments.
  • Added support for Public API calls.

v4.0.0

  • Library now requires PHP 7.3.0 or greater.
  • Added support for an additional Payment Gateway API calls.
  • Added possibility to extend and/or use custom HttpClient.

Breaking Changes

  • Library was completely refactored from the ground up and resulted into usage changes.
    • \CoinGate\CoinGate::config(...) => $client = new \CoinGate\Client('YOUR_API_TOKEN')
    • \CoinGate\Merchant\Order::create($params) => $client->order->create($params)
    • \CoinGate\Merchant\Order::find(7294) => $client->order->get(7294)