YellowCube Order Status

To check the current status of an customer order in YellowCube a Reference is needed.

A Reference is included in the responses when creating an Order by calling

The status of a customer order can be retrieved by calling YellowCube\Service::getYCCustomerOrderStatus($reference) with the Reference.

Example order status for the reference 1054.

$service = new YellowCube\Service(YellowCube\Config::testConfig());
$response = $service->getYCCustomerOrderStatus(1183);

A GEN_Response is returned which contains status and error or success messages.

Retrieved status for order with reference 1183.

YellowCube\GEN_Response Object
    [EventTimestamp:protected] => 2015-04-14T09:30:04Z
    [MessageType:protected] => 
    [StatusCode:protected] => 101
    [StatusType:protected] => E
    [StatusText:protected] => Transaction with ID not found for sender
    [Reference:protected] => 1183
    [Reference1:protected] => 
    [Reference2:protected] => 
    [Reference3:protected] => 
    [Reference4:protected] =>