This code will send error messages that are too long, and thus trigger the 406 errors:
Code:
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_NET1_TEXT_ERROR_MESSAGE), 'SSL', true, false));
Needs to be changed to this instead:
Code:
global $messageStack;
$messageStack->add_session('checkout_payment', MODULE_PAYMENT_NET1_TEXT_ERROR_MESSAGE, 'error');
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
Or just shorten the definition of MODULE_PAYMENT_NET1_TEXT_ERROR_MESSAGE in the language file so it's less than 40 characters.
Bookmarks