 
             if dat.isTotal {
                 let separatorView = UIView()
-                separatorView.backgroundColor = .red
+                separatorView.backgroundColor = ThemeManager.shared.greyColor()
                 separatorView.translatesAutoresizingMaskIntoConstraints = false
-                self.addSubviewToBottom(separatorView, withMargin: margin)
+                summaryView.addSubviewToBottom(separatorView, withMargin: margin)
                 PXLayout.setHeight(owner: separatorView, height: 1).isActive = true
                 PXLayout.pinLeft(view: separatorView, withMargin: PXLayout.M_MARGIN).isActive = true
                 PXLayout.pinRight(view: separatorView, withMargin: PXLayout.M_MARGIN).isActive = true
             }
 
-            self.addSubviewToBottom(rowView, withMargin: margin)
+            summaryView.addSubviewToBottom(rowView, withMargin: margin)
             PXLayout.centerHorizontally(view: rowView).isActive = true
             PXLayout.pinLeft(view: rowView, withMargin: PXLayout.M_MARGIN).isActive = true
             PXLayout.pinRight(view: rowView, withMargin: PXLayout.M_MARGIN).isActive = true
         }
+
+        self.addSubview(summaryView)
+        summaryView.pinLastSubviewToBottom(withMargin: PXLayout.S_MARGIN)?.isActive = true
+        PXLayout.matchWidth(ofView: summaryView).isActive = true
+        PXLayout.pinBottom(view: summaryView).isActive = true
+
+        let merchantView = PXOneTapHeaderMerchantView(image: model.icon, title: model.title, showHorizontally: false)
+        self.addSubview(merchantView)
+        PXLayout.pinTop(view: merchantView).isActive = true
+        PXLayout.put(view: merchantView, aboveOf: summaryView).isActive = true
+        PXLayout.centerHorizontally(view: merchantView).isActive = true
+        PXLayout.matchWidth(ofView: merchantView).isActive = true
     }
 
     func getSummaryRow(with data: OneTapSummaryData) -> UIView {

    func render() {
        guard let model = model else {return}
        self.removeAllSubviews()
        self.layer.borderWidth = 2


        PXLayout.setHeight(owner: self, height: PXLayout.getScreenHeight(applyingMarginFactor: 40)).isActive = true

        for dat in model.data {
            let margin: CGFloat = dat.isTotal ? PXLayout.S_MARGIN : PXLayout.XXS_MARGIN


        view.layoutIfNeeded()
        refreshContentViewSize()
//        _ = centerContentView(margin: -PXLayout.getStatusBarHeight())
    }
}

