Skip to content

Releases: wildlink/wildlink-api-php

New features: resendCommissionCallback() and DisabledMerchantList object

08 Nov 01:18
4f7eaa2

Choose a tag to compare

  • New DisabledMerchantList object allows you to fetch a list of all disabled merchants (to assist in syncing your local data store of merchants with Wildlink's
  • New resendCommissionCallback($commission_id) method allows you to re-send a specific commission record (for use in development/testing your callback receiver)

Update device creation based on API changes

06 Nov 00:30

Choose a tag to compare

Device creation now returns:

  • a "device_key" property instead of a UUID (same value as before, used in the same way)
  • a "device_id" is now also returned and should be stored for later references (i.e. getting all commissions for your app will return device ID references in the return data, NOT device_keys)

New method: Get all commissions across devices

01 Nov 18:29

Choose a tag to compare

New in this version is the ability to getAppCommissionsSince() which takes a "modified since" date. This method is useful for syncing your backend to Wildfire's and should be seen as a complement to the Commission Callback feature.

bug fix

23 Oct 21:38

Choose a tag to compare

  • Fix for Notice of undefined property on merchant pointer

Added methods for getting all merchants

23 Oct 20:06
d6bf9e5

Choose a tag to compare

  • New object for MerchantList to iterate through all enabled merchants
  • Added getCurrentMerchant, hasNextMerchant, getNextMerchant methods to MerchantList

Example

$merchantList = new MerchantList($wfClient);

$merchantCounter = 0;
while ($merchant = $merchantList->getCurrentMerchant()){
    out($merchantCounter);
    out($merchant);
    $merchantCounter++;
    if ($merchantList->hasNextMerchant()){
        $merchantList->getNextMerchant();
    } else {
        break;
    }
}

Updates for v2 of REST web service

17 Oct 22:42

Choose a tag to compare

  • Added support for getClicksBy[Day|Month|Year] and getVanityUrl
  • Removed UUID local storage

Initial release

03 Oct 23:36

Choose a tag to compare

Initial release with support for taking app_id and secret via object instantiation.