title: Stripe payment Android
body: <p>I want to create payment using Stripe Api i created every thing in android and now i can get the token but he said send it to your server the problem that i can't find the server code or web service that will take my token and go pay with it any help please </p>
  
  <p><a href="https://stripe.com/docs/mobile/android" rel="nofollow">https://stripe.com/docs/mobile/android</a></p>
  
  <pre><code>    Card card = new Card("4242424242424242", 12, 2017, "123");
  
        Stripe stripe = new Stripe("pk_test_6pRNASCoBOKtIshFeQd4XMUh");
         stripe.createToken(
           card,
            new TokenCallback() {
              public void onSuccess(Token token) {
              // Send token to your server
                //what should i do in this step i want any code in php that do this job 
           }
             public void onError(Exception error) {
             // Show localized error message
             Toast.makeText(getContext(),
              error.getLocalizedString(getContext()),
            Toast.LENGTH_LONG
              ).show();
              }
       }
      )
  </code></pre>