You are here

function uc_payment_condition_method in Ubercart 5

File

payment/uc_payment/uc_payment_workflow.inc, line 163
This file contains the Workflow-ng hooks and functions necessary to make the order related entity, conditions, events, and actions work.

Code

function uc_payment_condition_method($order, $settings) {
  return $order->payment_method == $settings['payment_method'];
}