0

Seems easy but I am not able to figure it. I am using ubercart module in drupal 7, I am few payment methods like paypal, innovate and free method. All the 3 payment methods are activated, When a user places any order he has to choose which payment method he want to go for, if he is going for free method,

I need to know which variable is storing this payment method value,it should be like $order->method or $order->type same like other variables like $order->order_id,$order->billing_first_name.

In short I should come to know which payment method is chosen for a particular order.

If any buddy knows please help me.

1 Answer 1

0

The variable you're looking for is is $order->payment_method.

1
  • may I know how to get [ucxf_name]? (created by Extra Fields Checkout Pane module)
    – peifa
    Commented Dec 22, 2015 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.