IBM Support

How can an error message be displayed on payment confirmation page - IBM Call center for Commerce

Question & Answer


Question

When real time authorizations are enabled and external payment service is down, the error message from the service will need to be displayed on the UI. For example - An error message saying - Service unavailable. How can this error message be displayed on the WCC UI?

Answer

In order to display the error message on the UI, pass this as part of the PaymentTransactionError in the output of the YFSCollectionCreditCardUE.
<PaymentTransactionErrorList>
<PaymentTransactionError MessageType="" Message="Error message goes here"/>
</PaymentTransactionErrorList>

This will ensure that the error message is displayed on the UI for the benefit of the WCC users. If no error message is passed, then WCC will display an OOB default error message.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.3;9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21999356