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

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


                    case .Failure(let error):
                        print(PKPaymentAuthorizationStatus.Failure)
                        completion(PKPaymentAuthorizationStatus.Failure)
                        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)
