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',
),
)

Joined: 08/07/2007