Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 658 Bytes

4.0-Upgrade.md

File metadata and controls

7 lines (5 loc) · 658 Bytes

Upgrading to chartmogul-php 4.0.0

The package upgrade brings breaking changes to the Metrics API. All other APIs remain unaffected. Please note the following changes:

  • If you used the Metrics API to get a customer's activities or subscriptions, make the following changes in the namespace
    • ChartMogul\Metrics\Activities::all(["customer_uuid" => $cus->uuid]); should be replaced with ChartMogul\Metrics\Customers\Activities::all(["customer_uuid" => $cus->uuid]); ChartMogul\Metrics\Subscriptions::all(["customer_uuid" => $cus->uuid]); should be replaced with ChartMogul\Metrics\Customers\Subscriptions::all(["customer_uuid" => $cus->uuid]);