Hi folks,
I have a credit-card payment module that works fine under v5, but is having a slight problem in v9. When a card is declined, the customer is returned to the OPAY page, but the module's error message is not displayed.
The module is posting the error message with this code:
The OPAY template has this code:
-- and the "messages" item is assigned to the page.
Are we missing something? Could this be a bug?
Thanks --
I have a credit-card payment module that works fine under v5, but is having a slight problem in v9. When a card is declined, the customer is returned to the OPAY page, but the module's error message is not displayed.
The module is posting the error message with this code:
Code:
<MvASSIGN NAME="l.xx" VALUE="{ [g.Module_Library_Utilities].Message_Error(l.text) }">
Code:
<mvt:if expr="l.settings:messages:error_message_count"> <div class="error-message"> <mvt:foreach iterator="error" array="messages:error_messages"> &mvt:error; </mvt:foreach> </div> </mvt:if>
Are we missing something? Could this be a bug?
Thanks --
Comment