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.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21999356