     func payMerchant(sender: AnyObject) {
         // Function for toolbar button
         // pay merchant
-        showSuccessAlert()
+        showStatusNotification()
+        Timeout(3.2) {
+            self.showSuccessAlert()
+        }
         chargeInputView.text = ""
         paymentTextField.clear()
     }

        payWithCardButton.tintColor = UIColor.mediumBlue()
        payWithCardButton.setTitleColor(UIColor.mediumBlue(), forState: .Normal)
        payWithCardButton.titleLabel?.font = UIFont(name: "Avenir-Book", size: 16)
        payWithCardButton.layer.borderColor = UIColor.mediumBlue().CGColor
        payWithCardButton.layer.borderWidth = 1
        payWithCardButton.layer.cornerRadius = 5
        payWithCardButton.layer.masksToBounds = true

        alertView.setTextTheme(.Light) // can be .Light or .Dark
    }
    
    func showStatusNotification() {
        setupNotification()
        notification.displayNotificationWithMessage("Paying merchant", forDuration: 2.5)
    }
    
    func setupNotification() {
        let inStyle = CWNotificationAnimationStyle.Top
        let outStyle = CWNotificationAnimationStyle.Top
        let notificationStyle = CWNotificationStyle.NavigationBarNotification
        self.notification.notificationLabelBackgroundColor = UIColor.mediumBlue()
        self.notification.notificationAnimationInStyle = inStyle
        self.notification.notificationAnimationOutStyle = outStyle
        self.notification.notificationStyle = notificationStyle
    }
    
    func paymentCardTextFieldDidChange(textField: STPPaymentCardTextField) {
        if(paymentTextField.isValid) {
            paymentTextField.endEditing(true)
