I've overridden the payment pane callback in the checkout page (using hook_checkout_pane_alter), and I want to modify the form inputs in the pane based on the order total. However, the order object is empty when the callback is called with the "view" operation parameter.

How do I make the order available in the callback function?

1 Answer 1


You might need to use an order pane instead.

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.