     if let applePayButton = self.applePayButton {
       applePayButton.translatesAutoresizingMaskIntoConstraints = false
       applePayButton.addTarget(self, action: #selector(handleApplePayButtonTapped), for: .touchUpInside)
-      view.addSubview(applePayButton)
+      _view.addSubview(applePayButton)
       
-      applePayButton.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
-      applePayButton.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
-      applePayButton.leftAnchor.constraint(equalTo: view.leftAnchor).isActive = true
-      applePayButton.rightAnchor.constraint(equalTo: view.rightAnchor).isActive = true
+      applePayButton.topAnchor.constraint(equalTo: _view.topAnchor).isActive = true
+      applePayButton.bottomAnchor.constraint(equalTo: _view.bottomAnchor).isActive = true
+      applePayButton.leftAnchor.constraint(equalTo: _view.leftAnchor).isActive = true
+      applePayButton.rightAnchor.constraint(equalTo: _view.rightAnchor).isActive = true
     }
   }
 }

  ) {
    channel = FlutterMethodChannel(name: "plugins.flutter.io/pay/apple_pay_button/\(viewId)",
                                   binaryMessenger: messenger)
    view = UIView()
    super.init()
    channel.setMethodCallHandler(handle)
    

  }
  
  func view() -> UIView {
    return _view
  }
  
  func createApplePayView(){
