title: Not able to get stripe payment token in iOS Swift
body: <p>I am implementing stripe paymentSDK and after implementing my code I am getting error in my console, here my code:</p>
  <p><strong>View Controller Class</strong></p>
  <pre><code> func stripPayment(CVC:String){
      // Initiate the card
      let stripCard = STPCardParams()
      if cardMM == &quot;&quot; &amp;&amp; cardYY == &quot;&quot; {
      // Send the card info to Strip to get the token
          stripCard.number=card_number
          stripCard.name=card_name
          stripCard.cvc=CVC
          stripCard.expYear=UInt(cardYY)!
          stripCard.expMonth=UInt(cardMM)!
      }
      print(&quot;card_number:&quot;,card_number)
      print(&quot;card_name:&quot;,card_name)
      print(&quot;CVC:&quot;,CVC)
      print(&quot;cardYY:&quot;,cardYY)
      print(&quot;cardMM:&quot;,cardMM)
      STPAPIClient.shared.createToken(withCard: stripCard) { (token: STPToken?, error: Error?) in
          print(&quot;Printing Strip response:\(String(describing: token?.allResponseFields))\n\n&quot;)
          print(&quot;Printing Strip Token:\(String(describing: token?.tokenId))&quot;)
          if error != nil {
              print(error)
              print(error?.localizedDescription ?? &quot;&quot;)
          }
          if token != nil{
              print(&quot;Token:&quot;,token!.tokenId)
              self.placeOrderApi(tokenStripe: token!.tokenId, completion: {
                  self.pushVC(id: &quot;PaymentConfirmationVCID&quot;)
              })
          }
      }
  }
  </code></pre>
  <p><strong>App Delegate DidFinishLaunch</strong></p>
  <pre><code>STPAPIClient.shared.publishableKey = &quot;pk_test_51KuLPhJ4jB1YaTRoUayoteEXbtl5QvbayNeDDhjv4Nto9UvdM4LcTsP2EXAbU0IuOoKsIsOAk565HzvjLRPVP9wY00Ro5T3PYq&quot;
  </code></pre>
  <p><strong>Error I am getting in console</strong></p>
  <p>Printing Strip Token:nil
  Optional(Error Domain=com.stripe.lib Code=50 &quot;There was an unexpected error -- try again in a few seconds&quot; UserInfo={com.stripe.lib:ErrorParameterKey=card[number], NSLocalizedDescription=There was an unexpected error -- try again in a few seconds, com.stripe.lib:ErrorMessageKey=Missing required param: card[number]., com.stripe.lib:StripeErrorTypeKey=invalid_request_error, com.stripe.lib:StripeErrorCodeKey=parameter_missing})
  There was an unexpected error -- try again in a few seconds</p>