I run on the bleeding edge

Posts: 1595
Joined: 08/07/2007
AdministratoreLiTe!

I run on the bleeding edge of the code development, but roles shouldn't have changed too much since beta 7.

This was a custom configuration because I didn't see the one defined by uc_payment. That one was inactive, so it wouldn't have interfered, but I may have just duplicated what it does.

array (
  'cfg_10' =>
  array (
    '#type' => 'configuration',
    '#altered' => false,
    '#event' => 'payment_entered',
    '#label' => 'Complete order on even balance',
    '#active' => 1,
    '#module' => 'workflow-ng',
    0 =>
    array (
      '#type' => 'condition',
      '#name' => 'uc_payment_condition_balance',
      '#argument map' =>
      array (
        'order' => 'order',
      ),
      '#settings' =>
      array (
        'balance_comparison' => 'equal',
      ),
      '#label' => 'Balance is $0',
    ),
    1 =>
    array (
      '#type' => 'action',
      '#name' => 'uc_order_action_update_status',
      '#argument map' =>
      array (
        'order' => 'order',
      ),
      '#settings' =>
      array (
        'order_status' => 'completed',
      ),
    ),
    '#name' => 'cfg_10',
  ),
)

Role Assignment Not Happening Upon Order Completion By: WiSeOz (24 replies) Sat, 03/08/2008 - 00:07