The order object ($arg1) is empty on the operation "cart-details". Can anyone confirm this or why is that?

Comments

Island Usurper’s picture

Status: Active » Closed (works as designed)

For much the same reasons as in #531264: hook_checkout_pane callback on operation "view", sometimes there just isn't an order yet. Other times, there is code to prevent the wrong order from being used, so it is set to NULL before hook_payment_method() is called.

Alex Lawrence’s picture

Okay, I understand. Thank you.