Hey. In the commerce backend all commerce bank transfer orders are set to payment method 'undefined'? Any idea how to fix this?

CommentFileSizeAuthor
#5 commerce_bank_transfer.diff662 bytesxibun

Comments

it-cru’s picture

subscribe

dreamproduction’s picture

Check out this patch. It does a lot more than fixing this issue, but it's a great patch and you might want to apply it in full.

Otherwise, the error is on line 178 where the the first argument should be 'bank_transfer' even though the payment method base is defined as 'commerce_bank_transfer'.

rockylhc’s picture

After applied the patch and it showing
commerce_payment_handler_field_payment_method->render(Object) views_handler_field.inc:952
Is that something can be resolved?

MickL’s picture

#2 works BUT: only new orders show the correct payment method @ orders/*/payment

replace "$transaction = commerce_payment_transaction_new('commerce_bank_transfer', $order->order_id);"

with "$transaction = commerce_payment_transaction_new('bank_transfer', $order->order_id);"

xibun’s picture

Status: Active » Fixed
StatusFileSize
new662 bytes

here is the patch (extract from patch created by eddib).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.