Adding extra submit handler for checkout pane
Hi all,
I have a checkout pane for customer billing information and I'm trying to add an additional validate + submit handler for it to allow me to verify the address via a 3rd party service. At the moment, I can do something like:
$checkout_panes['customer_profile_billing']['callbacks']['checkout_form_submit'] = 'mymodule_customer_profile_billing_form_submit';
This triggers the function defined, but seems to replace the original submit handler which means I lose my data when I hit the payment page.