We help IT Professionals succeed at work.

How to show the merchant order number in the ui ?

R-Mayya
R-Mayya asked
on
How can I display the merchant order id in the page or Order details?
I need to fetch that from the back end and display
Comment
Watch Question

Ramdasa MayyaSenior Software Developer

Commented:
You can use OrderDataBean
Senior Software Developer
Commented:

You can use this way in JSP
<wcbase:useBean id="orderBean" classname="com.ibm.commerce.order.beans.OrderDataBean"  scope="request">
<c:set value="${objectId}" target="${orderBean}" property="orderId"/>
</wcbase:useBean>
<fmt:param><c:out value="${orderBean.merchantOrderId}"/></fmt:param>

Author

Commented:
Thanks, that worked exactly as needed