                     case .Failure(let error):
                         print(PKPaymentAuthorizationStatus.Failure)
                         completion(PKPaymentAuthorizationStatus.Failure)
-                        submitCreditCardButton.userInteractionEnabled = true
+                        self.submitCreditCardButton.userInteractionEnabled = true
                         showGlobalNotification("Error paying " + (self.detailUser?.username)!, duration: 5.0, inStyle: CWNotificationAnimationStyle.Top, outStyle: CWNotificationAnimationStyle.Top, notificationStyle: CWNotificationStyle.StatusBarNotification, color: UIColor.neonOrange())
 
                         print(error)

                            // print(json)
                            print(PKPaymentAuthorizationStatus.Success)
                            completion(PKPaymentAuthorizationStatus.Success)
                            submitCreditCardButton = true
                            Timeout(1.5) {
                                self.dismissViewControllerAnimated(true, completion: {
                                    print("dismissed")

    
    let titleLabel = UILabel()
    
    var submitCreditCardButton = UIButton()
    
    var paymentTextField = STPPaymentCardTextField()

